.thiaide-container {
    width: 95%;
    float: left;
    margin-top: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.4) 100%);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 8px;
}
.mobile-thiaide-container {
    width: 95%;
    float: left;
    margin-top: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.4) 100%);
    backdrop-filter: blur(10px);
    padding: 5px;
    border-radius: 8px;
}

.mobile-thiaide-header-section {
    background-size: cover;
    background-repeat: no-repeat;
    padding: 10px;
    width: 95%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #666666;
}
.thiaide-header-section {
    background-size: cover;
    background-repeat: no-repeat;
    padding: 10px;
    width: 98%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #666666;
}

.thiaide-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-thiaide-header-content {
    align-items: center;
}
.thiaide-footer {
color: #FFFFFF;
text-align: center;
padding: 20px;
float: left;
width: 97%;
margin-top: 20px;
}
/* Modal Styles */
.thia-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    animation: fadeIn 0.2s ease-out;
}

.thia-modal {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
}

.thia-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
}

.thia-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.thia-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    line-height: 1;
}

.thia-modal-close:hover {
    color: #333;
}

.thia-modal-body {
    padding: 20px;
    text-align: center;
}

.thia-modal-body p {
    margin: 0;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

.thia-modal-body strong {
    color: #333;
}

.thia-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #e9ecef;
}

.thia-modal-cancel,
.thia-modal-confirm {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.thia-modal-cancel {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #555;
}

.thia-modal-cancel:hover {
    background: #e9ecef;
}

.thia-modal-confirm {
    background: #dc3545;
    border: 1px solid #dc3545;
    color: white;
}

.thia-modal-confirm:hover {
    background: #c82333;
    border-color: #c82333;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.thia-statistics h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.thia-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.thia-stat-card {
    background-color: #0c2733;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.thia-stat-icon {
    font-size: 28px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thia-stat-info {
    display: flex;
    flex-direction: column;
}

.thia-stat-number {
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
}

.thia-stat-label {
    font-size: 11px;
    color: #bdbdbd;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .thia-apistat-form {
        flex-direction: column;
        gap: 20px;
    }
    
    .thia-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


.thia-apistat-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

}


.thia-api-moderator-form {
    flex: 0 0 35%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}


.thia-statistics {
    flex: 0 0 59%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}


.thia-apistat-form {
    width: 100%;
    margin-top: 15px;
}

.thia-search-form {
width: 97%;
    margin-top: 15px;
	padding:15px;
background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}
@media (max-width: 768px) {
    .thia-container {
        flex-direction: column;
    }

    .thia-api-form,
    .thia-statistics {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }
}
.thia-search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.thia-tab-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    color: #666;
    border-radius: 4px;
    transition: all 0.2s;
}

.thia-tab-btn.active {
    background: #2271b1;
    color: white;
}

.thia-search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.thia-search-box input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#thia-search-results {
    min-height: 200px;
}

.thia-search-message {
    text-align: center;
    padding: 40px;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
}

.thia-result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
	background-color: #0c2733;
color: white;
font-size: 16px;
}

.thia-result-table th,
.thia-result-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.thia-result-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.thia-result-table tr:hover {
    background: #f9f9f9;
	color: #333;
	font-size: 16px;
}

.thia-unblock-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
}

.thia-unblock-btn:hover {
    background: #c82333;
}

.thia-loading-small {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top-color: #2271b1;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
 #adminmenu .toplevel_page_thia-moderator img {
            width: 24px;
            height: 24px;
            padding: 5px 0;
        }