:root {
    --bg-primary: #0a0a14;
    --bg-secondary: #12122a;
    --bg-card: #1a1a3e;
    --bg-sidebar: #0d0d24;
    --text-primary: #f0f0ff;
    --text-secondary: #c0c0e0;
    --text-muted: #8080b0;
    --text-bright: #ffffff;
    --cyan: #00e5ff;
    --cyan-dark: #00b8d4;
    --cyan-glow: rgba(0, 229, 255, 0.3);
    --green: #76ff03;
    --green-dark: #64dd00;
    --green-glow: rgba(118, 255, 3, 0.3);
    --red: #ff5252;
    --red-glow: rgba(255, 82, 82, 0.3);
    --amber: #ffd740;
    --amber-glow: rgba(255, 215, 64, 0.3);
    --purple: #7c4dff;
    --purple-glow: rgba(124, 77, 255, 0.3);
    --pink: #ff4081;
    --pink-glow: rgba(255, 64, 129, 0.3);
    --gradient-hero: linear-gradient(135deg, #1a1040 0%, #0d0d24 50%, #0a0a14 100%);
    --gradient-card: linear-gradient(145deg, #1e1e4a 0%, #15153a 100%);
    --gradient-cyan: linear-gradient(135deg, #00e5ff 0%, #0091ea 100%);
    --gradient-green: linear-gradient(135deg, #76ff03 0%, #00c853 100%);
    --gradient-purple: linear-gradient(135deg, #7c4dff 0%, #651fff 100%);
    --gradient-pink: linear-gradient(135deg, #ff4081 0%, #f50057 100%);
    --glass-bg: rgba(18, 18, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}



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

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

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--cyan-glow);
    }

    50% {
        box-shadow: 0 0 20px var(--cyan-glow), 0 0 40px var(--cyan-glow);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

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

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }

    to {
        opacity: 0;
        transform: translateX(150%) rotate(20deg);
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }

    to {
        opacity: 0;
        transform: translateX(-150%) rotate(-20deg);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}



.app-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 24px 16px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    animation: fadeInLeft 0.5s ease;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 24px;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-bright);
}

    .sidebar-brand .bi {
        font-size: 28px;
        color: var(--cyan);
        animation: heartBeat 3s infinite;
    }

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .sidebar-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: linear-gradient(90deg, rgba(0, 229, 255, 0.1), transparent);
        transition: width 0.3s ease;
    }

    .sidebar-item:hover::before {
        width: 100%;
    }

    .sidebar-item:hover {
        color: var(--text-bright);
        transform: translateX(4px);
    }

    .sidebar-item.active {
        background: rgba(0, 229, 255, 0.1);
        color: var(--cyan);
    }

        .sidebar-item.active::after {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 24px;
            background: var(--cyan);
            border-radius: 3px;
            animation: fadeInRight 0.3s ease;
        }

    .sidebar-item .bi {
        font-size: 20px;
        transition: transform 0.3s ease;
    }

    .sidebar-item:hover .bi {
        transform: scale(1.2);
    }

.sidebar-footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 16px;
    margin-top: auto;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: rgba(0, 229, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s infinite;
}

    .user-avatar .bi {
        font-size: 24px;
        color: var(--cyan);
    }

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-logout {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

    .btn-logout:hover {
        color: var(--red);
    }

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 32px;
    min-height: 100vh;
    padding-bottom: 100px;
    animation: fadeInUp 0.5s ease;
}



.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 12px;
    z-index: 1000;
    animation: fadeInUp 0.5s ease;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: var(--transition);
    padding: 4px 16px;
    position: relative;
}

    .mobile-nav-item.active {
        color: var(--cyan);
    }

        .mobile-nav-item.active::after {
            content: '';
            position: absolute;
            bottom: -8px;
            width: 20px;
            height: 3px;
            background: var(--cyan);
            border-radius: 3px;
            animation: scaleIn 0.3s ease;
        }

    .mobile-nav-item .bi {
        font-size: 22px;
        transition: transform 0.3s ease;
    }

    .mobile-nav-item:active .bi {
        transform: scale(1.3);
    }



.card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: var(--glass-shadow), 0 0 30px rgba(0, 229, 255, 0.1);
    }

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

    .glass-card:hover {
        border-color: rgba(255, 255, 255, 0.15);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    }



