:root {
    --primary-color: #06b6d4;
    --primary-dark: #0e7490;
    --primary-mid: #0891b2;
    --primary-light: #cffafe;
    --primary-glow: rgba(6, 182, 212, 0.35);
    --accent: #7c3aed;
    --accent2: #a855f7;
    --accent-dark: #5b21b6;
    --secondary-color: #64748b;
    --success-color: #22c55e;
    --success-dark: #16a34a;
    --danger-color: #ef4444;
    --danger-dark: #b91c1c;
    --warning-color: #a855f7;
    --info-color: #22d3ee;
    --dark-color: #050b14;
    --dark2: #080f1c;
    --dark3: #0a1628;
    --dark4: #0d1f35;
    --card-bg: #0d1f35;
    --card-bg2: #080f1c;
    --light-bg: #080f1c;
    --border-radius: 12px;
    --border-radius-lg: 18px;
    --border-radius-xl: 24px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --box-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.6);
    --transition: all 0.3s ease;
    --transition-fast: all 0.18s ease;
    --border-color: rgba(6, 182, 212, 0.2);
    --border-subtle: rgba(6, 182, 212, 0.08);
    --text: #e2e8f0;
    --text-muted: #64748b;
    --text-dim: #475569;
    --glow: 0 0 40px rgba(6, 182, 212, 0.25);
    --glow-lg: 0 0 55px rgba(6, 182, 212, 0.2);
    --glow-accent: 0 0 40px rgba(124, 58, 237, 0.3);
    --grad-primary: linear-gradient(135deg, #06b6d4 0%, #0e7490 100%);
    --grad-warm: linear-gradient(135deg, #06b6d4 0%, #7c3aed 100%);
    --grad-fire: linear-gradient(135deg, #a855f7 0%, #06b6d4 50%, #0e7490 100%);
    --grad-card: linear-gradient(145deg, #0d1f35 0%, #080f1c 100%);
    --grad-glow-bg: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
}

*,*::before,*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-color);
    min-height: 100vh;
    color: var(--text);
    line-height: 1.7;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #06b6d4, #0e7490);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a855f7, #06b6d4);
}

::selection {
    background: rgba(6, 182, 212, 0.3);
    color: var(--text);
}

a {
    text-decoration: none;
    transition: var(--transition);
    color: var(--primary-color);
}

a:hover {
    color: var(--accent2);
    opacity: 0.9;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    line-height: 1.3;
}

p {
    color: var(--text-muted);
}

label {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

.auth-page {
    background:
        radial-gradient(ellipse 90% 65% at 50% 0%, rgba(6, 182, 212, 0.14) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 90% 90%, rgba(124, 58, 237, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 10% 70%, rgba(6, 182, 212, 0.07) 0%, transparent 55%),
        linear-gradient(180deg, #050b14 0%, #080f1c 100%);
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    pointer-events: none;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.auth-card {
    background: linear-gradient(145deg, rgba(13, 31, 53, 0.97), rgba(8, 15, 28, 0.97));
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--border-radius-xl);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.65),
        0 0 50px rgba(6, 182, 212, 0.07),
        inset 0 1px 0 rgba(6, 182, 212, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 44px;
    animation: fadeInUp 0.5s ease;
    position: relative;
    z-index: 1;
    color: var(--text);
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-fire);
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-container {
    width: 80px;
    height: 80px;
    background: var(--grad-fire);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4), 0 0 0 6px rgba(6, 182, 212, 0.08);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4), 0 0 0 6px rgba(6, 182, 212, 0.08); }
    50% { box-shadow: 0 14px 40px rgba(6, 182, 212, 0.6), 0 0 0 10px rgba(124, 58, 237, 0.06); }
}

.logo-container i {
    color: white !important;
    font-size: 40px;
}

.auth-header {
    margin-bottom: 30px;
}

.auth-title {
    font-size: 28px;
    font-weight: 800;
    background: var(--grad-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}

.form-control {
    border: 1.5px solid rgba(6, 182, 212, 0.12);
    border-radius: var(--border-radius);
    padding: 12px 20px;
    font-size: 15px;
    transition: var(--transition);
    background: rgba(6, 182, 212, 0.04);
    color: var(--text);
}

.form-control::placeholder {
    color: var(--text-dim);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
    background: rgba(6, 182, 212, 0.07);
    color: var(--text);
    outline: none;
}

.form-floating > label {
    color: var(--text-muted);
    padding: 1rem 20px;
}

.form-floating label i {
    margin-right: 8px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    z-index: 10;
    font-size: 18px;
    transition: var(--transition-fast);
}

.password-toggle:hover {
    color: var(--primary-color);
}

.password-strength {
    margin-top: 8px;
}

.form-check-input {
    background-color: rgba(6, 182, 212, 0.07);
    border-color: rgba(6, 182, 212, 0.2);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-label {
    color: var(--text-muted);
}

.btn {
    border-radius: var(--border-radius);
    padding: 14px 24px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: var(--grad-primary);
    border: none;
    color: #fff;
    box-shadow: 0 4px 18px rgba(6, 182, 212, 0.38);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(6, 182, 212, 0.55);
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
    color: #fff;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-primary {
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 14px 24px;
    font-weight: 600;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--grad-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(6, 182, 212, 0.38);
}

.btn:focus,
.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25) !important;
    outline: none;
}

.btn-secondary {
    background: rgba(6, 182, 212, 0.06);
    color: var(--text);
    border: 1px solid rgba(6, 182, 212, 0.12);
}

.btn-secondary:hover {
    background: rgba(6, 182, 212, 0.1);
    color: var(--text);
    transform: translateY(-2px);
    border-color: rgba(6, 182, 212, 0.22);
}

.btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.32);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
    color: #fff;
    background: linear-gradient(135deg, #4ade80, #22c55e);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #fff;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.32);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5);
    color: #fff;
    background: linear-gradient(135deg, #f87171, #ef4444);
}

.btn-warning {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.32);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
    color: #fff;
    background: linear-gradient(135deg, #c084fc, #a855f7);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 22px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

.divider-text {
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.footer-links a {
    transition: var(--transition-fast);
    color: var(--text-muted);
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

.dashboard-page {
    background: var(--dark-color);
}

.navbar {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
    padding: 14px 0;
    border-bottom: 1px solid rgba(6, 182, 212, 0.12);
    background: rgba(5, 11, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), rgba(124, 58, 237, 0.25), rgba(6, 182, 212, 0.4), transparent);
}

.navbar-brand {
    font-weight: 800;
    font-size: 22px;
    color: var(--text) !important;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.3px;
}

.navbar-brand i {
    font-size: 26px;
    color: var(--primary-color);
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.55));
}

.navbar-brand em {
    font-style: normal;
    background: var(--grad-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 14px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(6, 182, 212, 0.08);
}

.nav-link.active {
    color: var(--primary-color) !important;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(124, 58, 237, 0.07));
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.navbar-toggler {
    border-color: rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.dashboard-title {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-card {
    background: linear-gradient(145deg, #0d1f35, #0a1628);
    border: 1px solid rgba(6, 182, 212, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-warm);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.stats-card:hover::before {
    transform: scaleX(1);
}

.stats-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), var(--glow);
    border-color: var(--border-color);
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    background: var(--grad-fire);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
    flex-shrink: 0;
}

.stats-content {
    flex: 1;
}

.stats-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.stats-value {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.2;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: var(--grad-primary);
    border-radius: 4px;
}

.package-card {
    background: linear-gradient(145deg, #0d1f35, #080f1c);
    border: 1px solid rgba(6, 182, 212, 0.1);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    color: var(--text);
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-fire);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.package-card:hover::before {
    opacity: 1;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.55), var(--glow);
    border-color: var(--border-color);
}

.package-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--grad-fire);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    z-index: 1;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
}

.package-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.package-body {
    padding: 24px;
}

.package-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.package-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.65;
}

.package-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-item i {
    font-size: 22px;
    margin-top: 2px;
    color: var(--primary-color);
    filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.4));
}

