/* Admin Header Section Styles - FIXED: Sticky positioning */
.admin-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-header-section h2 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    background: #0284c7;
    border-color: #0284c7;
}

.btn-header-action,
.logout-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 7px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: inherit;
    min-height: 36px;
    white-space: nowrap;
}

.btn-header-action:hover,
.logout-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.logout-btn:hover {
    background: #dc2626;
    border-color: #dc2626;
}

@media (max-width: 768px) {
    .admin-header-section {
        padding: 0.75rem 0.9rem;
        align-items: center;
    }

    .admin-header-section h2 {
        font-size: 1rem;
        flex: 1;
        min-width: 140px;
        text-align: center;
        order: 1;
    }

    .back-btn {
        padding: 8px 10px;
        font-size: 0.8rem;
        border-radius: 7px;
        order: 0;
    }

    .back-btn i {
        margin: 0;
    }

    .header-actions {
        order: 2;
        width: 100%;
        justify-content: flex-end;
    }

    .btn-header-action,
    .logout-btn {
        padding: 7px 10px;
        font-size: 0.78rem;
    }
}

@media (max-width: 560px) {
    .admin-header-section {
        padding: 0.65rem 0.7rem;
    }

    .admin-header-section h2 {
        flex-basis: 100%;
        order: 0;
        text-align: left;
        font-size: 0.95rem;
    }

    .back-btn {
        order: 1;
    }

    .header-actions {
        order: 2;
        justify-content: flex-start;
        gap: 0.35rem;
    }
}

/* Admin Tabs - Visible Styles */
.admin-tabs {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0 2rem;
    background: #f8fafc;
    border-bottom: 3px solid #0ea5e9;
    width: 100%;
    min-height: 60px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 20px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.tab-btn:hover {
    color: #0ea5e9;
    background: rgba(14, 165, 233, 0.1);
}

.tab-btn.active {
    color: #0ea5e9;
    border-bottom-color: #0ea5e9;
    background: white;
}

.tab-btn i {
    font-size: 1.2rem;
}
