/* Variables CSS */
/* Variables CSS - Versión Premium */
:root {
    /* Brand Color */
    --brand-hard: #1e3a8a; /* Azul oscuro */
    /* Primary Colors - Inspirado en Copy.ai */
    --bs-primary-rgb: 57,119,181;
    --bs-body-bg: #ffffff;
    --bd-body-color: #212529;
    --bs-accordion-active-bg: #e0e7ff;
    --bs-accordion-active-color: #3730a3;
    --primary-50: #f0f4ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;
    --primary-300: #a5b4fc;
    --primary-400: #818cf8;
    --primary-500: #6366f1;
    --primary-600: #3D90E3;
    --primary-700: #0E4F90;
    --primary-800: #3730a3;
    --primary-900: #312e81;
    /* Neutral Colors - Más sofisticados */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    /* Semantic Colors */
    --success-500: #10b981;
    --success-50: #ecfdf5;
    --error-500: #ef4444;
    --error-50: #fef2f2;
    --warning-500: #f59e0b;
    --warning-50: #fffbeb;
    /* New Variables */
    --primary-color: var(--primary-600);
    --primary-hover: var(--primary-700);
    --secondary-color: var(--success-500);
    --danger-color: var(--error-500);
    --warning-color: var(--warning-500);
    /* Background & Text */
    --bg-primary: var(--neutral-50);
    --bg-secondary: white;
    --bg-tertiary: var(--neutral-100);
    --text-primary: var(--neutral-900);
    --text-secondary: var(--neutral-600);
    --text-tertiary: var(--neutral-500);
    --text-dark: var(--neutral-900);
    --text-light: var(--neutral-100);
    /* Border & Shadows */
    --border-color: var(--neutral-200);
    --border-light: var(--neutral-300);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    /* Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-primary: var(--neutral-900);
    --bg-secondary: var(--neutral-800);
    --bg-tertiary: var(--neutral-700);
    --text-primary: var(--neutral-100);
    --text-secondary: var(--neutral-300);
    --text-tertiary: var(--neutral-400);
    --text-dark: var(--neutral-900);
    --text-light: var(--neutral-100);
    --border-color: var(--neutral-700);
    --border-light: var(--neutral-600);
    /* Shadows for dark mode */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    /* BS over handrling */
    --bs-light-rgb: 50, 50,50;
    --bs-secondary-color: var(--neutral-300);
    --bs-body-bg: #000000;
    --bs-body-color: #a3a3a3;
    --bs-accordion-active-bg: rgba(255, 255, 255, 0.1);
    --bs-accordion-active-color: #ffffff;
}




/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    /*padding-top: 76px;*/
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    letter-spacing: -0.01em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main-content {
    flex: 1;
    background-color: var(--bg-primary);
}

/* Navigation - Premium Style */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
}

[data-theme="dark"] .navbar {
    background: rgba(23, 23, 23, 0.95) !important;
    border-bottom-color: var(--neutral-700);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Scrolled state */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(23, 23, 23, 0.98) !important;
}

/* Navbar Brand */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .navbar-brand:hover {
        color: var(--primary-600) !important;
        transform: translateY(-1px);
    }

    .navbar-brand i {
        font-size: 1.75rem;
        background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

/* Nav Links */
.navbar-nav {
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary) !important;
    padding: 0.625rem 1rem !important;
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

    .nav-link::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--primary-600), var(--primary-700));
        transition: all 0.3s ease;
        transform: translateX(-50%);
        border-radius: 1px;
    }

    .nav-link:hover {
        color: var(--primary-600) !important;
        background-color: var(--primary-50);
        transform: translateY(-1px);
    }

[data-theme="dark"] .nav-link:hover {
    background-color: rgba(99, 102, 241, 0.1);
}

.nav-link:hover::before {
    width: 60%;
}

.nav-link.active {
    color: var(--primary-600) !important;
    background-color: var(--primary-100);
    font-weight: 600;
}

