/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
    /* Premium Color Palette - More Vibrant & Sophisticated */
    --primary: #FF1744;
    --primary-light: #FF5252;
    --primary-gradient: linear-gradient(135deg, #FF1744 0%, #FF8A80 100%);
    --secondary: #FF6D00;
    --secondary-gradient: linear-gradient(135deg, #FF6D00 0%, #FFD180 100%);
    --accent: #FFD600;
    --mix-gradient: linear-gradient(135deg, #FF1744 0%, #FF6D00 100%);

    --text-main: #1A1A1B;
    --text-muted: #5F6368;
    --text-light: #9AA0A6;

    /* Surfaces */
    --surface: #ffffff;
    --background: #F8F9FA;

    /* Enhanced Glassmorphism Variables */
    --glass: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-blur: 24px;

    /* Decoration */
    --shadow-soft: 0 12px 30px -10px rgba(0, 0, 0, 0.06);
    --shadow-premium: 0 20px 40px -12px rgba(255, 23, 68, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 14px;

    /* Semantic Colors */
    --success: #00C853;
    --danger: #D50000;
    --warning: #FFAB00;
    --dark: #202124;
}

.desktop-hide {
    display: none;
}

*,
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
button,
input,
select,
textarea,
label,
strong,
b,
i,
em {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

/* Force Font on Placeholders */
::placeholder,
::-webkit-input-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    opacity: 1;
    /* Ensure visibility */
}

/* Force Tailwind Font Classes */
.font-display,
.font-sans,
.font-body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Restore Icon Font */
/* Restore Icon Font - allow utilities to control size/weight */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-style: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    /* Do NOT set font-size or font-weight here, let utilities handle it */
}

body {
    background: #ffffff;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-attachment: fixed;
    transition: background 0.5s ease;

    /* DEBUG START: Verify CSS is Loading */
    /* border: 5px solid red !important; */
    /* DEBUG END */
}

/* Specific Fix for Bold Icons */
.material-symbols-outlined.font-black {
    font-variation-settings: 'wght' 700, 'FILL' 1 !important;
    font-weight: 700 !important;
    /* Cap at 700 since 900 might not exist */
}

/* Page Specific Backgrounds to eliminate Header/Footer Gaps */
body.page-login {
    background-color: #ffffff;
    background-image:
        radial-gradient(at 0% 0%, hsla(348, 100%, 90%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(348, 100%, 85%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(348, 100%, 80%, 1) 0, transparent 50%),
        radial-gradient(at 0% 100%, hsla(348, 100%, 92%, 1) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(348, 100%, 88%, 1) 0, transparent 50%);
}

body.page-register {
    background-color: #f8f7f5;
    background-image:
        radial-gradient(at 0% 0%, hsla(26, 100%, 92%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(35, 100%, 85%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(15, 100%, 90%, 1) 0, transparent 50%),
        radial-gradient(at 0% 100%, hsla(45, 100%, 93%, 1) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(20, 100%, 90%, 1) 0, transparent 50%);
}

body.page-index {
    background-color: #fff5f7;
    /* Light Pinkish */
}

body.page-dashboard,
body.page-search,
body.page-profile,
body.page-timeline,
body.page-couple,
body.page-requests,
body.page-verify,
body.page-blocked_users,
body.page-my_reports,
body.page-event_register,
body.page-event_details,
body.page-kyc,
body.page-certificate,
body.page-login,
body.page-register {
    background-color: #fff5f7;
    /* Light Pinkish */
}

/* Navbar Fixed */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
}

.app-container {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    padding-top: 80px;
    /* Offset for fixed header */
}

.main-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100%;
}

/* --- Admin Layout Structure --- */
.admin-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.main-content {
    flex: 1;
    min-width: 0;
    /* Prevent flex overflow */
}

.right-sidebar {
    width: 340px;
    flex-shrink: 0;
    position: sticky;
    top: 2rem;
}

/* @media (max-width: 992px) {
    .admin-layout {
        flex-direction: column;
        padding: 0;
    }

    .right-sidebar {
        width: 100%;
        position: static;
    }
} */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
}

/* --- Premium Components --- */

/* Glass Card - Enhanced for Premium Feel */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow:
        var(--shadow-soft),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow:
        0 30px 60px -12px rgba(0, 0, 0, 0.1),
        0 18px 36px -18px rgba(255, 23, 68, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
}

.glass-card:hover::before {
    left: 100%;
}

/* Dedicated Citadel Card for KYC - Compact & Balanced */
.citadel-card {
    max-width: 460px !important;
    width: 100% !important;
    padding: 2.5rem !important;
    border-radius: 2.5rem !important;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .citadel-card {
        padding: 1.5rem !important;
        max-width: 95% !important;
    }
}

/* Page Specific Overrides */
.page-kyc,
.page-timeline {
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 50%, #fff7ed 100%) !important;
    background-attachment: fixed !important;
}

/* Premium Button - Vibrant & Dynamic */
.btn-premium {
    background: var(--mix-gradient);
    color: white;
    border: none;
    padding: 1.1rem 2.4rem;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px -5px rgba(255, 23, 68, 0.35);
    position: relative;
    z-index: 1;
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF6D00 0%, #FF1744 100%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-premium:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 20px 35px -5px rgba(255, 23, 68, 0.45);
}

.btn-premium:hover::after {
    opacity: 1;
}

.btn-premium:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: #fff;
    color: var(--text-main);
    border: 1.5px solid rgba(0, 0, 0, 0.05);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--background);
    border-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

/* Form Inputs - Sleek & Modern */
.input-premium {
    width: 100%;
    padding: 1.15rem 1.6rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.02),
        inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.input-premium:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary-light);
    box-shadow:
        0 10px 25px -10px rgba(255, 23, 68, 0.15),
        0 0 0 4px rgba(255, 23, 68, 0.08);
    transform: translateY(-1px);
}

