/* ===================================
   VOLBOO - UNIFIED STYLES
   All styles for landing page and dashboard
   =================================== */

/* ===================================
   ROOT VARIABLES & GLOBAL STYLES
   =================================== */

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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Re-balanced Emerald & Slate palette */
    --background: #f8fafc;
    /* Slate 50 */
    --foreground: #0f172a;
    /* Slate 950 */

    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    /* Slate 100 */

    --text-primary: #0f172a;
    /* Slate 950 */
    --text-secondary: #64748b;
    /* Slate 500 */
    --text-tertiary: #94a3b8;
    /* Slate 400 */

    --accent: #10b981;
    /* Emerald 500 */
    --accent-foreground: #ffffff;
    --accent-hover: #059669;
    --accent-light: #ecfdf5;

    --card-bg: #ffffff;
    --card-foreground: #0f172a;

    --border: #e2e8f0;
    /* Slate 200 */
    --input: #e2e8f0;
    --ring: #10b981;

    --radius: 0.5rem;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --sidebar-bg: #ffffff;
    --input-bg: #ffffff;
    --input-border: #e2e8f0;
    --input-focus: #10b981;

    /* Original utility colors kept for logic support */
    --bg-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --grid-color: rgba(15, 23, 42, 0.02);
}

[data-theme="dark"] {
    /* Dark Mode Slate-Emerald palette */
    --background: #0f172a;
    --foreground: #f8fafc;

    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;

    --accent: #10b981;
    --accent-foreground: #ffffff;
    --accent-hover: #34d399;
    --accent-light: #064e3b;

    --card-bg: #1e293b;
    --card-foreground: #f1f5f9;

    --border: #334155;
    --input: #334155;
    --ring: #10b981;

    --sidebar-bg: #0f172a;
    --input-bg: #0f172a;
    --input-border: #334155;
    --input-focus: #10b981;

    --bg-gradient: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --grid-color: rgba(248, 250, 252, 0.02);
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: background 0.3s ease, color 0.3s ease;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Progress Bar */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--bg-gradient);
    z-index: 1001;
    transition: width 0.25s ease;
}

/* ===================================
   LANDING PAGE STYLES
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Dividers */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
    margin: 4rem 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--bg-primary);
}