.info-item small {
    display: block;
    color: var(--text-dim);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.info-item strong {
    display: block;
    font-size: 15px;
    color: var(--text);
    font-weight: 600;
}

.info-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.07), rgba(124, 58, 237, 0.05));
    border: 1px solid rgba(6, 182, 212, 0.18);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    color: var(--text);
}

.card {
    border: 1px solid rgba(6, 182, 212, 0.1) !important;
    border-radius: var(--border-radius-lg) !important;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    background: linear-gradient(145deg, #0d1f35, #0a1628) !important;
    color: var(--text);
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(6, 182, 212, 0.2) !important;
}

.card-header {
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0 !important;
    border-bottom: 1px solid rgba(6, 182, 212, 0.1) !important;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(124, 58, 237, 0.04)) !important;
    color: var(--text);
    position: relative;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.3), transparent);
}

.card-body {
    padding: 24px;
    background: transparent;
    color: var(--text);
}

.table {
    margin-bottom: 0;
    color: var(--text);
}

.table th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(6, 182, 212, 0.1) !important;
    background: transparent;
    letter-spacing: 0.8px;
    padding: 14px 16px;
}

.table td {
    border-color: rgba(6, 182, 212, 0.06) !important;
    vertical-align: middle;
    color: var(--text);
    padding: 14px 16px;
    font-size: 14px;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(6, 182, 212, 0.03);
    color: var(--text);
}

