:root {
    /* Light Theme (Default) */
    --bg-color: #f1f5f9;
    --sidebar-bg: #ffffff;
    --card-bg: #ffffff;
    --card-hover-bg: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --glass-border: rgba(0, 0, 0, 0.1);
    --input-bg: #f8fafc;
    --input-border: #cbd5e1;
    --accent-color: #6366f1;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --header-bg: rgba(255, 255, 255, 0.8);
    --tile-bg: #ffffff;
    --toast-bg: #1e293b;
    --toast-text: #ffffff;
}

[data-theme='dark'] {
    /* Dark Theme */
    --bg-color: #0f172a;
    --sidebar-bg: #1e293b;
    --card-bg: rgba(30, 41, 59, 0.4);
    --card-hover-bg: rgba(30, 41, 59, 0.8);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.2);
    --accent-color: #818cf8;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --card-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    --header-bg: rgba(15, 23, 42, 0.8);
    --tile-bg: rgba(255, 255, 255, 0.03);
    --toast-bg: #ffffff;
    --toast-text: #1e293b;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

hr {
    border: 1px solid var(--input-border);
}

/* Layout */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 250px;
    /* Reduced from 280px */
    background: var(--sidebar-bg);
    border-right: 1px solid var(--glass-border);
    padding: 1rem;
    /* Reduced from 2rem */
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: all 0.3s ease;
    gap: 1rem;
}

.main-content {
    flex: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--bg-color);
}

.header-section {
    padding: 1rem 2rem 0.5rem 2rem;
    /* Reduced from 1.5rem 3rem */
    background: var(--header-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 10;
}

.scroll-section {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    /* Reduced from 2.5rem 3rem */
    scroll-behavior: smooth;
}

/* Sidebar Nav */
.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    /* Reduced from 3rem */
}

    .sidebar-logo h4 {
        font-weight: 800;
        margin-bottom: 0;
        background: var(--primary-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 0.75rem;
}

.nav-link {
    display: flex;
    align-items: center;
    /*padding: 0.75rem 1rem;*/
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none !important;
    transition: all 0.2s ease;
    font-weight: 500;
}

    .nav-link i {
        width: 20px;
        margin-right: 1rem;
        font-size: 1.1rem;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--accent-color);
        color: white;
    }

/* Glass Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

/* Competition Grid - Horizontal Cards */
.comp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.comp-card {
    padding: 0.75rem 1rem;
    /* Reduced from 1rem 1.5rem */
    text-align: left;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 85px;
    /* Reduced from 100px */
    column-gap: 10px;
}

    .comp-card:hover {
        transform: translateX(5px);
        border-color: var(--accent-color);
        background: var(--card-hover-bg);
    }

    .comp-card.selected {
        background: var(--primary-gradient);
        border-color: transparent;
        color: white;
    }