[data-theme="dark"] .nav-link.active {
    background-color: rgba(99, 102, 241, 0.15);
}

.nav-link.active::before {
    width: 80%;
}

.nav-link i{
    color:var(--primary-600);
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: none;
    padding: 0.375rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* User Dropdown */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

    .dropdown-toggle:hover {
        background: var(--bg-tertiary);
        border-color: var(--primary-600);
        box-shadow: var(--shadow-md);
        transform: translateY(-1px);
    }

    .dropdown-toggle::after {
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }

    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

/* Avatar */
.avatar-circle {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

    .avatar-circle::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50%;
        padding: 2px;
        background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: exclude;
    }

    .avatar-circle .initials {
        color: white;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 0.5px;
    }

/* Dropdown Menu */
.dropdown-menu {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem;
    margin-top: 0.5rem;
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    min-width: 240px;
    animation: dropdown-fade-in 0.2s ease-out;
}

@keyframes dropdown-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

    .dropdown-item:hover {
        background-color: var(--primary-50);
        color: var(--primary-600);
        transform: translateX(4px);
    }

[data-theme="dark"] .dropdown-item:hover {
    background-color: rgba(99, 102, 241, 0.1);
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    opacity: 0.7;
}

.dropdown-item:hover i {
    opacity: 1;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--border-light);
}

.dropdown-item-text {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin: 0.25rem 0;
}

/* Mobile Menu */
@media (max-width: 992px) {
    .navbar-collapse {
        background: var(--bg-secondary);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-lg);
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .navbar-nav {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: var(--radius-md);
    }

        .nav-link::before {
            display: none;
        }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: var(--bg-tertiary);
        padding: 0.5rem 0;
        margin: 0.5rem 0;
        border-radius: var(--radius-md);
    }
}

/* CTA Button in Navbar */
.navbar .btn-primary {
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

    .navbar .btn-primary:hover {
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    }

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, var(--error-500), #dc2626);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-secondary);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Buttons - Premium Style */
.btn {
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
    border-radius: var(--radius-md);
    padding: 0.625rem 1.25rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
}

    .btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    }

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    border-color: var(--primary-600);
    color: white;
    box-shadow: var(--shadow-sm);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%);
        border-color: var(--primary-700);
        color: white;
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

    .btn-primary:active {
        transform: translateY(0);
        box-shadow: var(--shadow-sm);
    }

