body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    zoom: 1.0;
}

.appNameInput {
    width: 10%;
    height: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;

}

.query-count {
    font-size: 12px;
    color: #27282E;
    margin-bottom: 10px;
}

.top-apps {
    font-size: 14px;
    color: red;
    margin-bottom: 10px;
    font-weight: bold;
}

#customAlert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 20px;
    text-align: center;
    flex: 1; /* Allow the container to grow and take up the remaining space */
}

h1 {
    margin-bottom: 20px;
    font-size: 15px;
}

#regionSelect {
    padding: 8px;
    margin-right: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    background-color: #b5b5b5;
}

input {
    padding: 8px;
    border: 2px solid #ccc;
    border-radius: 10px;
    margin-right: 10px;
    width: 35%;
}

button {
    padding: 9px 16px;
    background-color: #27282E;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 3px;
    text-align: left;
}

th {
    background-color: #27282E;
    color: white;
}
td:hover {
    background-color: #f0f0f0; /* 或其他自定义样式 */
}

.app-icon {
    width: 30px;
    height: 30px;
    border: 1px solid #f0f0f4;
    border-radius: 8px;
    margin-right: 10px;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.pagination li {
    margin: 0 5px;
    cursor: pointer;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pagination li.active {
    background-color: #4caf50;
    color: white;
}

#historyContainer {
    margin-top: 20px;
}

#app_icon {
    width: 40px;
    height: 30px;
    border-radius: 0px;
    background-color: #27282E;
}

#app_name {
    background-color: #27282E;
}

#hotbox {
    margin: 120px auto;
    max-width: 95%;
    width: 92%;
    border: 2px solid #b5b5b5;;
    padding: 15px 8px 8px 8px;
    border-radius: 10px;
    display: block;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
    text-align-last: justify;
}

#hotbox_title{
    margin-top: -30px;
    margin-left: 20px;
    background-color: #fff;
    width: 120px;
    font-size: 22px;
    padding-left: 5px;
}
.history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.history-table th, .history-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

#appTableBody tr:hover {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
}

#appTableBody td {
    transition: background-color 0.3s ease;
}

/* Styles for the footer */
.footer {
    margin-top: auto; /* Push the footer to the bottom */
    text-align: center;
    color: #666;
    font-size: 14px;
    padding: 10px 0;
}

.input-btn {
    font-size: 44px;
    width: 100%;
}

.box {
/ / 外部的div盒子 display: flex;
/ / 先设置div里的内容显示同一行 justify-content: flex-start;
/ / 左右布局 flex-wrap: wrap;
/ / 换行 align-content: flex-start;
/ / 紧揍排列
}

.sh {
    display: inline-block;
    border: 1px solid #0d1216;
    border-radius: 5px;
    /*float: left; */
    margin: 3px;
    padding: 2px 6px;
    font-size: 14px;
    cursor: pointer;
    max-width: 200px;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
    overflow: hidden;
    background-color: #e7e4df00;
    color:#0d1216;
}