.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

    .btn::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .btn:hover::after {
        opacity: 1;
    }

    .btn:active {
        transform: scale(0.97);
    }

.btn-primary {
    background: var(--gradient-cyan);
    color: #0a0a14;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

    .btn-primary:hover {
        box-shadow: 0 6px 25px rgba(0, 229, 255, 0.5);
        transform: translateY(-2px);
    }

.btn-outline {
    background: transparent;
    border: 2px solid var(--cyan);
    color: var(--cyan);
}

    .btn-outline:hover {
        background: rgba(0, 229, 255, 0.1);
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
    }

.btn-danger {
    background: var(--red);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 82, 82, 0.3);
}

.btn-success {
    background: var(--gradient-green);
    color: #0a0a14;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(118, 255, 3, 0.3);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 10px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
    border-radius: var(--radius-md);
}

.btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}


.swipe-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 520px;
    margin: 0 auto;
    perspective: 1000px;
}

.swipe-card {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    cursor: grab;
    user-select: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease;
}

    .swipe-card:hover {
        box-shadow: 0 15px 50px rgba(0, 229, 255, 0.2), 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .swipe-card:active {
        cursor: grabbing;
    }

    .swipe-card img {
        width: 100%;
        height: 70%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .swipe-card:hover img {
        transform: scale(1.05);
    }

.swipe-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(10, 10, 20, 0.98) 0%, rgba(10, 10, 20, 0.8) 50%, transparent 100%);
}

.swipe-card-name {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.swipe-card-bio {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.swipe-actions {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 28px;
}

.swipe-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

    .swipe-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50%;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .swipe-btn:hover {
        transform: scale(1.15);
    }

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

.swipe-btn-dislike {
    color: var(--red);
    border: 2px solid rgba(255, 82, 82, 0.3);
}

    .swipe-btn-dislike:hover {
        background: rgba(255, 82, 82, 0.15);
        box-shadow: 0 0 30px var(--red-glow);
        border-color: var(--red);
    }

.swipe-btn-like {
    color: var(--green);
    border: 2px solid rgba(118, 255, 3, 0.3);
}

    .swipe-btn-like:hover {
        background: rgba(118, 255, 3, 0.15);
        box-shadow: 0 0 30px var(--green-glow);
        border-color: var(--green);
    }

.swipe-indicator {
    pointer-events: none;
    z-index: 10;
    backdrop-filter: blur(4px);
}

    .swipe-indicator.like {
        border-color: var(--green) !important;
        color: var(--green) !important;
        background: rgba(118, 255, 3, 0.1) !important;
        text-shadow: 0 0 10px var(--green-glow);
    }

    .swipe-indicator.nope {
        border-color: var(--red) !important;
        color: var(--red) !important;
        background: rgba(255, 82, 82, 0.1) !important;
        text-shadow: 0 0 10px var(--red-glow);
    }


.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-bright);
    font-size: 15px;
    font-family: var(--font-sans);
    transition: var(--transition);
}

    .form-control:focus {
        outline: none;
        border-color: var(--cyan);
        box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15), 0 0 20px rgba(0, 229, 255, 0.1);
    }

    .form-control::placeholder {
        color: var(--text-muted);
    }

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-cyan {
    background: rgba(0, 229, 255, 0.15);
    color: var(--cyan);
}

.badge-green {
    background: rgba(118, 255, 3, 0.15);
    color: var(--green);
}

.interest-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    background: rgba(124, 77, 255, 0.15);
    color: #b0a0f0;
    border: 1px solid rgba(124, 77, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

    .interest-tag:hover {
        background: rgba(124, 77, 255, 0.25);
        transform: translateY(-1px);
    }

    .interest-tag.selected {
        background: var(--cyan);
        color: #0a0a14;
        border-color: var(--cyan);
        box-shadow: 0 0 15px var(--cyan-glow);
    }


.stat-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    animation: fadeInUp 0.5s ease;
}

    .stat-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--glass-shadow);
        border-color: rgba(255, 255, 255, 0.15);
    }

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}


