/* ============================================
   SUPER ADMIN PANEL - PREMIUM DESIGN
   ============================================ */

.super-admin-container {
    display: flex;
    min-height: 100vh;
    background: #0a0a0a;
}

/* Sidebar */
.super-admin-sidebar {
    width: 280px;
    background: linear-gradient(180deg, #111 0%, #000 100%);
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    padding: 30px 0;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
}

.super-admin-logo {
    padding: 0 30px 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 30px;
}

.super-admin-logo h2 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 5px 0;
    font-weight: 900;
}

.super-admin-logo p {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
    letter-spacing: 2px;
}

.super-admin-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 15px;
    flex: 1;
}

.super-admin-nav a {
    padding: 15px 20px;
    color: #999;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.super-admin-nav a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    transform: translateX(5px);
}

.super-admin-nav a.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    color: #FFD700;
    border-left: 3px solid #D4AF37;
}

/* Main Content */
.super-admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0a0a0a;
}

.super-admin-header {
    background: #111;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.super-admin-header h1 {
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
}

.super-admin-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.super-admin-user span {
    color: #D4AF37;
    font-weight: 600;
}

.super-admin-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: #D4AF37;
}

.stat-card h3 {
    font-size: 3rem;
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 10px 0;
    font-weight: 900;
}

.stat-card p {
    color: #999;
    font-size: 1rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card.stat-warning {
    border-color: #ff4444;
    background: linear-gradient(135deg, #2a1111 0%, #1a0a0a 100%);
}

.stat-card.stat-warning h3 {
    background: linear-gradient(135deg, #ff4444 0%, #ff6666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Alerts */
.alert {
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.alert-warning {
    background: rgba(255, 68, 68, 0.1);
    border-left: 4px solid #ff4444;
    color: #ffaaaa;
}

.alert strong {
    color: #ff6666;
}

.alert a {
    color: #D4AF37;
    text-decoration: underline;
    margin-left: auto;
}

/* Calendar View */
.calendar-view h3 {
    color: #D4AF37;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.expiration-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.expiration-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.expiration-item:hover {
    border-color: #D4AF37;
    transform: translateX(5px);
}

.expiration-item.expiring-soon {
    border-color: #ff9900;
    background: rgba(255, 153, 0, 0.05);
}

.expiration-item.expired {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.05);
    opacity: 0.7;
}

.exp-model-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.exp-model-info strong {
    color: #fff;
    font-size: 1.1rem;
}

.exp-model-info span {
    color: #888;
    font-size: 0.9rem;
}

.exp-status {
    flex-shrink: 0;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-danger {
    background: #ff4444;
    color: white;
}

.badge-warning {
    background: #ff9900;
    color: white;
}

.badge-success {
    background: #44ff44;
    color: #000;
}

.badge-secondary {
    background: #666;
    color: white;
}

/* Profiles Management */
.profiles-management {
    background: #111;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.profiles-header {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profiles-table {
    overflow-x: auto;
}

.profiles-table table {
    width: 100%;
    border-collapse: collapse;
}

.profiles-table thead {
    background: rgba(212, 175, 55, 0.1);
}

.profiles-table th {
    padding: 15px;
    text-align: left;
    color: #D4AF37;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 2px solid #D4AF37;
}

.profiles-table td {
    padding: 15px;
    border-bottom: 1px solid #222;
    color: #ccc;
}

.profiles-table tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

.profiles-table td button {
    margin-right: 8px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-danger {
    background: #ff4444;
    color: white;
}

.btn-danger:hover {
    background: #ff6666;
    transform: translateY(-2px);
}

/* Moderation Panel */
.moderation-panel h3 {
    color: #D4AF37;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.comment-item:hover {
    border-color: #D4AF37;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}

.comment-header strong {
    color: #D4AF37;
}

.comment-header span {
    color: #888;
    font-size: 0.85rem;
}

.comment-body {
    margin-bottom: 15px;
}

.comment-body p {
    color: #ccc;
    margin: 8px 0;
    line-height: 1.6;
}

.comment-body strong {
    color: #999;
}

.comment-actions {
    display: flex;
    gap: 10px;
}

/* Recent Activity */
.recent-activity {
    background: #111;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.recent-activity h3 {
    color: #D4AF37;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.recent-activity p {
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .super-admin-container {
        flex-direction: column;
    }

    .super-admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }

    .super-admin-nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .super-admin-content {
        padding: 20px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .profiles-table {
        font-size: 0.85rem;
    }
}