.table-hover > tbody > tr:hover > * {
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.07), rgba(124, 58, 237, 0.04));
    color: var(--text);
}

.badge {
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 8px;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.badge.bg-primary {
    background: var(--grad-primary) !important;
    color: #fff;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.28);
}

.badge.bg-success {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    color: #fff;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.28);
}

.badge.bg-warning {
    background: rgba(124, 58, 237, 0.15) !important;
    color: #a855f7 !important;
    border: 1px solid rgba(124, 58, 237, 0.28);
}

.badge.bg-danger {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.28);
}

.badge.bg-secondary {
    background: rgba(100, 116, 139, 0.12) !important;
    color: var(--text-muted) !important;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.badge.bg-info {
    background: rgba(6, 182, 212, 0.12) !important;
    color: var(--info-color) !important;
    border: 1px solid rgba(6, 182, 212, 0.22);
}

.footer {
    background: linear-gradient(180deg, #030810 0%, #020509 100%);
    color: var(--text-muted);
    padding: 22px 0;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid rgba(6, 182, 212, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), rgba(124, 58, 237, 0.3), rgba(6, 182, 212, 0.4), transparent);
}

.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(185, 28, 28, 0.07));
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.22);
}

.alert-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.07));
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.22);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(91, 33, 182, 0.07));
    color: #c084fc;
    border: 1px solid rgba(124, 58, 237, 0.22);
}

.alert-info {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(124, 58, 237, 0.05));
    color: var(--primary-light);
    border: 1px solid rgba(6, 182, 212, 0.22);
}

.content-section {
    line-height: 1.8;
    color: var(--text);
}

.content-section h2 {
    margin-top: 30px;
    color: var(--text);
    font-weight: 700;
}

.content-section p {
    color: var(--text-muted);
}