.table-container {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

    .table th {
        background: rgba(255, 255, 255, 0.03);
        padding: 16px 20px;
        text-align: left;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-muted);
    }

    .table td {
        padding: 14px 20px;
        border-bottom: 1px solid var(--glass-border);
        font-size: 14px;
        color: var(--text-secondary);
    }

    .table tr {
        transition: background 0.2s ease;
    }

        .table tr:hover td {
            background: rgba(255, 255, 255, 0.03);
        }


.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    animation: bounceIn 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 229, 255, 0.1);
}


.chat-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    backdrop-filter: blur(12px);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-bubble {
    max-width: 70%;
    padding: 12px 18px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.5;
    animation: scaleIn 0.2s ease;
}

.chat-bubble-mine {
    background: var(--gradient-cyan);
    color: #0a0a14;
    align-self: flex-end;
    border-bottom-right-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.2);
}

.chat-bubble-other {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-bright);
    align-self: flex-start;
    border-bottom-left-radius: 6px;
}

.chat-input-container {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin-top: 16px;
    backdrop-filter: blur(12px);
}

.chat-input {
    flex: 1;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    color: var(--text-bright);
    font-size: 15px;
    transition: var(--transition);
}

    .chat-input:focus {
        outline: none;
        border-color: var(--cyan);
        box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
    }


.landing-page {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

    .landing-page::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(124, 77, 255, 0.05) 0%, transparent 50%);
        animation: gradientShift 15s ease infinite;
    }

.landing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    max-width: 480px;
    width: 100%;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(20px);
    animation: fadeInUp 0.8s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.landing-logo {
    font-size: 72px;
    color: var(--cyan);
    margin-bottom: 24px;
    animation: heartBeat 3s infinite, float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--cyan-glow));
}

.landing-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--cyan), var(--purple), var(--pink));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

.landing-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}


.toast-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    z-index: 2000;
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

    .toast-notification.success {
        background: rgba(118, 255, 3, 0.15);
        border: 1px solid rgba(118, 255, 3, 0.3);
        color: var(--green);
    }

    .toast-notification.error {
        background: rgba(255, 82, 82, 0.15);
        border: 1px solid rgba(255, 82, 82, 0.3);
        color: var(--red);
    }


@media (max-width: 991px) {
    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
        padding: 16px;
        padding-bottom: 100px;
    }

    .swipe-container {
        height: 440px;
        max-width: 100%;
    }

    .chat-container {
        height: calc(100vh - 180px);
    }

    .landing-card {
        padding: 32px 24px;
    }
}

@media (min-width: 992px) {
    .mobile-nav {
        display: none;
    }
}


.text-cyan {
    color: var(--cyan) !important;
}

.text-green {
    color: var(--green) !important;
}

.text-red {
    color: var(--red) !important;
}

.text-amber {
    color: var(--amber) !important;
}

.text-purple {
    color: var(--purple) !important;
}