.input-premium::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

/* Premium Select Styling */
select.input-premium {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FF2E63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.2rem;
    padding-right: 2rem;
    cursor: pointer;
}

/* Navbar */
/* Navbar - High Polished Glass Bar */
.navbar {
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100%;
    height: 80px;
    z-index: 1000;
    border-radius: 0;
    border: none;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 70px;
}

.nav-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    background: var(--mix-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.hamburger {
    display: none;
    position: relative;
    width: 28px;
    height: 18px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2000;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Layout Wrapper */
/* Layout Wrapper - Unified */
.app-container {
    display: flex;
    flex-direction: column;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    background: transparent;
    width: 100%;
    position: relative;
}

/* Sidebar Styling - Modern Minimalist */
.sidebar {
    width: 280px;
    height: calc(100vh - 70px);
    position: sticky;
    top: 70px;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.4);
    border-right: 1.5px solid rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.container {
    flex: 1;
    width: 100%;
    min-width: 0;
    /* Prevent flex children from overflowing */
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

/* Sidebar Section Header */
.sidebar p[style*="text-transform: uppercase"] {
    font-size: 0.7rem !important;
    color: var(--text-light) !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-weight: 800 !important;
    margin: 2rem 0 1rem 0.5rem !important;
    padding: 0.5rem 0.8rem !important;
    background: rgba(0, 0, 0, 0.02) !important;
    border-radius: 10px !important;
    border-left: 3px solid var(--primary) !important;
}

/* Sidebar Link - Premium Style */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0.95rem 1.3rem;
    border-radius: 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 6px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 4px 4px 0;
}

.sidebar-link img {
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sidebar-link:hover {
    background: rgba(255, 23, 68, 0.06);
    color: var(--primary);
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(255, 23, 68, 0.08);
}

.sidebar-link:hover::before {
    transform: scaleY(1);
}

.sidebar-link:hover img {
    opacity: 1;
    transform: scale(1.12);
}

.sidebar-link.active {
    background: linear-gradient(90deg, rgba(255, 23, 68, 0.12) 0%, rgba(255, 23, 68, 0.04) 100%);
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 23, 68, 0.1);
}

.sidebar-link.active::before {
    transform: scaleY(1);
}

.sidebar-link.active img {
    opacity: 1;
}

/* Feed Column */
.main-content {
    flex: 0 1 800px;
    padding: 1.5rem;
    margin: 0;
}

/* Right Sidebar */
.right-sidebar {
    flex: 0 1 340px;
    height: auto;
    position: relative;
    top: 0;
    padding: 1.5rem;
    overflow-y: visible;
}

/* @media (max-width: 1100px) {
    .right-sidebar {
        display: none;
    }
} */

/* @media (max-width: 800px) {
    .sidebar {
        display: none;
    }

    .main-content {
        max-width: 100%;
    }
} */

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    padding: 6rem 1rem;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Responsive Grid - Clustered on Left */
.grid-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    border: none !important;
    outline: none !important;
}

/* Trust Badge */
.trust-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.verified,
.active {
    background: rgba(0, 184, 148, 0.15);
    color: #00b894;
    border: 1px solid rgba(0, 184, 148, 0.3);
}

.pending {
    background: rgba(253, 203, 110, 0.15);
    color: #e17055;
    border: 1px solid rgba(253, 203, 110, 0.3);
}

.none {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Toast */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Premium Toast Notification */
.toast {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    min-width: 320px;
    transform-origin: center right;
    margin-top: 10px;
}

@keyframes slideInBounce {
    0% {
        transform: translateX(120%) scale(0.8);
        opacity: 0;
    }

    60% {
        transform: translateX(-10px) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translateX(0) scale(1);
    }
}

.toast.fade-out {
    animation: slideOut 0.4s forwards cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideOut {
    to {
        transform: translateX(120%) scale(0.8);
        opacity: 0;
    }
}

/* Success State (Gradient Border) */
.toast.success {
    background: linear-gradient(to right, rgba(0, 184, 148, 0.1), rgba(255, 255, 255, 0.9) 30%);
    border-left: 5px solid #00b894;
}

/* Error State */
.toast.error {
    background: linear-gradient(to right, rgba(214, 48, 49, 0.1), rgba(255, 255, 255, 0.9) 30%);
    border-left: 5px solid #d63031;
}

.toast-message {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.3px;
}

/* --- FOOTER REDESIGN --- */
.footer-modern {
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 6rem 1.5rem 3rem;
    margin-top: 4rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #2d3436;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #636e72;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    font-size: 0.8rem;
    color: #b2bec3;
}

/* Footer */
.footer {
    flex-shrink: 0;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}

/* --- PREMIUM RESPONSIVE REDESIGN --- */
@media (max-width: 1024px) {
    .admin-layout {
        flex-direction: column;
        padding: 1rem;
    }

    .right-sidebar {
        width: 100%;
        position: static;
        top: 0;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* Navbar Adjustments */
    .navbar {
        height: 70px !important;
        /* Keep it consistent */
        padding: 0 1.5rem !important;
    }

    .nav-logo {
        font-size: 1.4rem !important;
    }

    .nav-logo img {
        width: 32px !important;
        height: 32px !important;
    }

    /* Search Bar - Hidden on small phones, visible on tablets */
    .search-container {
        display: none !important;
    }

    .nav-links {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }

    /* Responsive Grids */
    .grid-dashboard {
        grid-template-columns: 1fr;
    }

    /* Auth Page Adjustments */
    main.flex.items-center.justify-center {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-logo span {
        display: none;
        /* Hide 'MuteLovers' text on very small screens, keep icon */
    }

    .glass-card {
        padding: 1.5rem;
    }

    .btn-premium {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
}


/* Mobile Navigation Protocol - Strictly Scoped to Mobile/Tablet Viewports */
@media (max-width: 1024px) {
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85vw;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1050;
        display: flex;
        flex-direction: column;
        padding: 80px 0 0 0;
        gap: 0;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.08);
        border-left: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-menu::before {
        display: none;
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu a {
        display: flex;
    }
}

/* Force-Purge Mobile Menu on Desktop Viewports */
@media (min-width: 1025px) {
    .mobile-menu {
        display: none !important;
    }
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav-links .btn-premium {
    flex: 1;
    max-width: 150px;
    font-size: 0.85rem;
    padding: 0.6rem;
}

/* Hero: Bold & Central */
.hero {
    padding: 4rem 1rem 3rem 1rem;
}

.hero h1 {
    font-size: 2.8rem;
    /* Reduced from 4rem */
}

/* Fix Search Bar on Mobile - SCOPED TO NAVBAR */
.navbar .search-container {
    display: none !important;
    /* Hide search input on mobile to prevent overflow */
}


/* Fix Gender Selection on Register Page */
.flex-row-mobile {
    flex-direction: row !important;
    gap: 8px !important;
}

/* Fix Global Overflow */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Ensure glass cards don't overflow */
.glass-card {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden;
    padding: 1.5rem !important;
    /* Reduce padding on mobile */
}

.mobile-p-1 {
    padding: 1.5rem !important;
}

/* Fix Breakup Page Grid */
div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
}



/* Valentine Card Optimization */
.valentine-card {
    padding: 1.25rem !important;
    margin: 0 0 1.5rem 0 !important;
    gap: 1rem !important;
}

.valentine-card h4 {
    font-size: 1.1rem !important;
}

.valentine-card p {
    font-size: 0.85rem !important;
}

/* Allow buttons to sit side-by-side if they fit */
.valentine-card .btn-premium {
    width: auto !important;
    flex: 1;
    padding: 0.7rem 1rem !important;
    font-size: 0.8rem !important;
}


.hero p {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Glass Cards: Refined for Mobile */
.glass-card {
    padding: 1.5rem !important;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
}

/* Global Animations */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    display: inline-block;
    animation: spin 1s linear infinite;
}

/* .mobile-center should only center high-level layout elements, not force-center everything */
/* Moved to media query */

/* Inputs & Buttons: Full Width but Elegant */
.input-premium {
    height: 60px;
    font-size: 0.9rem !important;
    margin-bottom: 0.8rem !important;
    text-align: left !important;
    /* Ensure input text is left aligned */
}

textarea.input-premium {
    height: auto !important;
    min-height: 100px;
    padding: 1rem !important;
    resize: none !important;
}

/* Default Desktop Button Styles */
.btn-premium,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    /* Default for desktop */
}

/* Mobile Overrides for Buttons */
@media (max-width: 768px) {

    .btn-premium,
    .btn-secondary {
        width: 100% !important;
        padding: 0.8rem 1.5rem !important;
        font-size: 0.95rem !important;
        margin-left: 0 !important;
        height: auto !important;
    }

    .input-premium {
        width: 100% !important;
    }
}

/* Responsive Spacing Utilities */
.section-padding {
    padding: 3rem 1rem !important;
}

/* Typography Overrides */
h1 {
    font-size: 2.2rem !important;
}

h2 {
    font-size: 1.8rem !important;
}

h3 {
    font-size: 1.4rem !important;
}

/* Mobile Utilities - SCOPED TO MOBILE ONLY */
/* @media (max-width: 768px) {
    .mobile-hide {
        display: none !important;
    }

    .desktop-hide {
        display: block !important;
    }

    .flex-mobile-stack {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .flex-row-mobile {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    .mobile-p-1 {
        padding: 1.5rem !important;
        gap: 1.5rem !important;
    }

    .mobile-center {
        text-align: center !important;
    }
} */

/* Typography Overrides */
h1 {
    font-size: 2.2rem !important;
}

h2 {
    font-size: 1.8rem !important;
}

h3 {
    font-size: 1.4rem !important;
}

/* Avatar adjustments */
.profile-img-lg {
    width: 100px !important;
    height: 100px !important;
}



/* @media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .glass-card {
        padding: 1.5rem 1.2rem;
    }
} */


/* --- Premium Glass Modal --- */
#global-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.2);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.5rem;
}

#global-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.premium-modal-box {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    padding: 3.5rem 2.5rem;
    border-radius: 40px;
    width: 100%;
    max-width: 480px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 40px 100px -20px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.4),
        inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    transform: scale(0.9) translateY(30px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

#global-modal.active .premium-modal-box {
    transform: scale(1) translateY(0);
}

#modal-icon-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.4);
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    position: relative;
}

#modal-icon-container::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: inherit;
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
}

.modal-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.85rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.modal-message {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 3rem;
    line-height: 1.75;
    font-weight: 500;
    padding: 0 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-actions button {
    height: 60px;
    padding: 0 2.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    flex: 1;
    min-width: 160px;
}

/* --- KYC / Admin Modal Styling --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-actions button {
    flex: 1;
    justify-content: center;
}

/* Trust Badges */
.trust-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.trust-badge.verified {
    background: rgba(0, 184, 148, 0.15);
    color: #00b894;
    border: 1px solid rgba(0, 184, 148, 0.2);
}

.trust-badge.pending {
    background: rgba(253, 203, 110, 0.15);
    color: #e17055;
    border: 1px solid rgba(253, 203, 110, 0.3);
}

.trust-badge.rejected {
    background: rgba(214, 48, 49, 0.1);
    color: #d63031;
    border: 1px solid rgba(214, 48, 49, 0.2);
}

.trust-badge.none {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- Flatpickr Custom Theme --- */
.flatpickr-calendar {
    border: none !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
    background: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    overflow: hidden !important;
    padding: 10px !important;
}



.flatpickr-months {
    background: transparent !important;
    margin-bottom: 10px !important;
}

.flatpickr-months .flatpickr-month {
    color: var(--text-main) !important;
    fill: var(--text-main) !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 800 !important;
    font-size: 1.1rem !important;
}

.flatpickr-weekdays {
    margin-bottom: 10px !important;
}

.flatpickr-weekday {
    color: var(--text-muted) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
}

.flatpickr-day {
    border-radius: 12px !important;
    border: 1px solid transparent !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    transition: all 0.2s ease !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day:focus,
.flatpickr-day:hover {
    background: var(--primary-gradient) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(255, 23, 68, 0.3) !important;
}

.flatpickr-day.today {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.flatpickr-day.today:hover {
    color: #fff !important;
}

/* --- RECENT REFINEMENTS --- */
.hide-mobile {
    display: none !important;
}

/* @media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .stack-mobile {
        grid-template-columns: 1fr !important;
    }

    .mobile-p-1 {
        padding: 1.5rem !important;
}


    /* @media (max-width: 600px) {
    body:not(.page-index) .valentine-card {
        padding: 2.5rem 2rem !important;
        margin-bottom: 2rem !important;
    }

    .v-card-action {
        justify-content: center !important;
        width: 100% !important;
        margin-top: 15px !important;
    }
} */

/* --- FINAL BUTTON LAYOUT FIX --- */
/* @media (max-width: 600px) {
    .v-card-action {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
    }

    .v-card-action .btn-premium {
        width: 100% !important;
        margin: 0 !important;
        padding: 1rem !important;
        font-size: 0.85rem !important;
    }

    .valentine-card {
        padding: 2.2rem 1.8rem !important;
    }
} */

/* --- STATS STRIP MOBILE REFINEMENTS --- */
/* @media (max-width: 600px) {
    .v-stats-action {
        width: 100% !important;
        justify-content: center !important;
        margin-top: 10px !important;
    }

    .v-stats-action .btn-premium {
        width: auto !important;
        padding: 0.7rem 2rem !important;
    }
} */

/* --- MOBILE: OPTIMIZE PROFILE CARD (BLUE BOX) --- */
/* EXTREME sizes to fill empty spaces with viewport width=1200 scaling */
/* Stats Labels - MUCH BIGGER */
div[style*="font-size: 0.6rem"][style*="text-transform: uppercase"] {
    font-size: 1.1rem !important;
}

/* Stats Icons - EXTREMELY LARGE */
div[style*="width: 44px"][style*="height: 44px"][style*="border-radius: 14px"] {
    width: 80px !important;
    height: 80px !important;
}

div[style*="width: 44px"][style*="height: 44px"] i {
    width: 42px !important;
    height: 42px !important;
}

/* Buttons - MUCH BIGGER */
.v-stats-action .btn-premium {
    font-size: 1.5rem !important;
    padding: 1.5rem 3rem !important;
}

/* --- GLOBAL WEBSITE MOBILE OPTIMIZATION --- */
/* Apply larger sizes and minimal spacing to ALL components */
/* --- PREMIUM REDESIGN: FLOATING NAVBAR & 4-COLUMN FOOTER --- */
.navbar {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 0 2rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: fixed !important;
    top: 1.25rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 92% !important;
    max-width: 1200px !important;
    height: 72px !important;
    z-index: 1000 !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.navbar.scrolled {
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.footer-modern {
    background: #fff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 6rem 1.5rem 3rem !important;
    margin-top: 0 !important;
    position: relative !important;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    gap: 3rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
}

.footer-col h4 {
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    color: #2d3436 !important;
    margin-bottom: 1.5rem !important;
}

.footer-col ul {
    list-style: none !important;
    padding: 0 !important;
}

.footer-col ul li {
    margin-bottom: 0.75rem !important;
}

.footer-col ul li a {
    color: #636e72 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: 0.3s !important;
}

.footer-col ul li a:hover {
    color: var(--primary) !important;
    padding-left: 5px !important;
}

.footer-bottom {
    max-width: 1200px !important;
    margin: 4rem auto 0 !important;
    padding-top: 2rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    text-align: center !important;
    font-size: 0.8rem !important;
    color: #b2bec3 !important;
}

/* User Request: Increase .text-sm line-height to 3.25rem - REVERTED due to design breakage */
/* .text-sm {
    line-height: 3.25rem !important;
} */