/* Outline Primary */
.btn-outline-primary {
    background: var(--bg-secondary);
    border-color: var(--primary-600);
    color: var(--primary-600);
    box-shadow: var(--shadow-sm);
}

    .btn-outline-primary:hover {
        background: var(--primary-50);
        border-color: var(--primary-700);
        color: var(--primary-700);
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

[data-theme="dark"] .btn-outline-primary:hover {
    background: rgba(99, 102, 241, 0.1);
}

/* Secondary Button */
.btn-secondary {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

    .btn-secondary:hover {
        background: var(--bg-tertiary);
        border-color: var(--border-color);
        color: var(--text-primary);
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

/* Outline Secondary */
.btn-outline-secondary {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
}

    .btn-outline-secondary:hover {
        background: var(--bg-tertiary);
        border-color: var(--primary-600);
        color: var(--primary-600);
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, var(--success-500) 0%, #059669 100%);
    border-color: var(--success-500);
    color: white;
    box-shadow: var(--shadow-sm);
}

    .btn-success:hover {
        background: linear-gradient(135deg, #059669 0%, #047857 100%);
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
        color: white;
    }

/* Danger Button */
.btn-danger {
    background: linear-gradient(135deg, var(--error-500) 0%, #dc2626 100%);
    border-color: var(--error-500);
    color: white;
    box-shadow: var(--shadow-sm);
}

    .btn-danger:hover {
        background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
        color: white;
    }

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

/* Loading State */
.btn.loading {
    color: transparent;
    pointer-events: none;
}

    .btn.loading::after {
        content: '';
        position: absolute;
        width: 16px;
        height: 16px;
        border: 2px solid currentColor;
        border-radius: 50%;
        border-top-color: transparent;
        animation: btn-loading-spinner 1s linear infinite;
        color: inherit;
    }

@keyframes btn-loading-spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Disabled State */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Forms - Premium Style */
.form-control, .form-select {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-600);
        background-color: var(--bg-secondary);
        color: var(--text-primary);
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12), var(--shadow-sm);
        outline: none;
    }

    .form-control::placeholder {
        color: var(--text-tertiary);
        opacity: 1;
    }

/* Input Groups */
.input-group {
    position: relative;
    display: flex;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

    .input-group .form-control {
        border-radius: 0;
        border-right: none;
        box-shadow: none;
    }

        .input-group .form-control:first-child {
            border-radius: var(--radius-md) 0 0 var(--radius-md);
        }

        .input-group .form-control:last-child {
            /*border-radius: 0 var(--radius-md) var(--radius-md) 0;
            border-right: 1.5px solid var(--border-color);*/
        }

.no-right-custom {
    border-top-right-radius: var(--radius-lg) !important;
    border-bottom-right-radius: var(--radius-lg) !important;
}

.input-group-text {
    background-color: var(--bg-tertiary);
    border: 1.5px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border-radius: 0;
    border-right: none;
    transition: all 0.2s ease;
}

    .input-group-text:first-child {
        border-radius: var(--radius-md) 0 0 var(--radius-md);
    }

.input-group:focus-within .input-group-text {
    border-color: var(--primary-600);
    background-color: var(--primary-50);
    color: var(--primary-600);
}

[data-theme="dark"] .input-group:focus-within .input-group-text {
    background-color: rgba(99, 102, 241, 0.1);
}

/* Form Labels */
.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
}

/* Validation States */
.form-control.is-valid {
    border-color: var(--success-500);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310b981' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.form-control.is-invalid {
    border-color: var(--error-500);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ef4444' stroke='none'/%3e%3c/svg%3e");
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* Checkboxes and Radios */
.form-check-input:checked {
    background-color: var(--primary-600);
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    border-color: var(--primary-600);
}

.form-check-label {
    color: var(--text-primary);
    font-size: 0.9375rem;
    cursor: pointer;
}

/* Cards - Premium Style */
.card, .dashboard-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

    .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .card:hover::before {
        opacity: 1;
    }

    .card:hover, .dashboard-card:hover {
        border-color: var(--primary-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-2px);
    }

[data-theme="dark"] .card:hover,
[data-theme="dark"] .dashboard-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Card Header */
.card-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    background-color: var(--primary-700) !important;
}

    .card-header.bg-primary {
        background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
        border-bottom: none;
        color: white;
    }

    .card-header.bg-success {
        background: linear-gradient(135deg, var(--success-500) 0%, #059669 100%);
        border-bottom: none;
        color: white;
    }

    .card-header.bg-danger {
        background: linear-gradient(135deg, var(--error-500) 0%, #dc2626 100%);
        border-bottom: none;
        color: white;
    }

    .card-header.bg-warning {
        background: linear-gradient(135deg, var(--warning-500) 0%, #f59e0b 100%);
        border-bottom: none;
        color: white;
    }

    .card-header.bg-dark {
        background: linear-gradient(135deg, var(--brand-hard) 0%, var(--neutral-900) 100%);
        border-bottom: none;
        color: white;
    }

.fixed-height-200 {
    height: 200px;
    overflow: auto;

}
/* Card Body */
.card-body {
    padding: 1.5rem;
    color: var(--text-primary);
}

/* Card Footer */
.card-footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
}

    .card-footer.bg-white {
        background: var(--bg-secondary);
    }

/* Stats Cards - Special styling */
.stats-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .stats-card::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100px;
        background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
        border-radius: 50%;
        transform: translate(30px, -30px);
        opacity: 0.05;
        transition: all 0.3s ease;
    }

    .stats-card:hover::after {
        transform: translate(20px, -20px) scale(1.1);
        opacity: 0.08;
    }

    .stats-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-xl);
        border-color: var(--primary-200);
    }

[data-theme="dark"] .stats-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

/* Stat Icons */
.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .stat-icon::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        opacity: 0.1;
        transition: opacity 0.3s ease;
    }

    .stat-icon.primary {
        background: rgba(99, 102, 241, 0.1);
        color: var(--primary-600);
        border: 1px solid rgba(99, 102, 241, 0.2);
    }

        .stat-icon.primary::before {
            background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
        }

    .stat-icon.success {
        background: rgba(16, 185, 129, 0.1);
        color: var(--success-500);
        border: 1px solid rgba(16, 185, 129, 0.2);
    }

        .stat-icon.success::before {
            background: linear-gradient(135deg, var(--success-500), #059669);
        }

    .stat-icon.warning {
        background: rgba(245, 158, 11, 0.1);
        color: var(--warning-500);
        border: 1px solid rgba(245, 158, 11, 0.2);
    }

        .stat-icon.warning::before {
            background: linear-gradient(135deg, var(--warning-500), #f59e0b);
        }

    .stat-icon.danger {
        background: rgba(239, 68, 68, 0.1);
        color: var(--error-500);
        border: 1px solid rgba(239, 68, 68, 0.2);
    }

        .stat-icon.danger::before {
            background: linear-gradient(135deg, var(--error-500), #dc2626);
        }

.stats-card:hover .stat-icon::before {
    opacity: 0.15;
}

/* Glassmorphism Cards (for special sections) */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .glass-card {
    background: rgba(23, 23, 23, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Feature Cards (for landing page) */
.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .feature-card:hover::before {
        opacity: 0.02;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
        border-color: var(--primary-300);
    }

[data-theme="dark"] .feature-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

.feature-card .feature-icon {
    font-size: 3rem;
    color: var(--primary-600);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: var(--primary-700);
}

/* Progress Cards */
.progress {
    height: 8px;
    border-radius: var(--radius-sm);
    background-color: var(--neutral-200);
    overflow: hidden;
}

[data-theme="dark"] .progress {
    background-color: var(--neutral-700);
}

.progress-bar {
    border-radius: var(--radius-sm);
    transition: width 0.6s ease;
    position: relative;
    overflow: hidden;
}

    .progress-bar::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-image: linear-gradient( 45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent );
        background-size: 1rem 1rem;
        animation: progress-bar-stripes 1s linear infinite;
    }

@keyframes progress-bar-stripes {
    0% {
        background-position-x: 1rem;
    }
}

.progress-bar.bg-success {
    background: linear-gradient(90deg, var(--success-500), #059669);
}

.progress-bar.bg-warning {
    background: linear-gradient(90deg, var(--warning-500), #f59e0b);
}

.progress-bar.bg-danger {
    background: linear-gradient(90deg, var(--error-500), #dc2626);
}

/* Pricing Cards */
.pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    
}

    .pricing-card.border-primary {
        border: 2px solid var(--primary-600);
        position: relative;
    }

        .pricing-card.border-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-600), var(--primary-700));
        }

    .pricing-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
        border-color: var(--primary-300);
    }

[data-theme="dark"] .pricing-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

/* Dividers */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid var(--border-color);
    }

    .divider span {
        padding: 0 1rem;
        color: var(--text-muted);
        font-size: 0.875rem;
    }

/* Alerts */
.alert {
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
}

.alert-danger {
    background-color: #FEE2E2;
    color: #991B1B;
}

/* Footer - Premium Style */
.footer {
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .footer {
    background: linear-gradient(135deg, var(--neutral-950) 0%, var(--neutral-900) 100%);
    border-top-color: var(--neutral-700);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer-content {
    padding: 3rem 0 2rem;
    color: var(--neutral-300);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Footer Brand */
.footer-brand {
    grid-column: span 1;
}

    .footer-brand .brand-logo {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
        text-decoration: none;
    }

        .footer-brand .brand-logo i {
            font-size: 2rem;
            background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .footer-brand .brand-logo span {
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
        }

    .footer-brand .brand-tagline {
        color: var(--neutral-400);
        font-size: 0.9375rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

.footer-social {
    display: flex;
    gap: 0.75rem;
}

    .footer-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-md);
        color: var(--neutral-300);
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

        .footer-social a:hover {
            background: var(--primary-600);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
        }

/* Footer Sections */
.footer-section h6 {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

    .footer-section h6::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 30px;
        height: 2px;
        background: linear-gradient(90deg, var(--primary-600), var(--primary-700));
        border-radius: 1px;
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.75rem;
    }

    .footer-links a {
        color: var(--neutral-400);
        text-decoration: none;
        font-size: 0.9375rem;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .footer-links a:hover {
            color: var(--primary-400);
            transform: translateX(4px);
        }

        .footer-links a i {
            font-size: 0.875rem;
            width: 16px;
            opacity: 0.7;
        }

/* Newsletter Section */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

    .footer-newsletter h6 {
        color: white;
        margin-bottom: 0.5rem;
    }

    .footer-newsletter p {
        color: var(--neutral-400);
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

    .newsletter-form input {
        flex: 1;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: var(--radius-md);
        padding: 0.75rem 1rem;
        color: white;
        font-size: 0.9375rem;
        transition: all 0.3s ease;
    }

        .newsletter-form input::placeholder {
            color: var(--neutral-400);
        }

        .newsletter-form input:focus {
            outline: none;
            border-color: var(--primary-600);
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
        }

    .newsletter-form button {
        background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
        border: none;
        border-radius: var(--radius-md);
        padding: 0.75rem 1.25rem;
        color: white;
        font-weight: 500;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

        .newsletter-form button:hover {
            background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
        }

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-left {
    color: var(--neutral-400);
    font-size: 0.875rem;
}

.footer-bottom-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .footer-bottom-links a {
        color: var(--neutral-400);
        text-decoration: none;
        font-size: 0.875rem;
        transition: color 0.3s ease;
    }

        .footer-bottom-links a:hover {
            color: var(--primary-400);
        }

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--neutral-300);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .footer-badge:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        transform: translateY(-1px);
    }

    .footer-badge i {
        color: var(--success-500);
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        padding: 2rem 0 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-right {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        margin: 1rem;
    }

    .auth-header {
        padding: 1.5rem;
    }

    .auth-body {
        padding: 1.5rem;
    }
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #94A3B8;
    }

/* Cards */
.height-auto {
    height: auto !important;
}


.ml-2 {
    margin-left: 0.5rem !important;
}


/* Theme Toggle Button */
.theme-toggle {
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

    .theme-toggle:hover {
        background-color: var(--bg-tertiary);
        border-color: var(--primary-color);
        color: var(--primary-color);
        transform: translateY(-1px);
    }

    .theme-toggle .theme-icon-light,
    .theme-toggle .theme-icon-dark {
        font-size: 16px;
        transition: opacity 0.3s ease;
    }

/* Dark mode icon visibility */
[data-theme="dark"] .theme-toggle .theme-icon-light {
    display: none;
}

[data-theme="dark"] .theme-toggle .theme-icon-dark {
    display: inline-block;
}

[data-theme="light"] .theme-toggle .theme-icon-light {
    display: inline-block;
}

[data-theme="light"] .theme-toggle .theme-icon-dark {
    display: none;
}

/* Table Customs */
.table-light th {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* Accordion Customs */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-700);
    color: white;
}

.accordion-body {
    padding-left:50px !important;
}

.container {
    max-width: 100% !important;
   
}

/* Customs */
.bk-c-transparent {
    background-color: transparent !important;
}

.mr-1 {
    margin-right: 0.25rem !important;
}
.mr-2 {
    margin-right: 0.5rem !important;
}


/* Reactivation Info */
.reactivation-info, .countdown-warning, .security-tips {
    color: black;
}

/* Previw Info */
.placeholder-text p {
    margin:0;
}