.comp-icon-circle {
    width: 60px;
    height: 50px;
    background: rgba(129, 140, 248, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin: 0 1.25rem 0 0; */
    font-size: 1.25rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.comp-card.selected .comp-icon-circle {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.comp-card-content {
    flex: 1;
    overflow: hidden;
    padding-right: 1rem;
}

.comp-name {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.5;
    letter-spacing: 1px;
}

.comp-card.selected .comp-name {
    color: white;
}

.comp-sport {
    font-size: 0.7rem;
    color: var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comp-card.selected .comp-sport {
    color: rgba(255, 255, 255, 0.8);
}

.comp-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.comp-card.selected .comp-date {
    color: rgba(255, 255, 255, 0.7);
}

.comp-badges {
    display: flex;
    gap: 0.4rem;
}

    .comp-badges .badge {
        font-size: 0.65rem !important;
        padding: 0.3rem 0.2rem 0.2rem 0.2rem !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        border-radius: 6px !important;
        border: none !important;
        width: 60px;
    }

.badge-both {
    background-color: #3b82f6 !important;
    color: white !important;
}

.badge-draft {
    background-color: #ec4899 !important;
    color: white !important;
}

.badge-auction {
    background-color: #10b981 !important;
    color: white !important;
}

.comp-card.selected .badge {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.comp-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    margin-left: auto;
}

.edit-card-btn {
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    .edit-card-btn:hover {
        background: var(--accent-color);
        color: white;
        transform: scale(1.1);
    }

.comp-id-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 800;
    background: var(--input-bg);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.comp-card.selected .comp-id-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Filter Bar */
.filter-bar {
    padding: 1rem 1.5rem;
    background: var(--sidebar-bg);
}

.search-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 5;
}

.search-wrapper .form-control {
    padding-left: 3rem !important;
}

.filter-bar .custom-control-label {
    font-weight: 600;
    font-size: 0.85rem;
}

/* Action Dashboard Tiles */
.action-header {
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--tile-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

    .action-header h3 {
        font-size: 1.5rem !important;
        color: var(--text-secondary);
        text-transform: uppercase;
        margin-bottom: 0px;
    }

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
}

.action-tile {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    text-decoration: none !important;
    color: var(--text-muted) !important;
}

    .action-tile i {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .action-tile:hover {
        background: var(--card-hover-bg);
        transform: translateY(-8px);
    }

        .action-tile:hover i {
            transform: scale(1.2);
        }

.action-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* Tile Colors */
.tile-auction i {
    color: #3b82f6;
}

.tile-draft i {
    color: #ec4899;
}

.tile-screen i {
    color: #f59e0b;
}

.tile-summary i {
    color: #10b981;
}

.tile-player i {
    color: #8b5cf6;
}

.tile-graphics i {
    color: #ef4444;
}

.tile-image i {
    color: #0ea5e9;
}

/* Count Badge */
.count-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
    display: inline-flex;
    align-items: center;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .theme-toggle-btn:hover {
        background: var(--accent-color);
        color: white;
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--input-border);
    border-radius: 10px;
    border: 2px solid var(--bg-color);
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--accent-color);
    }

/* Modals Refined */
.modal-content {
    background: var(--sidebar-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.modal-header {
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-header .close {
    color: var(--text-muted) !important;
    opacity: 0.8;
    text-shadow: none;
    transition: all 0.2s ease;
    margin: 0px;
    padding: 0.5rem;
    border-radius: 10px;
    border: 1px solid var(--danger);
    color: var(--danger);
    height: 2.5rem;
    width: 2.5rem;
}

    .modal-header .close:hover {
        color: var(--text-primary) !important;
        opacity: 1;
    }

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.02);
}

/* Form Elements */
.form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.form-control,
.custom-select {
    height: 40px !important;
    /* background-color: var(--input-bg) !important; */
    border: 1px solid var(--input-border) !important;
    color: var(--text-primary) !important;
    border-radius: 12px !important;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.95rem !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 100%;
    display: block !important;
}

    .form-control:hover,
    .custom-select:hover {
        border-color: var(--accent-color) !important;
        background-color: #323435 !important;
    }

select.custom-select,
select.form-control {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236366f1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.25rem center !important;
    background-size: 14px 10px !important;
    cursor: pointer !important;
}

.form-control:focus,
.custom-select:focus {
    outline: none !important;
    border-color: var(--accent-color) !important;
    background-color: var(--sidebar-bg) !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15) !important;
}

.custom-control-label {
    padding-top: 2px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.custom-control-input:checked ~ .custom-control-label {
    color: var(--text-primary);
}

/* Modal Buttons */
.btn-primary-custom {
    background: var(--primary-gradient) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0.65rem 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3) !important;
    transition: all 0.3s ease !important;
    font-size: 0.85rem;
}

    .btn-primary-custom:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4) !important;
    }

.btn-link-muted {
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    padding: 0.75rem 1.5rem !important;
}

    .btn-link-muted:hover {
        color: var(--text-primary) !important;
    }

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        left: -240px;
        top: 0;
        bottom: 0;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .sidebar-open .sidebar {
        left: 0;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
        z-index: 999;
    }

    .sidebar-open .sidebar-overlay {
        display: block;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .header-section {
        padding: 0.75rem 1rem !important;
    }

    .scroll-section {
        padding: 1rem !important;
    }

    .welcome-text {
        font-size: 1.25rem !important;
    }

    .filter-bar {
        padding: 1rem !important;
    }

        .filter-bar .row > div {
            margin-bottom: 0.75rem;
        }

            .filter-bar .row > div:last-child {
                margin-bottom: 0;
            }

        .filter-bar .justify-content-end {
            justify-content: flex-start !important;
            padding: 0 !important;
        }

    .comp-grid {
        grid-template-columns: 1fr !important;
    }

    .action-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .action-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .mobile-toggle {
        font-size: 1.25rem;
        color: var(--text-primary) !important;
    }

    .mobile-close-btn {
        background: none;
        border: none;
        color: var(--text-muted);
        font-size: 1.25rem;
        cursor: pointer;
    }
}

@media (max-width: 576px) {
    .comp-card {
        padding: 0.75rem !important;
    }

    .comp-icon-circle {
        /* width: 40px !important; */
        /* height: 40px !important; */
        font-size: 0.9rem !important;
    }

    .comp-name {
        font-size: 1rem !important;
    }

    .action-tile {
        padding: 1.5rem 1rem !important;
    }

        .action-tile i {
            font-size: 2rem !important;
        }
}

@media (max-width: 992px) {
    .header-section h2 {
        font-size: 1.25rem !important;
    }

    .header-section p {
        font-size: 0.8rem !important;
    }

    h4.font-weight-bold {
        font-size: 1.1rem !important;
    }

    .count-badge {
        font-size: 0.75rem !important;
        padding: 0.25rem 0.6rem !important;
    }

    .filter-bar .custom-control-label {
        font-size: 0.75rem !important;
    }

    .filter-bar .text-muted.small {
        font-size: 0.7rem !important;
    }
}

@media (max-width: 576px) {
    .header-section h2 {
        font-size: 1.1rem !important;
    }

    .header-section p {
        font-size: 0.75rem !important;
    }

    h4.font-weight-bold {
        font-size: 1rem !important;
    }

    .comp-name {
        font-size: 0.95rem !important;
    }

    .comp-sport {
        font-size: 0.6rem !important;
    }

    .comp-date {
        font-size: 0.7rem !important;
    }

    .comp-id-badge {
        font-size: 0.65rem !important;
    }

    .action-header h3 {
        font-size: 0.9rem !important;
    }

    .action-title {
        font-size: 0.85rem !important;
    }

    .form-control,
    .custom-select {
        font-size: 0.85rem !important;
        height: 44px !important;
    }
}

/* Sidebar Fixes */
.sidebar {
    background-color: var(--sidebar-bg) !important;
}

.mobile-close-btn {
    transition: transform 0.2s ease;
}

    .mobile-close-btn:active {
        transform: scale(0.9);
    }

/* Card Layout Adjustments */
.comp-card-content {
    flex: 1;
    overflow: hidden;
}

.ml-auto {
    margin-left: auto !important;
}

.lock-badge {
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 4px;
    border-radius: 6px;
}

    .lock-badge:hover {
        background: rgba(0, 0, 0, 0.05);
    }

[data-theme='dark'] .lock-badge:hover {
    background: rgba(255, 255, 255, 0.1);
}

.text-danger {
    color: #ef4444 !important;
}

.text-success {
    color: #10b981 !important;
}

/* Responsive Sidebar Overlap Fix */
@media (max-width: 992px) {
    .dashboard-wrapper:not(.sidebar-open) .sidebar {
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
    }

    .dashboard-wrapper.sidebar-open .sidebar {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-notification {
    pointer-events: auto;
    min-width: 320px;
    max-width: 450px;
    padding: 16px 20px;
    border-radius: 16px;
    background: var(--toast-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

    .toast-notification.active {
        transform: translateX(0);
    }

    .toast-notification::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 6px;
    }

.toast-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-message {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--toast-text);
}

.toast-close {
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.2rem;
    padding: 4px;
    transition: all 0.2s ease;
    opacity: 0.6;
}

    .toast-close:hover {
        opacity: 1;
        color: var(--text-primary);
    }

/* Toast Types */
.toast-success::before {
    background: #10b981;
}

.toast-success .toast-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.toast-error::before {
    background: #ef4444;
}

.toast-error .toast-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.toast-warning::before {
    background: #f59e0b;
}

.toast-warning .toast-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(0, 0, 0, 0.05);
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
    transform-origin: left;
    animation: toastProgress 5s linear forwards;
}

.toast-success .toast-progress-bar {
    background: #10b981;
}

.toast-error .toast-progress-bar {
    background: #ef4444;
}

.toast-warning .toast-progress-bar {
    background: #f59e0b;
}

@keyframes toastProgress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

/* Ongoing Competition Styling */
.comp-ongoing {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.05) !important;
    position: relative;
    overflow: hidden;
}

    .comp-ongoing::after {
        content: 'LIVE';
        position: absolute;
        top: 10px;
        left: -25px;
        background: #ef4444;
        color: white;
        font-size: 0.6rem;
        font-weight: 900;
        padding: 2px 25px;
        transform: rotate(-45deg);
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        z-index: 5;
    }

    .comp-ongoing .comp-icon-circle {
        background: rgba(239, 68, 68, 0.1);
        color: #ef4444;
        animation: heartbeat 1.5s ease-in-out infinite;
    }

/* Heartbeat Animation */
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.1);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(1);
    }
}

/* Apply heartbeat to all comp cards on hover as well */
.comp-card:hover .comp-icon-circle {
    animation: heartbeat 1s ease-in-out infinite;
}

/* Dashboard Transitions */
.dashboard-view-container {
    position: relative;
    width: 100%;
}

.view-transition {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .view-transition.ng-hide {
        opacity: 0;
        transform: translateY(10px);
    }

/* Ensure smooth switching */
.animate-view-switch {
    animation: slideUpFade 0.5s ease-out forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .toast-container {
        top: 16px;
        right: 16px;
        left: 16px;
    }

    .toast-notification {
        min-width: unset;
        width: 100%;
    }
}

/* Management Tabs Styling */
.management-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.5rem;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    width: fit-content;
}

.management-tab-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

    .management-tab-item i {
        font-size: 1rem;
    }

    .management-tab-item:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-primary);
    }

    .management-tab-item.active {
        background: var(--primary-gradient);
        color: white;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    }

        .management-tab-item.active i {
            color: white;
        }