.feature-box {
    transition: var(--transition);
    border: 1px solid rgba(6, 182, 212, 0.1) !important;
    background: linear-gradient(145deg, #0d1f35, #0a1628) !important;
    border-radius: var(--border-radius-lg);
}

.feature-box:hover {
    transform: translateY(-6px);
    border-color: var(--border-color) !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45), var(--glow);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-gradient {
    background: var(--grad-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-fire {
    background: var(--grad-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-dark {
    color: var(--text) !important;
}

.bg-light {
    background-color: var(--dark2) !important;
}

.bg-white {
    background: linear-gradient(145deg, #0d1f35, #0a1628) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
}

.shadow {
    box-shadow: var(--box-shadow) !important;
}

.shadow-glow {
    box-shadow: var(--box-shadow), var(--glow) !important;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-muted);
}

.display-1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

.invalid-feedback {
    display: none;
    font-size: 0.875rem;
    color: #fca5a5;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

.was-validated .form-control:invalid {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.was-validated .form-control:valid {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

select.form-control,
select.form-select {
    background-color: rgba(6, 182, 212, 0.04);
    border: 1.5px solid rgba(6, 182, 212, 0.12);
    color: var(--text);
    border-radius: var(--border-radius);
    padding: 12px 20px;
    appearance: none;
}

select.form-control:focus,
select.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
    background-color: rgba(6, 182, 212, 0.07);
    color: var(--text);
}

select.form-control option,
select.form-select option {
    background: var(--dark3);
    color: var(--text);
}

input[type="number"],
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    background: rgba(6, 182, 212, 0.04) !important;
    border: 1.5px solid rgba(6, 182, 212, 0.12) !important;
    color: var(--text) !important;
    border-radius: var(--border-radius);
}

input[type="number"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12) !important;
    background: rgba(6, 182, 212, 0.07) !important;
    color: var(--text) !important;
}

.modal-content {
    background: linear-gradient(145deg, #0d1f35, #080f1c);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: var(--text);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), var(--glow);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-fire);
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

.modal-header {
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.07), rgba(124, 58, 237, 0.04));
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
    padding: 20px 28px;
}

.modal-footer {
    border-top: 1px solid rgba(6, 182, 212, 0.1);
    padding: 16px 28px;
}

.modal-body {
    padding: 28px;
}

.modal-title {
    color: var(--text);
    font-weight: 700;
}

.btn-close {
    filter: invert(1) brightness(0.6);
    transition: var(--transition-fast);
}

.btn-close:hover {
    filter: invert(1) brightness(1);
    transform: rotate(90deg);
}

.dropdown-menu {
    background: linear-gradient(145deg, #0d1f35, #0a1628);
    border: 1px solid rgba(6, 182, 212, 0.18);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), var(--glow);
    padding: 8px;
}

.dropdown-item {
    color: var(--text-muted);
    border-radius: 8px;
    transition: var(--transition-fast);
    padding: 10px 14px;
    font-size: 14px;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(124, 58, 237, 0.06));
    color: var(--primary-color);
}

.dropdown-item:active {
    background: var(--grad-primary);
    color: #fff;
}

.dropdown-divider {
    border-color: rgba(6, 182, 212, 0.08);
    margin: 6px 0;
}

.list-group-item {
    background: linear-gradient(145deg, #0d1f35, #0a1628);
    border-color: rgba(6, 182, 212, 0.1);
    color: var(--text);
    transition: var(--transition);
    padding: 14px 18px;
}

.list-group-item:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(124, 58, 237, 0.04));
    border-color: var(--border-color);
}

.list-group-item.active {
    background: var(--grad-primary);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.progress {
    background: rgba(6, 182, 212, 0.08);
    border-radius: 50px;
    height: 8px;
    overflow: hidden;
}

.progress-bar {
    background: var(--grad-warm);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.pagination .page-link {
    background: linear-gradient(145deg, #0d1f35, #0a1628);
    border-color: rgba(6, 182, 212, 0.1);
    color: var(--text-muted);
    border-radius: 8px;
    margin: 0 3px;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(124, 58, 237, 0.07));
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: var(--grad-primary);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.32);
}

.nav-tabs {
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
    gap: 4px;
}

.nav-tabs .nav-link {
    color: var(--text-muted) !important;
    border: none;
    border-radius: 8px 8px 0 0;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(6, 182, 212, 0.07);
}

.nav-tabs .nav-link.active {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(124, 58, 237, 0.06)) !important;
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--primary-color) !important;
}

.tab-content {
    background: linear-gradient(145deg, #0d1f35, #0a1628);
    border: 1px solid rgba(6, 182, 212, 0.1);
    border-top: none;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    padding: 28px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #0a1628 inset;
    -webkit-text-fill-color: var(--text);
    border-color: rgba(6, 182, 212, 0.12) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.glow-box {
    box-shadow: var(--glow);
    border-color: var(--border-color) !important;
}

.glow-text {
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.55);
}

.gradient-border {
    border: 1px solid transparent;
    background:
        linear-gradient(#0d1f35, #0d1f35) padding-box,
        var(--grad-fire) border-box;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.chip-primary {
    background: rgba(6, 182, 212, 0.12);
    color: var(--primary-color);
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.chip-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.22);
}

.chip-warning {
    background: rgba(124, 58, 237, 0.1);
    color: #a855f7;
    border: 1px solid rgba(124, 58, 237, 0.22);
}

.chip-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.22);
}

.divider-gradient {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), rgba(124, 58, 237, 0.3), rgba(6, 182, 212, 0.4), transparent);
    margin: 20px 0;
}

@media (max-width: 768px) {
    .auth-card {
        padding: 32px 20px;
    }

    .stats-card {
        flex-direction: column;
        text-align: center;
    }

    .dashboard-title {
        font-size: 22px;
    }

    .auth-title {
        font-size: 24px;
    }

    .display-4 {
        font-size: 1.9rem;
    }

    .display-1 {
        font-size: 3.2rem;
    }

    .footer-links a {
        display: block;
        margin: 5px 0;
    }

    .card-body {
        padding: 18px;
    }

    .modal-body {
        padding: 20px;
    }

    .tab-content {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 24px 16px;
    }

    .stats-value {
        font-size: 22px;
    }

    .section-title {
        font-size: 18px;
    }
}