.text-pink {
    color: var(--pink) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-bright {
    color: var(--text-bright) !important;
}

.bg-cyan {
    background: rgba(0, 229, 255, 0.1) !important;
}

.bg-green {
    background: rgba(118, 255, 3, 0.1) !important;
}

.bg-red {
    background: rgba(255, 82, 82, 0.1) !important;
}

.animate-fadeInUp {
    animation: fadeInUp 0.5s ease;
}

.animate-fadeInDown {
    animation: fadeInDown 0.5s ease;
}

.animate-scaleIn {
    animation: scaleIn 0.3s ease;
}

.animate-bounceIn {
    animation: bounceIn 0.5s ease;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-heartBeat {
    animation: heartBeat 3s infinite;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}

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

::selection {
    background: rgba(0, 229, 255, 0.3);
    color: var(--text-bright);
}

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
    border-radius: 4px;
}


[data-theme="dark"] {
    [data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
    [data-theme="dark"] h4, [data-theme="dark"] h5,
    [data-theme="dark"] .swipe-card-name,
    [data-theme="dark"] .landing-title,
    [data-theme="dark"] .login-title,
    [data-theme="dark"] .register-title,
    [data-theme="dark"] .stat-value,
    [data-theme="dark"] .sidebar-brand,
    [data-theme="dark"] .profile-name,
    [data-theme="dark"] .chat-header h5,
    [data-theme="dark"] .modal-content h2 {
        color: #ffffff !important;
    }
    [data-theme="dark"] p, [data-theme="dark"] span, [data-theme="dark"] div,
    [data-theme="dark"] td, [data-theme="dark"] th, [data-theme="dark"] li,
    [data-theme="dark"] a, [data-theme="dark"] label, [data-theme="dark"] small,
    [data-theme="dark"] .form-label, [data-theme="dark"] .card-title,
    [data-theme="dark"] .stat-label, [data-theme="dark"] .swipe-card-bio,
    [data-theme="dark"] .landing-subtitle, [data-theme="dark"] .login-subtitle,
    [data-theme="dark"] .register-subtitle, [data-theme="dark"] .glass-card p,
    [data-theme="dark"] .glass-card span, [data-theme="dark"] .glass-card div,
    [data-theme="dark"] .table td, [data-theme="dark"] .table th,
    [data-theme="dark"] .chat-bubble-other, [data-theme="dark"] .chat-bubble-other p,
    [data-theme="dark"] .modal-content p, [data-theme="dark"] .footer-text,
    [data-theme="dark"] .remaining-count, [data-theme="dark"] .header-count,
    [data-theme="dark"] .no-incoming-likes p, [data-theme="dark"] .interest-tag,
    [data-theme="dark"] .badge, [data-theme="dark"] .toast-notification,
    [data-theme="dark"] .validation-summary, [data-theme="dark"] .text-danger,
    [data-theme="dark"] .remember-label span, [data-theme="dark"] .divider-text,
    [data-theme="dark"] ::placeholder {
        color: #c0c0e0 !important;
    }
    [data-theme="dark"] .text-muted, [data-theme="dark"] .stat-label,
    [data-theme="dark"] .table th, [data-theme="dark"] .footer-text,
    [data-theme="dark"] .form-label, [data-theme="dark"] ::placeholder,
    [data-theme="dark"] .chat-header span, [data-theme="dark"] .message-wrapper .read-status {
        color: #8080b0 !important;
    }
    [data-theme="dark"] .text-cyan, [data-theme="dark"] .text-cyan * {
        color: #00e5ff !important;
    }

    [data-theme="dark"] .text-green, [data-theme="dark"] .text-green * {
        color: #76ff03 !important;
    }

    [data-theme="dark"] .text-red, [data-theme="dark"] .text-red * {
        color: #ff5252 !important;
    }

    [data-theme="dark"] .text-amber, [data-theme="dark"] .text-amber * {
        color: #ffd740 !important;
    }

    [data-theme="dark"] .text-purple, [data-theme="dark"] .text-purple * {
        color: #7c4dff !important;
    }

    [data-theme="dark"] .text-pink, [data-theme="dark"] .text-pink * {
        color: #ff4081 !important;
    }

    [data-theme="dark"] .text-bright, [data-theme="dark"] .text-bright * {
        color: #ffffff !important;
    }
    [data-theme="dark"] .btn-primary, [data-theme="dark"] .btn-primary * {
        color: #0a0a14 !important;
    }

    [data-theme="dark"] .btn-success, [data-theme="dark"] .btn-success * {
        color: #0a0a14 !important;
    }

    [data-theme="dark"] .btn-outline, [data-theme="dark"] .btn-outline * {
        color: #00e5ff !important;
    }

    [data-theme="dark"] .btn-danger, [data-theme="dark"] .btn-danger * {
        color: #ffffff !important;
    }
    [data-theme="dark"] .badge-cyan {
        color: #00e5ff !important;
    }

    [data-theme="dark"] .badge-green {
        color: #76ff03 !important;
    }

    [data-theme="dark"] .badge-amber {
        color: #ffd740 !important;
    }

    [data-theme="dark"] .badge-red {
        color: #ff5252 !important;
    }
    [data-theme="dark"] .interest-tag {
        color: #b0a0f0 !important;
    }

        [data-theme="dark"] .interest-tag.selected {
            color: #0a0a14 !important;
            background: #00e5ff !important;
        }
    [data-theme="dark"] .table td {
        color: #c0c0e0 !important;
    }

    [data-theme="dark"] .table th {
        color: #8080b0 !important;
    }

    [data-theme="dark"] .table td:first-child {
        color: #ffffff !important;
    }
    [data-theme="dark"] input, [data-theme="dark"] select, [data-theme="dark"] textarea {
        color: #ffffff !important;
    }
    [data-theme="dark"] a {
        color: #00e5ff !important;
    }

        [data-theme="dark"] a:hover {
            color: #00b8d4 !important;
        }
    [data-theme="dark"] .chat-bubble-mine, [data-theme="dark"] .chat-bubble-mine p {
        color: #0a0a14 !important;
    }
    [data-theme="dark"] .modal-content p {
        color: #c0c0e0 !important;
    }
    [data-theme="dark"] .stat-card .stat-value {
        color: #ffffff !important;
    }

    [data-theme="dark"] .stat-card .stat-label {
        color: #8080b0 !important;
    }

    [data-theme="dark"] .bg-amber + .stat-label {
        color: #c0c0e0 !important;
    }
    [data-theme="dark"] .toast-notification.success {
        color: #76ff03 !important;
    }

    [data-theme="dark"] .toast-notification.error {
        color: #ff5252 !important;
    }
}


[data-theme="light"] {
    --bg-primary: #f5f5f5;
    --bg-secondary: #eeeeee;
    --bg-card: #ffffff;
    --bg-sidebar: #fafafa;
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --text-bright: #000000;
    --cyan: #0891b2;
    --cyan-dark: #0e7490;
    --cyan-glow: rgba(8, 145, 178, 0.2);
    --green: #15803d;
    --green-dark: #166534;
    --green-glow: rgba(21, 128, 61, 0.2);
    --red: #dc2626;
    --red-glow: rgba(220, 38, 38, 0.2);
    --amber: #b45309;
    --amber-glow: rgba(180, 83, 9, 0.2);
    --purple: #6d28d9;
    --purple-glow: rgba(109, 40, 217, 0.2);
    --pink: #db2777;
    --pink-glow: rgba(219, 39, 119, 0.2);
    --gradient-hero: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f2f5 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --gradient-cyan: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    --gradient-green: linear-gradient(135deg, #15803d 0%, #166534 100%);
    --gradient-purple: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    --gradient-pink: linear-gradient(135deg, #db2777 0%, #be185d 100%);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.12);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

    [data-theme="light"] body {
        background: var(--bg-primary);
        color: var(--text-primary);
    }

    [data-theme="light"] h1, [data-theme="light"] h2, [data-theme="light"] h3,
    [data-theme="light"] h4, [data-theme="light"] h5, [data-theme="light"] h6,
    [data-theme="light"] .swipe-card-name, [data-theme="light"] .landing-title,
    [data-theme="light"] .login-title, [data-theme="light"] .register-title,
    [data-theme="light"] .stat-value, [data-theme="light"] .sidebar-brand,
    [data-theme="light"] .profile-name, [data-theme="light"] .chat-header h5,
    [data-theme="light"] .modal-content h2, [data-theme="light"] .table td:first-child {
        color: var(--text-bright) !important;
    }

    [data-theme="light"] p, [data-theme="light"] span, [data-theme="light"] div,
    [data-theme="light"] td, [data-theme="light"] li, [data-theme="light"] label,
    [data-theme="light"] .form-label, [data-theme="light"] .swipe-card-bio,
    [data-theme="light"] .landing-subtitle, [data-theme="light"] .login-subtitle,
    [data-theme="light"] .register-subtitle, [data-theme="light"] .glass-card p,
    [data-theme="light"] .glass-card span, [data-theme="light"] .modal-content p,
    [data-theme="light"] .footer-text, [data-theme="light"] .remaining-count,
    [data-theme="light"] .header-count, [data-theme="light"] .no-incoming-likes p,
    [data-theme="light"] .interest-tag, [data-theme="light"] .badge,
    [data-theme="light"] .toast-notification, [data-theme="light"] .validation-summary,
    [data-theme="light"] .remember-label span, [data-theme="light"] .divider-text {
        color: var(--text-secondary) !important;
    }

    [data-theme="light"] .text-muted, [data-theme="light"] .stat-label,
    [data-theme="light"] .table th, [data-theme="light"] .footer-text,
    [data-theme="light"] .form-label, [data-theme="light"] ::placeholder,
    [data-theme="light"] .chat-header span, [data-theme="light"] .message-wrapper .read-status,
    [data-theme="light"] .no-incoming-likes p, [data-theme="light"] .table td {
        color: var(--text-muted) !important;
    }

    [data-theme="light"] .sidebar {
        background: var(--bg-sidebar);
        border-right-color: #e0e0e0;
    }

    [data-theme="light"] .sidebar-brand, [data-theme="light"] .sidebar-brand span {
        color: var(--text-bright) !important;
    }

    [data-theme="light"] .sidebar-item {
        color: var(--text-secondary);
    }

        [data-theme="light"] .sidebar-item:hover {
            color: var(--text-bright);
            background: rgba(0,0,0,0.04);
        }

        [data-theme="light"] .sidebar-item.active {
            background: rgba(8, 145, 178, 0.1);
            color: var(--cyan);
        }

            [data-theme="light"] .sidebar-item.active::after {
                background: var(--cyan);
            }

    [data-theme="light"] .user-name {
        color: var(--text-bright) !important;
    }

    [data-theme="light"] .btn-logout {
        color: var(--text-muted);
    }

    [data-theme="light"] .card, [data-theme="light"] .glass-card,
    [data-theme="light"] .table-container, [data-theme="light"] .stat-card {
        background: #ffffff !important;
        border-color: #e0e0e0 !important;
        color: var(--text-primary) !important;
    }

        [data-theme="light"] .card:hover, [data-theme="light"] .glass-card:hover,
        [data-theme="light"] .stat-card:hover {
            box-shadow: 0 4px 24px rgba(0,0,0,0.1);
            border-color: #cccccc !important;
        }

    [data-theme="light"] .table thead {
        background: #f9fafb;
    }

    [data-theme="light"] .table th {
        color: var(--text-muted) !important;
        background: #f9fafb;
        border-bottom-color: #e5e7eb;
    }

    [data-theme="light"] .table td {
        color: var(--text-secondary) !important;
        border-bottom-color: #f3f4f6;
    }

    [data-theme="light"] .table tbody tr:nth-child(even) {
        background: #fafafa;
    }

    [data-theme="light"] .table tbody tr:hover {
        background: rgba(8, 145, 178, 0.04);
    }

        [data-theme="light"] .table tbody tr:hover td {
            color: var(--text-primary) !important;
        }

    [data-theme="light"] .table td:first-child {
        color: var(--text-bright) !important;
        font-weight: 600;
    }

    
    [data-theme="light"] .form-control, [data-theme="light"] .form-input,
    [data-theme="light"] .form-select, [data-theme="light"] .form-textarea,
    [data-theme="light"] .chat-input {
        background: #f9fafb;
        border-color: #d1d5db;
        color: var(--text-primary) !important;
    }

        [data-theme="light"] .form-control:focus, [data-theme="light"] .form-input:focus,
        [data-theme="light"] .form-select:focus, [data-theme="light"] .form-textarea:focus,
        [data-theme="light"] .chat-input:focus {
            border-color: var(--cyan);
            box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
        }

    [data-theme="light"] ::placeholder {
        color: #9ca3af !important;
    }

    [data-theme="light"] .chat-header, [data-theme="light"] .chat-input-container {
        background: #ffffff !important;
        border-color: #e0e0e0 !important;
    }

    [data-theme="light"] .chat-bubble-mine {
        background: var(--gradient-cyan);
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(8, 145, 178, 0.2);
    }

        [data-theme="light"] .chat-bubble-mine p {
            color: #ffffff !important;
        }

    [data-theme="light"] .chat-bubble-other {
        background: #f3f4f6;
        color: var(--text-primary) !important;
        border: 1px solid #e5e7eb;
    }

        [data-theme="light"] .chat-bubble-other p {
            color: var(--text-primary) !important;
        }

    [data-theme="light"] .swipe-card {
        background: #ffffff !important;
        border-color: #e0e0e0 !important;
        box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    }

    [data-theme="light"] .swipe-card-info {
        background: linear-gradient(to top, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 50%, transparent 100%) !important;
    }

    [data-theme="light"] .swipe-card-name {
        color: var(--text-bright) !important;
        text-shadow: none;
    }

    [data-theme="light"] .swipe-card-bio {
        color: var(--text-secondary) !important;
    }

    [data-theme="light"] .swipe-btn {
        background: #ffffff;
        border-color: #e0e0e0;
    }

    [data-theme="light"] .swipe-btn-dislike {
        color: var(--red);
        border-color: rgba(220, 38, 38, 0.3);
    }

    [data-theme="light"] .swipe-btn-like {
        color: var(--green);
        border-color: rgba(21, 128, 61, 0.3);
    }

    [data-theme="light"] .swipe-indicator.like {
        border-color: var(--green) !important;
        color: var(--green) !important;
        background: rgba(21, 128, 61, 0.1) !important;
    }

    [data-theme="light"] .swipe-indicator.nope {
        border-color: var(--red) !important;
        color: var(--red) !important;
        background: rgba(220, 38, 38, 0.1) !important;
    }

    [data-theme="light"] .landing-page::before {
        background: radial-gradient(circle, rgba(8, 145, 178, 0.06) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(109, 40, 217, 0.06) 0%, transparent 50%);
    }

    [data-theme="light"] .landing-card, [data-theme="light"] .login-card,
    [data-theme="light"] .register-card {
        background: #ffffff !important;
        border-color: #e0e0e0 !important;
        box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    }

    [data-theme="light"] .landing-title, [data-theme="light"] .login-title,
    [data-theme="light"] .register-title {
        background: linear-gradient(135deg, var(--cyan), var(--purple));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    [data-theme="light"] .landing-subtitle, [data-theme="light"] .login-subtitle,
    [data-theme="light"] .register-subtitle {
        color: var(--text-secondary) !important;
    }

    [data-theme="light"] .landing-logo {
        color: var(--cyan);
        filter: drop-shadow(0 0 20px rgba(8, 145, 178, 0.2));
    }

    [data-theme="light"] .btn-login, [data-theme="light"] .btn-submit {
        color: #ffffff !important;
    }

    [data-theme="light"] .register-link {
        color: var(--cyan);
        border-color: var(--cyan);
    }

    [data-theme="light"] .forgot-link {
        color: var(--cyan);
    }

    [data-theme="light"] .divider-line {
        background: #e0e0e0;
    }

    [data-theme="light"] .divider-text {
        color: var(--text-muted) !important;
    }

    [data-theme="light"] .modal-overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    [data-theme="light"] .modal-content {
        background: #ffffff !important;
        border-color: #e0e0e0 !important;
        box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    }

    [data-theme="light"] .toast-notification.success {
        background: rgba(21, 128, 61, 0.1);
        border-color: rgba(21, 128, 61, 0.25);
        color: #166534 !important;
    }

    [data-theme="light"] .toast-notification.error {
        background: rgba(220, 38, 38, 0.1);
        border-color: rgba(220, 38, 38, 0.25);
        color: #991b1b !important;
    }

    [data-theme="light"] .mobile-nav {
        background: rgba(255, 255, 255, 0.95);
        border-top-color: #e0e0e0;
    }

    [data-theme="light"] .mobile-nav-item {
        color: var(--text-muted);
    }

        [data-theme="light"] .mobile-nav-item.active {
            color: var(--cyan);
        }

            [data-theme="light"] .mobile-nav-item.active::after {
                background: var(--cyan);
            }

    [data-theme="light"] .btn-primary {
        background: var(--gradient-cyan);
        color: #ffffff !important;
        box-shadow: 0 4px 15px rgba(8, 145, 178, 0.25);
    }

    [data-theme="light"] .btn-success {
        background: var(--gradient-green);
        color: #ffffff !important;
    }

    [data-theme="light"] .btn-danger {
        background: var(--red);
        color: #ffffff !important;
    }

    [data-theme="light"] .btn-outline {
        background: transparent;
        border-color: var(--cyan);
        color: var(--cyan) !important;
    }

        [data-theme="light"] .btn-outline:hover {
            background: rgba(8, 145, 178, 0.08);
        }

    [data-theme="light"] .badge-cyan {
        background: rgba(8, 145, 178, 0.12);
        color: #0e7490 !important;
    }

    [data-theme="light"] .badge-green {
        background: rgba(21, 128, 61, 0.12);
        color: #166534 !important;
    }

    [data-theme="light"] .badge-amber {
        background: rgba(180, 83, 9, 0.12);
        color: #92400e !important;
    }

    [data-theme="light"] .badge-red {
        background: rgba(220, 38, 38, 0.12);
        color: #991b1b !important;
    }

    [data-theme="light"] .interest-tag {
        background: rgba(109, 40, 217, 0.08);
        color: #5b21b6 !important;
        border-color: rgba(109, 40, 217, 0.2);
    }

        [data-theme="light"] .interest-tag.selected {
            background: var(--cyan);
            color: #ffffff !important;
            border-color: var(--cyan);
        }

    [data-theme="light"] .filter-tag.active {
        background: var(--cyan);
        color: #ffffff !important;
    }

    [data-theme="light"] .filter-tag:not(.active) {
        background: rgba(109, 40, 217, 0.08);
        color: #5b21b6 !important;
        border-color: rgba(109, 40, 217, 0.2);
    }

    [data-theme="light"] a {
        color: var(--cyan);
    }

        [data-theme="light"] a:hover {
            color: var(--cyan-dark);
        }

    [data-theme="light"] .text-danger {
        color: #dc2626 !important;
    }

    [data-theme="light"] .validation-summary {
        color: #dc2626 !important;
        background: rgba(220, 38, 38, 0.06);
        border-color: rgba(220, 38, 38, 0.15);
    }

    [data-theme="light"] ::selection {
        background: rgba(8, 145, 178, 0.2);
        color: var(--text-primary);
    }

    [data-theme="light"] ::-webkit-scrollbar-thumb {
        background: #d1d5db;
    }

        [data-theme="light"] ::-webkit-scrollbar-thumb:hover {
            background: var(--cyan);
        }

    [data-theme="light"] .role-select {
        background: #f9fafb;
        border-color: #d1d5db;
        color: var(--text-primary);
    }

        [data-theme="light"] .role-select option {
            background: #ffffff;
            color: var(--text-primary);
        }

    [data-theme="light"] .user-avatar {
        background: rgba(8, 145, 178, 0.1);
    }

        [data-theme="light"] .user-avatar .bi {
            color: var(--cyan);
        }

    [data-theme="light"] .incoming-likes-section h3,
    [data-theme="light"] .incoming-likes-section #likes-count {
        color: #b45309 !important;
    }

    [data-theme="light"] .spinner {
        border-color: #ffffff;
        border-top-color: transparent;
    }

    [data-theme="light"] .btn-login .spinner,
    [data-theme="light"] .btn-submit .spinner {
        border-color: #ffffff;
        border-top-color: transparent;
    }


    [data-theme="light"] .filter-tag:not(.active),
    [data-theme="light"] .interest-tag:not(.selected) {
        border: 1px solid #111827 !important;
        color: #111827 !important;
        background: rgba(124, 77, 255, 0.08) !important;
    }

    [data-theme="light"] .role-select {
        color: #111827 !important;
        background: #f3f4f6 !important;
        border-color: #9ca3af !important;
    }

        [data-theme="light"] .role-select option {
            color: #111827 !important;
            background: #ffffff !important;
        }

    [data-theme="light"] .text-muted,
    [data-theme="light"] .stat-label,
    [data-theme="light"] .table th,
    [data-theme="light"] .form-label,
    [data-theme="light"] .footer-text,
    [data-theme="light"] .chat-header span,
    [data-theme="light"] .message-wrapper .read-status,
    [data-theme="light"] .no-incoming-likes p,
    [data-theme="light"] .remaining-count,
    [data-theme="light"] .header-count,
    [data-theme="light"] .divider-text,
    [data-theme="light"] .badge,
    [data-theme="light"] .toast-notification {
        color: #374151 !important;
    }

    [data-theme="light"] .glass-card p,
    [data-theme="light"] .glass-card span,
    [data-theme="light"] .modal-content p,
    [data-theme="light"] .landing-subtitle,
    [data-theme="light"] .login-subtitle,
    [data-theme="light"] .register-subtitle,
    [data-theme="light"] .swipe-card-bio,
    [data-theme="light"] .no-incoming-likes p,
    [data-theme="light"] .table td {
        color: #374151 !important;
    }

    [data-theme="light"] ::placeholder {
        color: #6b7280 !important;
    }

    [data-theme="light"] .toast-notification.success {
        color: #166534 !important;
    }

    [data-theme="light"] .toast-notification.error {
        color: #991b1b !important;
    }