/* Enhanced Hover Effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Navigation */
nav {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

[data-theme="dark"] nav {
    background: rgba(17, 24, 39, 0.85);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    letter-spacing: -0.025em;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links .btn-nav {
    padding: 0.5rem 1rem;
    background: var(--bg-gradient);
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-links .btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Buttons */
.btn-primary {
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--accent-foreground);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-secondary {
    padding: 0.625rem 1.5rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
    text-decoration: none;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--text-secondary);
    font-size: 1rem;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 6rem 0 5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    animation: fadeInUp 0.6s ease;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.hero h1 .highlight {
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: brightness(1);
    }

    to {
        filter: brightness(1.2);
    }
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.6s ease 0.2s both;
    position: relative;
    z-index: 1;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 44rem;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.about-content {
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--bg-primary);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 5rem 5rem;
    pointer-events: none;
    opacity: 0.5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--accent-light);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.625rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Why Choose Section */
.why-choose {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.why-item {
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.why-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.why-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.why-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.why-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--accent-light);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: var(--accent);
    transform: scale(1.05);
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: color 0.3s ease;
}

.benefit-card:hover .benefit-icon i {
    color: white;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.625rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Case Studies Section */
.case-studies {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-study {
    background: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--border);
    padding: 2rem;
    transition: all 0.3s ease;
}

.case-study:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.case-study-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.case-study-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.case-study-stats {
    display: flex;
    gap: 2rem;
}

.case-study-stats .stat {
    text-align: center;
}

.case-study-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.case-study-stats .stat-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.mission-content {
    max-width: 60rem;
    margin: 0 auto;
    text-align: center;
}

.mission p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 2rem;
}

.value {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.value:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.value i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.value h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.value p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Fintech Innovation Section */
.fintech-innovation {
    padding: 5rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.fintech-innovation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.innovation-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.innovation-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.innovation-item:hover::before {
    transform: scaleX(1);
}

.innovation-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.innovation-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: white;
    transition: all 0.3s ease;
}

.innovation-item:hover .innovation-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.innovation-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.innovation-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Partners Section */
.partners {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.partner-logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--accent);
}

.partner-logo i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.partner-logo span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--bg-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Certifications Section */
.certifications {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.certification {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.certification:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.certification i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.certification h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.certification p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Trust Badges Section */
.trust-badges {
    padding: 3rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 2rem;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-primary);
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--accent);
    color: var(--accent);
}

.trust-badge i {
    font-size: 1.25rem;
    color: var(--accent);
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: var(--bg-gradient);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta .btn-primary {
    background: white;
    color: var(--accent);
    border: 2px solid white;
}

.cta .btn-primary:hover {
    background: transparent;
    color: white;
}

.cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta .btn-secondary:hover {
    background: white;
    color: var(--accent);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 4rem 4rem;
    pointer-events: none;
    opacity: 0.5;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid var(--accent);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.testimonial-author span {
    color: var(--text-tertiary);
    font-size: 0.8125rem;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.faq-container {
    max-width: 52rem;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.01em;
}

.faq-question i {
    color: var(--accent);
    transition: transform 0.3s ease;
    font-size: 0.875rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Contact & Newsletter Section */
.contact-newsletter {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 3rem;
    margin-top: 2.5rem;
}

.contact-info h2,
.newsletter h2 {
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-item i {
    font-size: 1.125rem;
    color: var(--accent);
    margin-top: 0.125rem;
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.newsletter p {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.newsletter-form button {
    white-space: nowrap;
}

/* Footer */
footer {
    padding: 3.5rem 0 2rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1.125rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.875rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.875rem;
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 0.625rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
    text-decoration: none;
}

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.8125rem;
}

/* ===================================
   AUTHENTICATION PAGES STYLES
   =================================== */

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-branding {
    background: var(--bg-gradient);
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-branding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.branding-content {
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.branding-content .logo {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 3rem;
}

.branding-content .logo-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-size: 1.5rem;
}

.branding-content h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.branding-content>p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.feature-item i {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.auth-form-container {
    background: var(--bg-primary);
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.theme-toggle-container {
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.theme-toggle-container .theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 1rem;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 450px;
}

.auth-header {
    margin-bottom: 2.5rem;
}

.auth-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.auth-header p {
    font-size: 0.98rem;
    color: var(--text-secondary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

.input-wrapper input {
    width: 100%;
    padding: 0.85rem 2.5rem 0.85rem 2.75rem;
    border: 1.5px solid var(--input-border);
    border-radius: 100px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.input-wrapper input::placeholder {
    color: var(--text-tertiary);
}

.toggle-password {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2.5rem;
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 10;
}

.toggle-password:hover {
    color: var(--accent);
}

.toggle-password i {
    font-size: 0.95rem;
}

.password-strength {
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.password-strength.hidden {
    opacity: 0;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
}

.password-strength.weak .strength-bar {
    background: #ef4444;
}

.password-strength.medium .strength-bar {
    background: #f59e0b;
}

.password-strength.strong .strength-bar {
    background: #10b981;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--accent);
}

.checkbox-label a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.forgot-link {
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: var(--accent-hover);
}

.btn-submit {
    padding: 0.9rem 1.5rem;
    background: var(--bg-gradient);
    color: white;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-submit i {
    font-size: 0.9rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    text-align: center;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    padding: 0 1rem;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.social-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.social-btn {
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.social-btn:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.social-btn i {
    font-size: 1rem;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
}

.auth-footer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.alert-message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    animation: slideIn 0.3s ease;
}

.alert-message i {
    font-size: 1.5rem;
    margin-top: 0.125rem;
}

.alert-message strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.alert-message p {
    font-size: 0.9rem;
    margin: 0;
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ===================================
   DASHBOARD STYLES
   =================================== */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar.collapsed {
    width: 80px;
}

.sidebar-header {
    padding: 2rem 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.3s;
}

.sidebar.collapsed .sidebar-header {
    padding: 2rem 0.75rem 1rem;
    justify-content: center;
}

.sidebar.collapsed .logo-text,
.sidebar.collapsed .user-details,
.sidebar.collapsed .nav-item span {
    display: none;
}

@media (min-width: 1025px) {
    .desktop-toggle {
        width: 32px;
        height: 32px;
        border: 1px solid var(--border);
        background: var(--bg-primary);
        color: var(--text-secondary);
        cursor: pointer;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }
}

@media (max-width: 1024px) {
    .desktop-toggle {
        display: none !important;
    }
}

.sidebar.collapsed .desktop-toggle {
    display: none;
    /* Hide toggle on header when collapsed, or we can use another one */
}

/* Let's add a button that's always visible or toggleable */
.sidebar.collapsed .sidebar-header {
    flex-direction: column;
    gap: 15px;
}

.sidebar.collapsed .desktop-toggle {
    display: flex;
}

.sidebar-toggle {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s;
    display: none;
    align-items: center;
    justify-content: center;
}

.sidebar-toggle:hover,
.desktop-toggle:hover {
    background: var(--bg-tertiary);
    color: var(--accent);
}

.user-info {
    padding: 0.75rem 0.75rem;
    margin: 1rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    overflow: hidden;
}

.sidebar.collapsed .user-info {
    margin: 1rem 0.5rem;
    padding: 0.75rem 0;
    justify-content: center;
    border: none;
}

.user-info:hover {
    background: var(--bg-secondary);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.user-details h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0px;
    white-space: nowrap;
}

.user-details p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.sidebar-nav {
    flex: 1;
    padding: 0.5rem 0.75rem;
    overflow-y: auto;
    transition: padding 0.3s;
}

.sidebar.collapsed .sidebar-nav {
    padding: 0.5rem 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 2px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
    border-radius: var(--radius);
    white-space: nowrap;
}

.sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 0.75rem 0;
}

.nav-item:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.nav-item.active {
    color: var(--text-primary);
    background: var(--bg-secondary);
    font-weight: 600;
}

.nav-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    opacity: 0.7;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 0.5rem 0.75rem;
    border-top: 1px solid var(--border);
    transition: padding 0.3s;
}

.sidebar.collapsed .sidebar-footer {
    padding: 0.5rem 0.5rem;
}

.main-content {
    margin-left: 280px;
    min-height: 100vh;
    background: var(--bg-primary);
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-content.collapsed {
    margin-left: 80px;
}

.top-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-left h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.business-selector {
    position: relative;
}

.business-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 0.75rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    min-width: 200px;
    font-size: 0.85rem;
}

.business-btn:hover {
    background: var(--bg-secondary);
}

.business-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.business-info {
    flex: 1;
    text-align: left;
}

.business-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.business-btn>i {
    color: var(--text-tertiary);
    font-size: 0.7rem;
}

.business-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 240px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2000;
}

.business-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section {
    padding: 8px 0;
}

.dropdown-header {
    padding: 12px 16px;
}

.dropdown-header h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.business-list {
    max-height: 300px;
    overflow-y: auto;
}

.business-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.business-item:hover {
    background: var(--bg-tertiary);
}

.business-item.active {
    background: var(--accent-light);
}

.business-item-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.business-item.active .business-item-icon {
    background: var(--accent-light);
    color: var(--accent);
}

.business-item-info {
    flex: 1;
}

.business-item-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.business-item-info p {
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

.business-item>i {
    color: var(--accent);
    font-size: 1rem;
    opacity: 0;
}

.business-item.active>i {
    opacity: 1;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.dropdown-actions {
    padding: 8px;
}

.dropdown-action-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
    text-align: left;
}

.dropdown-action-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.dropdown-action-btn i {
    color: var(--accent);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mode-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 50px;
}

.mode-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border);
    transition: 0.3s;
    border-radius: 22px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked+.slider {
    background: var(--accent);
}

input:checked+.slider:before {
    transform: translateX(18px);
}

.icon-btn {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
}

.icon-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.notification-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.user-menu-btn:hover {
    background: var(--bg-secondary);
}

.user-avatar-sm {
    width: 28px;
    height: 28px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 0.8rem;
}

.dashboard-container {
    padding: 1.5rem;
}

/* ===================================
   UPDATED STAT CARDS - Modern Design
   =================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-height: auto;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 40%;
    background: var(--accent);
    border-radius: 0 4px 4px 0;
    opacity: 0.8;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.stat-card:hover::before {
    opacity: 1;
}

/* Icon positioning - top right */
.stat-icon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    background: var(--accent-light) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--accent) !important;
    opacity: 0.6;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    opacity: 1;
}

/* Stat card content layout */
.stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    min-height: 120px;
}

.stat-content h3 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding-right: 0;
    text-transform: uppercase;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-top: auto;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
}

.stat-value h3 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Transaction count section - NO BORDERS */
.stat-bottom {
    margin-top: 1rem;
    padding-top: 0;
    border-top: none;
}

/* Transaction count text styling */
.stat-bottom h3 {
    font-size: 0.8125rem;
    font-weight: 600;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

/* Color coding for transaction counts */
.stat-card:nth-child(2) .stat-bottom h3 {
    color: #3b82f6;
}

.stat-card:nth-child(3) .stat-bottom h3 {
    color: #f59e0b;
}

.stat-card:nth-child(4) .stat-bottom h3 {
    color: #8b5cf6;
}

/* Withdrawable balance section - NO BORDERS */
.withdrawable-section {
    margin-top: 1.5rem;
    padding-top: 0;
    border-top: none;
}

.withdrawable-section>h3 {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.withdrawable-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
}

.withdrawable-info {
    flex: 1;
}

.withdrawable-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.update-info {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.update-info i {
    font-size: 0.65rem;
}

.btn-view-balance {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.btn-view-balance:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    text-decoration: none;
}

.btn-view-balance i {
    font-size: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-value {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1.5rem 1.25rem;
        min-height: 160px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
        top: 1.25rem;
        right: 1.25rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .withdrawable-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-view-balance {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .stat-card {
        padding: 1.25rem 1rem;
        min-height: 140px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        top: 1rem;
        right: 1rem;
    }

    .stat-bottom h3 {
        font-size: 0.75rem;
    }
}

.content-grid {
    display: grid;
    gap: 1.25rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }
}

.recent-transactions-list {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.recent-transactions-card {
    display: flex;
    flex-direction: column;
}

.recent-transactions-card .card-body {
    flex: 1;
    overflow-y: auto;
}

.recent-txn-item {
    padding: 0.85rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
    cursor: pointer;
}

.recent-txn-item:last-child {
    border-bottom: none;
}

.recent-txn-item:hover {
    background: var(--bg-secondary);
}

.txn-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.txn-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.2s;
}

.txn-icon.collection {
    background: #eff6ff;
    color: #2563eb;
    border-color: #dbeafe;
}

.txn-icon.withdrawal {
    background: #fff7ed;
    color: #ea580c;
    border-color: #ffedd5;
}

.txn-icon.transfer {
    background: #f5f3ff;
    color: #7c3aed;
    border-color: #ede9fe;
}

body.dark-mode .txn-icon.collection {
    background: rgba(37, 99, 235, 0.1);
    color: #60a5fa;
    border-color: rgba(37, 99, 235, 0.2);
}

body.dark-mode .txn-icon.withdrawal {
    background: rgba(234, 88, 12, 0.1);
    color: #fb923c;
    border-color: rgba(234, 88, 12, 0.2);
}

body.dark-mode .txn-icon.transfer {
    background: rgba(124, 58, 237, 0.1);
    color: #a78bfa;
    border-color: rgba(124, 58, 237, 0.2);
}

.txn-info h4 {
    font-size: 0.85rem;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.txn-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.txn-right {
    text-align: right;
}

.txn-amount {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.txn-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 50px;
    border: 1px solid transparent;
}

.txn-status.success {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.txn-status.pending {
    background: #fffbeb;
    color: #92400e;
    border-color: #fef3c7;
}

.txn-status.failed {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

[data-theme="dark"] .txn-status.success {
    background: rgba(22, 101, 52, 0.2);
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.2);
}

[data-theme="dark"] .txn-status.pending {
    background: rgba(146, 64, 14, 0.2);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.2);
}

[data-theme="dark"] .txn-status.failed {
    background: rgba(153, 27, 27, 0.2);
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.2);
}


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

.card-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.filter-select {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent);
}

.card-body {
    padding: 1.5rem;
}

@media (max-width: 480px) {
    .card-body {
        padding: 1rem;
    }
}

.chart-container {
    height: 400px;
}

@media (max-width: 768px) {
    .chart-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .chart-container {
        height: 250px;
    }
}

.table-container {
    overflow-x: auto;
}

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

.data-table thead {
    background: var(--bg-primary);
}

.data-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table td {
    padding: 14px 16px;
    font-size: 0.88rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
}

.product-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-info i {
    width: 34px;
    height: 34px;
    background: var(--accent-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.amount {
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
}

.status-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.status-badge.failed {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.status-badge.active {
    padding: 0.375rem 0.875rem;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-tertiary);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* ===================================
   PROFILE SETTINGS STYLES
   =================================== */

.profile-settings-container {
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.page-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.profile-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-card-mini {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin: 0 auto 1rem;
}

.profile-card-mini h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.profile-card-mini p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.btn-upload-avatar {
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-upload-avatar:hover {
    background: var(--accent-light);
}

.profile-menu {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.profile-menu-item:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.profile-menu-item.active {
    background: var(--accent-light);
    color: var(--accent);
    border-left-color: var(--accent);
}

.profile-menu-item i {
    font-size: 1.125rem;
    width: 20px;
}

.profile-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    min-height: 600px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.profile-form {
    max-width: 700px;
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-select {
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}

.input-hint {
    font-size: 0.8rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.input-hint i {
    font-size: 0.875rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.security-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

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

.security-item:last-child {
    border-bottom: none;
}

.security-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.security-item-info>i {
    font-size: 1.5rem;
    color: var(--accent);
    width: 40px;
    text-align: center;
}

.security-item-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.security-item-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-action:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border);
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked+.toggle-slider {
    background: var(--accent);
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(22px);
}

.danger-zone {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.danger-zone h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 1rem;
}

.danger-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.danger-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.danger-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.btn-danger {
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: #ef4444;
    border: 1px solid #ef4444;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-danger:hover {
    background: #ef4444;
    color: white;
}

.notification-group {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.notification-group h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

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

.notification-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.notification-info label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.notification-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s;
}

.activity-item:hover {
    border-color: var(--accent);
}

.activity-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.activity-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
}

.activity-icon.info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

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

.activity-details {
    flex: 1;
}

.activity-details h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.activity-details p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

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

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

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--bg-primary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.password-wrapper {
    position: relative;
}

.password-wrapper .form-input {
    padding-right: 3rem;
}

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--card-bg);
    color: var(--card-foreground);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
    font-weight: 500;
    font-size: 0.9rem;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ===================================
   SETTINGS PAGE STYLES
   =================================== */

.settings-container {
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb i {
    color: var(--text-tertiary);
    font-size: 0.7rem;
}

.breadcrumb span {
    color: #06b6d4;
    font-weight: 600;
}

.settings-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: #06b6d4;
    border-bottom-color: #06b6d4;
}

.tab-content-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.settings-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.settings-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.settings-nav-item i:first-child {
    font-size: 1rem;
    width: 20px;
}

.settings-nav-item span {
    flex: 1;
}

.settings-nav-item i:last-child {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.settings-nav-item:hover {
    background: var(--bg-primary);
    border-color: var(--border);
}

.settings-nav-item.active {
    background: #06b6d4;
    color: white;
    border-color: #06b6d4;
}

.settings-nav-item.active i {
    color: white;
}

.settings-content {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.settings-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.label-link {
    color: #06b6d4;
    cursor: pointer;
}

.logo-upload-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.logo-upload-section label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.logo-preview {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.btn-reupload {
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: #06b6d4;
    border: 1px solid #06b6d4;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-reupload:hover {
    background: rgba(6, 182, 212, 0.1);
}

.btn-cancel {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-cancel:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-save {
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.preference-section {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.preference-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.preference-header i {
    font-size: 1.25rem;
    color: #06b6d4;
}

.preference-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.preference-item {
    margin-bottom: 1.25rem;
}

.preference-item:last-child {
    margin-bottom: 0;
}

.preference-item label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.preference-value {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.preference-toggle {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.toggle-info {
    flex: 1;
}

.toggle-info label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.toggle-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.email-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.email-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.remove-tag {
    width: 18px;
    height: 18px;
    border: none;
    background: transparent;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-tag:hover {
    color: #ef4444;
}

.contract-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.contract-icon {
    width: 60px;
    height: 60px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06b6d4;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.contract-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contract-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.contract-col label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.contract-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.payment-badge {
    padding: 0.375rem 0.75rem;
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-edit {
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: #06b6d4;
    border: 1px solid #06b6d4;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    align-self: flex-start;
}

.btn-edit:hover {
    background: rgba(6, 182, 212, 0.1);
}

.bank-account-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.bank-icon {
    width: 60px;
    height: 60px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06b6d4;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.bank-details {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bank-col label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.bank-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.team-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-manage-roles {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: #06b6d4;
    border: 1px solid #06b6d4;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-manage-roles:hover {
    background: rgba(6, 182, 212, 0.1);
}

.btn-invite {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.btn-invite:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.team-count {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.team-table {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.team-search {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    position: relative;
    display: flex;
    align-items: center;
}

.team-search i {
    position: absolute;
    left: 2rem;
    color: var(--text-tertiary);
}

.team-search input {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2rem;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.team-search input:focus {
    outline: none;
}

.team-search input::placeholder {
    color: var(--text-tertiary);
}

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

.table thead {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table td {
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.member-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.member-avatar {
    width: 36px;
    height: 36px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06b6d4;
    font-size: 0.95rem;
}

.role-badge {
    padding: 0.375rem 0.875rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.btn-text {
    background: transparent;
    border: none;
    color: #06b6d4;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s;
    margin-right: 1rem;
}

.btn-text:hover {
    color: #0891b2;
}

.btn-text.remove {
    color: #ef4444;
    margin-right: 0;
}

.btn-text.remove:hover {
    color: #dc2626;
}

.table-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid var(--border);
}

.page-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
    border-color: #06b6d4;
    color: #06b6d4;
}

.page-btn.active {
    background: #06b6d4;
    color: white;
    border-color: #06b6d4;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-change-password:hover {
    border-color: #06b6d4;
    background: rgba(6, 182, 212, 0.05);
}

.btn-change-password i:first-child {
    color: var(--text-tertiary);
}

.btn-change-password span {
    flex: 1;
    text-align: left;
    margin-left: 0.75rem;
}

.btn-change-password i:last-child {
    color: var(--text-tertiary);
    font-size: 0.75rem;
}

/* ===================================
   BALANCES PAGE STYLES
   =================================== */

.balances-container {
    padding: 1.5rem;
}

.btn-withdraw {
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.btn-withdraw:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.btn-withdraw i {
    font-size: 0.9rem;
}

.balance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.balance-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}

.balance-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.balance-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.balance-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.balance-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.detail-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.info-btn {
    width: 16px;
    height: 16px;
    border: none;
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.info-btn:hover {
    color: var(--accent-hover);
    transform: scale(1.1);
}

.info-btn i {
    font-size: 0.875rem;
}

.fund-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

.fund-card h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.fund-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.bank-accounts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bank-account-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.2s;
}

.bank-account-item:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.bank-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bank-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.account-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.account-number span {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.copy-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--accent);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: scale(1.05);
}

.copy-btn i {
    font-size: 0.95rem;
}

.fund-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--accent-light);
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.fund-note i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.fund-note span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===================================
   TRANSACTIONS PAGE STYLES
   =================================== */

.transactions-container {
    padding: 1.5rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.stat-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s;
}

.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.stat-percentage {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 600;
}

.stat-trend {
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stat-trend.positive {
    color: var(--accent);
}

.stat-trend.negative {
    color: #ef4444;
}

.stat-trend i {
    font-size: 0.75rem;
}

.transactions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 1rem;
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.search-box input::placeholder {
    color: var(--text-tertiary);
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn,
.action-btn {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-btn:hover,
.action-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.action-btn.primary {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.action-btn.primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.filter-btn i,
.action-btn i {
    font-size: 0.9rem;
}

.filter-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.filter-panel.active {
    max-height: 500px;
    opacity: 1;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.filter-input,
.filter-select {
    padding: 0.65rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.filter-input::placeholder {
    color: var(--text-tertiary);
}

.filter-select {
    cursor: pointer;
}

.filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-clear,
.btn-apply {
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-clear {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.btn-clear:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-apply {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: white;
}

.btn-apply:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.transactions-table-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.transactions-table thead {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
}

.transactions-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.transactions-table th i {
    margin-left: 0.25rem;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.transactions-table th i:hover {
    opacity: 1;
    color: var(--accent);
}

.transactions-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.transactions-table tbody tr:hover {
    background: var(--bg-primary);
}

.transactions-table tbody tr:last-child {
    border-bottom: none;
}

.transactions-table td {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.transactions-table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--accent);
}

.ref-code {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.customer-avatar {
    width: 36px;
    height: 36px;
    background: var(--accent-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.customer-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.customer-email {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.type-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.type-badge.payment {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.type-badge.transfer {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.type-badge.refund {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.type-badge.withdrawal {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.table-action-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-tertiary);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.25rem;
}

.table-action-btn:hover {
    background: var(--bg-primary);
    color: var(--accent);
}

/* ===================================
   SETTLEMENTS PAGE STYLES
   =================================== */

.settlements-container {
    padding: 1.5rem;
}

.btn-export {
    padding: 0.75rem 1.5rem;
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.btn-export:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: #06b6d4;
    transform: translateY(-1px);
}

.btn-export i {
    font-size: 0.95rem;
}

.btn-filter {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.btn-filter:hover {
    border-color: #06b6d4;
    color: #06b6d4;
    background: rgba(6, 182, 212, 0.05);
}

.btn-filter i {
    font-size: 0.95rem;
}

.settlements-table-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.settlements-table thead {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
}

.settlements-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.settlements-table th:last-child {
    width: 80px;
}

.settlements-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.settlements-table tbody tr:hover {
    background: var(--bg-primary);
}

.settlements-table tbody tr:last-child {
    border-bottom: none;
}

.settlements-table td {
    padding: 1.125rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.reference {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.date {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}

.action-icon-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-tertiary);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-icon-btn:hover {
    background: var(--bg-primary);
    color: #06b6d4;
}

.action-icon-btn i {
    font-size: 0.9rem;
}

/* ===================================
   RESERVED ACCOUNTS PAGE STYLES
   =================================== */

.reserved-accounts-container {
    padding: 1.5rem;
}

.btn-download {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.btn-download:hover {
    border-color: var(--text-primary);
    background: var(--bg-tertiary);
}

.btn-create {
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.btn-create:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.btn-filter-accounts {
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: #06b6d4;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-filter-accounts:hover {
    background: rgba(6, 182, 212, 0.1);
}

.accounts-table-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.accounts-table thead {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
}

.accounts-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.accounts-table th:last-child {
    width: 60px;
}

.accounts-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.accounts-table tbody tr:hover {
    background: var(--bg-primary);
}

.accounts-table tbody tr:last-child {
    border-bottom: none;
}

.accounts-table td {
    padding: 1.125rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.account-name {
    font-weight: 600;
    color: var(--text-primary);
}

.email {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.action {
    text-align: right;
}

.action-arrow-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #f59e0b;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-arrow-btn:hover {
    background: rgba(245, 158, 11, 0.1);
    transform: translateX(2px);
}

.action-arrow-btn i {
    font-size: 0.95rem;
}

/* ===================================
   PAGINATION STYLES
   =================================== */

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.pagination-info {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pagination-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.pagination-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-dots {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    padding: 0 0.25rem;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Activate Business Specific Styles */
.activate-business-container {
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.activation-banner {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    padding: 0.875rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.activation-banner-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
}

.activation-banner-content i {
    font-size: 1.125rem;
}

.activation-content {
    display: flex;
    min-height: calc(100vh - 160px);
}

/* Left Sidebar Navigation */
.activation-sidebar {
    width: 320px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    padding: 2rem 0;
    overflow-y: auto;
}

.activation-header {
    padding: 0 2rem 2rem;
    border-bottom: 1px solid var(--border);
}

.activation-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.activation-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.progress-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-percentage {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
}

.progress-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.activation-nav {
    padding: 1.5rem 0;
}

.activation-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border-left: 3px solid transparent;
    background: transparent;
    width: 100%;
    border: none;
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 500;
}

.activation-nav-item:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.activation-nav-item.active {
    background: var(--bg-primary);
    color: var(--accent);
    border-left-color: var(--accent);
}

.activation-nav-item i {
    font-size: 0.875rem;
}

/* Right Content Area */
.activation-form-container {
    flex: 1;
    padding: 3rem 4rem;
    overflow-y: auto;
    background: var(--bg-secondary);
}

.form-section {
    display: none;
    animation: fadeIn 0.4s ease;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.form-section.active {
    display: block;
}

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

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

.section-intro {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--bg-secondary);
}

.section-notice {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.section-title-main {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}



.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.required-indicator {
    color: #ef4444;
    margin-left: 0.25rem;
    font-weight: 700;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1.125rem;
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 10px;
    font-size: 0.9375rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.08);
    background: var(--card-bg);
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
    border-color: var(--text-tertiary);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-tertiary);
    font-weight: 400;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-hint {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.625rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.form-hint::before {
    content: "\f05a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.125rem;
    color: var(--accent);
    font-size: 0.875rem;
}

.learn-more-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.learn-more-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Social Media Grid */
.social-media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.social-input-wrapper {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 0.5rem;
}

.social-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    z-index: 1;
    transition: all 0.2s ease;
}

.social-icon.facebook {
    color: #1877f2;
}

.social-icon.twitter {
    color: #1da1f2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-icon.linkedin {
    color: #0077b5;
}

.social-input-wrapper .form-input {
    padding-left: 3.5rem;
    background: var(--card-bg);
    border-width: 1px;
}

.social-input-wrapper:hover .social-icon {
    transform: translateY(-50%) scale(1.1);
}

.social-input-wrapper:focus-within {
    background: var(--accent-light);
}

.social-input-wrapper:focus-within .social-icon {
    transform: translateY(-50%) scale(1.15);
}

/* File Upload */
.file-upload-area {
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.file-upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-upload-area:hover {
    border-color: var(--accent);
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.12);
}

.file-upload-area:hover::before {
    opacity: 0.02;
}

.upload-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.file-upload-area:hover .upload-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}

.upload-icon i {
    font-size: 1.75rem;
    color: var(--accent);
}

.upload-check {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 26px;
    height: 26px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    border: 3px solid var(--card-bg);
}

.upload-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.upload-hint {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.view-sample-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 1rem;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    background: var(--accent-light);
    border-radius: 6px;
}

.view-sample-link:hover {
    color: var(--accent-hover);
    background: var(--accent);
    color: white;
    transform: translateX(2px);
}

.view-sample-link::after {
    content: "→";
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.view-sample-link:hover::after {
    transform: translateX(2px);
}

/* Address Grid */
.address-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.address-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--border);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1.25rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 2px solid var(--bg-secondary);
    align-items: center;
}

.btn-back {
    padding: 1rem 2.5rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.btn-back:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-tertiary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-back:active {
    transform: translateY(0);
}

.btn-save {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.btn-save::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: left 0.5s ease;
}

.btn-save:hover::before {
    left: 100%;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
}

.btn-save:active {
    transform: translateY(0);
}

.integration-notice {
    text-align: center;
    padding: 2.5rem 2rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-top: 2rem;
    border: 1px solid var(--border);
}

.integration-notice a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    padding-bottom: 2px;
}

.integration-notice a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.integration-notice a:hover::after {
    width: 100%;
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 0.5rem;
}

/* Sub-section headers */
.sub-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-secondary);
    letter-spacing: -0.02em;
}

/* Checkbox Groups */
.checkbox-group {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 2px solid var(--border);
    transition: all 0.2s ease;
}

.checkbox-group:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    min-width: 20px;
    cursor: pointer;
    accent-color: var(--accent);
    margin-top: 0.125rem;
}

.checkbox-text {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.6;
    flex: 1;
}

.checkbox-text a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.checkbox-text a:hover {
    border-bottom-color: var(--accent);
}

.checkbox-input:checked+.checkbox-text {
    color: var(--accent);
}

.checkbox-group:has(.checkbox-input:checked) {
    border-color: var(--accent);
    background: var(--accent-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .activation-sidebar {
        width: 280px;
    }

    .activation-form-container {
        padding: 2.5rem 2rem;
    }

    .form-section {
        padding: 2rem;
    }

    .social-media-grid,
    .address-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .activation-content {
        flex-direction: column;
    }

    .activation-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .activation-form-container {
        padding: 2rem 1.5rem;
    }

    .form-section {
        padding: 1.5rem;
    }

    .activation-banner {
        padding: 0.75rem 1rem;
    }

    .section-title-main {
        font-size: 1.5rem;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .btn-back,
    .btn-save {
        width: 100%;
    }

    .file-upload-area {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .activation-header {
        padding: 0 1rem 1.5rem;
    }

    .activation-nav-item {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }

    .section-title-main {
        font-size: 1.375rem;
    }

    .activation-form-container {
        padding: 1.5rem 1rem;
    }

    .form-section {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .upload-icon {
        width: 64px;
        height: 64px;
    }

    .upload-icon i {
        font-size: 1.5rem;
    }

    .checkbox-group {
        padding: 1rem;
    }

    .checkbox-input {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }

    .checkbox-text {
        font-size: 0.875rem;
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: flex;
    }

    .main-content {
        margin-left: 0;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        flex-direction: row;
        gap: 1rem;
    }

    .profile-card-mini,
    .profile-menu {
        flex: 1;
    }

    .settings-layout {
        grid-template-columns: 1fr;
    }

    .settings-sidebar {
        flex-direction: row;
        overflow-x: auto;
    }

    .settings-nav-item i:last-child {
        display: none;
    }

    .contract-row,
    .bank-details {
        grid-template-columns: 1fr;
    }

    .balance-grid {
        grid-template-columns: 1fr;
    }

    .balance-amount {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 18rem;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-branding {
        display: none;
    }

    .auth-form-container {
        padding: 2rem;
    }

    .theme-toggle-container {
        top: 1rem;
        right: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .social-auth {
        grid-template-columns: 1fr;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Mobile Header - Simple approach using natural HTML order */
    .top-header {
        padding: 0.75rem 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        min-height: 60px;
    }

    /* LEFT SIDE: Hamburger + Business Selector */
    .header-left {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .header-left h1 {
        display: none;
    }

    .business-btn {
        min-width: auto;
        padding: 8px 10px;
        border-radius: 50px;
        height: 36px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .business-info {
        display: none;
    }

    .business-dropdown {
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        width: 280px;
        max-width: calc(100vw - 2rem);
        z-index: 1001;
        box-shadow: var(--shadow-xl);
    }

    /* RIGHT SIDE: Notification + Profile */
    .header-right {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* Hide mode toggle and theme toggle on mobile */
    .mode-toggle,
    .theme-toggle {
        display: none !important;
    }

    /* Notification and profile will display in natural HTML order */
    .notification-btn,
    .user-menu-btn,
    .sidebar-toggle {
        display: flex;
        width: 36px;
        height: 36px;
    }

    .mode-label {
        font-size: 0.75rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .switch {
        width: 36px;
        height: 20px;
        flex-shrink: 0;
    }

    .slider:before {
        height: 14px;
        width: 14px;
    }

    input:checked+.slider:before {
        transform: translateX(16px);
    }

    .dashboard-container,
    .profile-settings-container,
    .settings-container,
    .balances-container,
    .transactions-container,
    .settlements-container,
    .reserved-accounts-container {
        padding: 1rem;
    }

    .stats-grid,
    .stats-row {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    .data-table,
    .transactions-table,
    .settlements-table,
    .accounts-table,
    .table {
        font-size: 0.82rem;
    }

    .data-table th,
    .data-table td,
    .transactions-table th,
    .transactions-table td,
    .settlements-table th,
    .settlements-table td,
    .accounts-table th,
    .accounts-table td,
    .table th,
    .table td {
        padding: 0.875rem 1rem;
    }

    .profile-sidebar {
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary,
    .btn-save,
    .btn-cancel {
        width: 100%;
        justify-content: center;
    }

    .danger-item {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-danger {
        width: 100%;
    }

    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .header-actions {
        width: 100%;
    }

    .btn-download,
    .btn-create,
    .btn-withdraw,
    .btn-export,
    .btn-filter {
        flex: 1;
        justify-content: center;
    }

    .filter-row {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        flex-direction: column;
    }

    .btn-clear,
    .btn-apply {
        width: 100%;
    }

    .transactions-table-container,
    .settlements-table-container,
    .accounts-table-container,
    .team-table {
        overflow-x: auto;
    }

    .transactions-table,
    .settlements-table,
    .accounts-table,
    .table {
        min-width: 800px;
    }

    .pagination {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .pagination-controls {
        flex-wrap: wrap;
        justify-content: center;
    }

    .transactions-header {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        min-width: 100%;
    }

    .team-header {
        flex-direction: column;
        align-items: stretch;
    }

    .team-actions {
        width: 100%;
    }

    .btn-manage-roles,
    .btn-invite {
        flex: 1;
        justify-content: center;
    }

    .contract-card,
    .bank-account-card {
        flex-direction: column;
    }

    .btn-edit {
        align-self: stretch;
        justify-content: center;
    }

    .balance-amount {
        font-size: 2rem;
    }

    .balance-details {
        grid-template-columns: 1fr;
    }

    .toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .customer-info {
        gap: 0.5rem;
    }

    .customer-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    /* Notification and user menu adjustments */
    .notification-btn,
    .user-menu-btn {
        width: 36px;
        height: 36px;
    }

    .user-avatar-sm {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .header-left {
        gap: 8px;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .header-content h1,
    .page-header h1 {
        font-size: 1.5rem;
    }

    .stat-box,
    .balance-card,
    .fund-card {
        padding: 1rem;
    }

    .balance-amount {
        font-size: 1.75rem;
    }

    .bank-account-item {
        padding: 1rem;
    }

    .account-number {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .copy-btn {
        align-self: flex-start;
    }

    .profile-card-mini,
    .profile-content,
    .settings-content {
        padding: 1.5rem;
    }

    .tab-content-wrapper {
        padding: 1.5rem;
    }

    .settings-tabs {
        gap: 0.25rem;
    }

    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .logo-preview {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Further adjustments for very small screens */
    .business-dropdown {
        width: 280px;
        max-width: calc(100vw - 1rem);
    }

    .header-right {
        gap: 6px;
    }

    .mode-toggle {
        padding: 4px 8px;
    }

    .mode-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {

    /* Keep the same header layout on small screens */
    .top-header {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }

    .header-left {
        gap: 0.5rem;
    }

    .header-right {
        gap: 0.5rem;
    }

    /* Slightly smaller buttons on very small screens */
    .business-btn {
        padding: 6px 8px;
        height: 32px;
    }

    .notification-btn,
    .user-menu-btn,
    .sidebar-toggle {
        width: 34px;
        height: 34px;
    }

    .user-avatar-sm {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    /* Keep mode toggle and theme toggle hidden */
    .mode-toggle,
    .theme-toggle {
        display: none !important;
    }

    /* Compact business dropdown for very small screens */
    .business-dropdown {
        width: 260px;
        max-width: calc(100vw - 1.5rem);
    }
}

/* Additional mobile-specific dropdown positioning */
@media (max-width: 768px) {
    .business-dropdown.active {
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        right: auto;
        transform: none;
        animation: slideInDown 0.2s ease;
    }
}

/* Ensure the business selector container has proper positioning */
.business-selector {
    position: relative;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.add-business-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.add-business-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.add-business-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.add-business-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.add-business-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.add-business-body {
    padding: 2rem;
}

.add-business-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
    color: var(--text-tertiary);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    line-height: 1.5;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.input-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.input-hint i {
    font-size: 0.8rem;
    color: var(--accent);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.btn-cancel {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-add-business {
    padding: 0.75rem 1.75rem;
    background: var(--bg-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-add-business:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

@media (max-width: 768px) {
    .add-business-container {
        padding: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-add-business {
        width: 100%;
        justify-content: center;
    }
}

.user-menu {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 2000;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-dropdown-avatar {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 700;
}

.user-dropdown-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.user-dropdown-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Mobile Controls in Dropdown */
.mobile-controls {
    display: none;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-control-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.mobile-control-item span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-control-item i {
    font-size: 1.05rem;
    width: 20px;
    color: var(--accent);
}

.mobile-mode-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-mode-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mobile-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.mobile-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mobile-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border);
    transition: 0.3s;
    border-radius: 20px;
}

.mobile-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.mobile-switch input:checked+.mobile-slider {
    background: var(--accent);
}

.mobile-switch input:checked+.mobile-slider:before {
    transform: translateX(16px);
}

.mobile-theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.mobile-theme-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-tertiary);
}

.notification-toggle-section {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.notification-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-toggle span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border);
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked+.toggle-slider {
    background: var(--accent);
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(22px);
}

.user-dropdown-section {
    padding: 8px 0;
}

.user-dropdown-title {
    padding: 12px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.user-dropdown-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.user-dropdown-item i {
    font-size: 1.05rem;
    width: 20px;
    color: var(--accent);
}

.user-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.logout-btn {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
}

.logout-btn i {
    font-size: 1.05rem;
    width: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .user-dropdown {
        width: 300px;
        max-width: calc(100vw - 2rem);
    }

    /* Hide desktop controls on mobile */
    .header-right .mode-toggle,
    .header-right .theme-toggle {
        display: none !important;
    }

    /* Keep notification button visible on mobile */
    .header-right .notification-btn {
        display: flex !important;
    }

    /* Show mobile controls in dropdown */
    .mobile-controls {
        display: block;
    }

    /* Hide desktop notification toggle on mobile */
    .notification-toggle-section {
        display: none;
    }
}

@media (max-width: 480px) {
    .user-dropdown {
        width: 280px;
    }

    .mobile-control-item {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .user-dropdown-header {
        padding: 1.25rem;
    }
}

/* ===================================
   OTP MODAL STYLES
   =================================== */

/* Bank Accounts Header */
.bank-accounts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.btn-add-account {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.btn-add-account:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-add-account i {
    font-size: 0.875rem;
}

/* OTP Modal Overlay */
.otp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.otp-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* OTP Modal */
.otp-modal {
    background: var(--card-bg);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.otp-modal-overlay.active .otp-modal {
    transform: scale(1);
}

.otp-modal-content {
    padding: 2rem;
}

/* OTP Header */
.otp-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.otp-header h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* OTP Amount */
.otp-amount {
    text-align: center;
    margin-bottom: 1.5rem;
}

.otp-amount h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.otp-fee {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* OTP Message */
.otp-message {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent);
}

.otp-message p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.otp-message strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* OTP Timer */
.otp-timer {
    text-align: center;
    margin-bottom: 1.5rem;
}

.otp-timer p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.otp-timer span {
    color: var(--accent);
    font-weight: 600;
}

/* OTP Input Section */
.otp-input-section {
    margin-bottom: 2rem;
}

.otp-input-section label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.otp-input-container {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.2s ease;
    outline: none;
}

.otp-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.otp-input:not(:placeholder-shown) {
    border-color: var(--accent);
}

.resend-otp {
    display: block;
    text-align: center;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.resend-otp:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* OTP Actions */
.otp-actions {
    display: flex;
    gap: 1rem;
}

.btn-cancel-otp,
.btn-confirm-otp {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel-otp {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-cancel-otp:hover {
    background: var(--bg-tertiary);
}

.btn-confirm-otp {
    background: var(--bg-gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-confirm-otp:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Responsive Design */
@media (max-width: 768px) {
    .bank-accounts-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .btn-add-account {
        width: 100%;
        justify-content: center;
    }

    .otp-modal {
        width: 95%;
        max-width: none;
        margin: 1rem;
    }

    .otp-modal-content {
        padding: 1.5rem;
    }

    .otp-amount h2 {
        font-size: 2rem;
    }

    .otp-input-container {
        gap: 0.5rem;
    }

    .otp-input {
        width: 40px;
        height: 48px;
        font-size: 1.25rem;
    }

    .otp-actions {
        flex-direction: column;
    }

    .btn-cancel-otp,
    .btn-confirm-otp {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .otp-modal-content {
        padding: 1.25rem;
    }

    .otp-amount h2 {
        font-size: 1.75rem;
    }

    .otp-input {
        width: 36px;
        height: 44px;
        font-size: 1.125rem;
    }

    .otp-input-container {
        gap: 0.375rem;
    }
}

/* Dark Mode Adjustments */
[data-theme="dark"] .otp-modal-overlay {
    background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .otp-input {
    background: var(--bg-tertiary);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

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

/* ===================================
   DASHBOARD - WITHDRAWABLE BALANCE STYLES
   =================================== */

/* Withdrawable Balance Value - Smaller Size */
.withdrawable-value {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--text-secondary) !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* Update info text - Small and subtle */
.update-info {
    font-size: 0.6rem;
    color: var(--text-tertiary);
    font-weight: 400;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.update-info i {
    font-size: 0.55rem;
}

/* Withdraw Button */
.btn-view-balance {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-view-balance:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
    text-decoration: none;
}

.btn-view-balance i {
    font-size: 0.7rem;
}