/**
 * Admin Dashboard Styles
 * Additional styles for admin interface
 */

/* Tab Navigation */
.admin-tab {
    white-space: nowrap;
    transition: all 0.2s;
}

.admin-tab.active {
    border-bottom-color: #a855f7 !important;
    color: white !important;
}

/* Tab Content */
.admin-tab-content {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Config Items */
.config-item {
    transition: background-color 0.2s;
}

.config-item:hover {
    background-color: rgba(15, 23, 42, 0.6);
}

/* Test Results */
.test-result-card {
    animation: slideIn 0.3s ease-out;
}

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

/* Status Indicators */
.status-indicator {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Progress Bar */
.progress-bar {
    transition: width 0.5s ease-out;
}

/* User Table */
.users-table tbody tr {
    transition: background-color 0.2s;
}

.users-table tbody tr:hover {
    background-color: rgba(30, 41, 59, 0.5);
}

/* Modal */
.modal-backdrop {
    backdrop-filter: blur(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .admin-tab {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .glass-card {
        padding: 1rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.7);
}
