/* ========================================
   COMPACT & MINIMAL HOMEPAGE REDESIGN
   Stunning Creative Design - Scrowise Inspired
   ======================================== */

:root {
    /* MetaMask-Inspired Color Palette */
    --primary-color: #F6851B;
    --primary-dark: #1E1E1E;
    --primary-light: #FF9B4E;
    --secondary-color: #037DD6;
    --accent-color: #FF6F3C;
    --success-color: #2ECC71;
    --warning-color: #F39C12;
    --danger-color: #E74C3C;
    --background-color: #0A0A0A;
    --surface-color: #1A1A1A;
    --surface-hover: #2A2A2A;
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --text-muted: #808080;
    --border-color: #333333;
    --border-hover: #FFD4B8;
    --shadow-sm: 0 1px 2px 0 rgb(246 133 27 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(246 133 27 / 0.1), 0 2px 4px -2px rgb(246 133 27 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(246 133 27 / 0.15), 0 4px 6px -4px rgb(246 133 27 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(246 133 27 / 0.2), 0 8px 10px -6px rgb(246 133 27 / 0.15);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* MetaMask-Inspired Gradients */
    --gradient-primary: linear-gradient(135deg, #F6851B 0%, #FF9B4E 100%);
    --gradient-secondary: linear-gradient(135deg, #037DD6 0%, #0099FF 100%);
    --gradient-accent: linear-gradient(135deg, #FF6F3C 0%, #F6851B 100%);
    --gradient-hero: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    --gradient-dark: linear-gradient(135deg, #1E1E1E 0%, #2D2D2D 100%);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0A0A0A;
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    letter-spacing: -0.01em;
}

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

/* ========================================
   NAVIGATION - COMPACT
   ======================================== */

.navbar {
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 65px;
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 6px;
}

.nav-logo:hover {
    background: var(--surface-hover);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}

.logo-icon i {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: var(--surface-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* ========================================
   HERO SECTION - STATIC, CLEAN, INFORMATIVE
   ======================================== */

.hero {
    background: var(--background-color);
    padding: 1rem 0;
    min-height: auto;
    position: relative;
    border-bottom: none;
}

.hero-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Inline header inside hero */
.inline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.inline-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

/* .inline-nav unused */

.inline-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.inline-link:hover {
    color: var(--primary-color);
    background: var(--surface-hover);
}

/* Kebab menu */
.inline-actions {
    position: relative;
}

/* Profile Button */
.profile-button {
    background: transparent;
    border: 1px solid var(--light-border);
    color: var(--light-text);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 40px;
    position: relative;
    z-index: 1000;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.profile-button:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: var(--light-surface);
    transform: translateY(-1px);
    box-shadow: var(--light-shadow);
}

.profile-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.profile-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.profile-arrow {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.profile-button:hover .profile-arrow {
    transform: rotate(180deg);
}

/* Kebab button (for other pages) */
.kebab-button {
    background: transparent;
    border: 1px solid var(--light-border);
    color: var(--light-text-secondary);
    border-radius: 8px;
    padding: 0.35rem 0.5rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    height: 36px;
    justify-content: center;
    position: relative;
    z-index: 1000;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.kebab-button:hover,
.kebab-button[aria-expanded="true"] {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: var(--light-surface);
}

.kebab-button .bar-line {
    width: 18px;
    height: 2px;
    background: currentColor;
    display: block;
    border-radius: 2px;
}

.kebab-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 180px;
    background: var(--light-bg);
    border: 1px solid var(--light-border);
    border-radius: 10px;
    box-shadow: var(--light-shadow-hover);
    padding: 0.25rem;
    z-index: 1000;
}

.kebab-menu.open { display: block; }

.kebab-link {
    display: block;
    padding: 0.5rem 0.625rem;
    font-size: 0.8rem;
    color: var(--light-text-secondary);
    text-decoration: none;
    border-radius: 8px;
}

.kebab-link:hover {
    background: var(--light-surface);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .inline-header {
        flex-direction: row;
    align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        width: 100%;
    }
    .inline-actions { align-self: auto; }
    .kebab-button {
        height: 28px;
        display: inline-flex;
    align-items: center;
    justify-content: center;
    }
    
    .profile-button {
        height: 36px;
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .profile-avatar-small {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .profile-text {
        font-size: 0.8rem;
    }
    
    .profile-arrow {
        font-size: 0.7rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
}

/* Align inline header (logo) consistently on auth pages */
.login-body .inline-header {
    justify-content: flex-start;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.login-body .inline-logo {
    margin-left: 0;
}

.login-body .container > .inline-header {
    width: 100%;
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    width: fit-content;
    margin: 0 auto;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.badge-icon {
    font-size: 0.875rem;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0.5rem 0;
    font-weight: 500;
}

.hero-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0.75rem 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin: 0.75rem 0 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    justify-content: center;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    margin: 1rem 0 0.75rem;
}

.cta-primary {
    background: transparent;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-primary:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 133, 27, 0.3);
}

.cta-primary:hover::before {
    left: 0;
}

/* .hero-stats unused */

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 0.625rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.hero-crypto-support {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--surface-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.crypto-support-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-align: center;
}

.crypto-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: center;
    justify-items: center;
}

.crypto-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 80px;
    width: 100%;
    max-width: 80px;
}

.crypto-logo:hover {
    background: var(--surface-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 133, 27, 0.15);
}

.crypto-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
}

.crypto-logo span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

/* ========================================
   TRUST BADGES BAR - COMPACT
   ======================================== */

.trust-badges {
    background: transparent;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    align-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.375rem 0.5rem;
    border-radius: 12px;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.trust-badge:hover {
    background: var(--surface-hover);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* ========================================
   FEATURED IN - COMPACT LOGOS
   ======================================== */

.featured-in {
    background: var(--background-color);
    padding: 2.5rem 0;
    text-align: center;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.media-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
}

.media-logo {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    filter: grayscale(100%);
}

.media-logo:hover {
    color: var(--primary-color);
    filter: grayscale(0%);
    background: var(--surface-hover);
}

/* ========================================
   FEATURES SECTION - VISUAL & CREATIVE
   ======================================== */

.features-section {
    padding: 1rem 0;
    background: transparent;
    position: relative;
    border-bottom: none;
}

.features-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 1rem;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 133, 27, 0.08);
}

.feature-visual {
    position: relative;
    flex-shrink: 0;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(246, 133, 27, 0.3);
    position: relative;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1rem;
    color: white;
}

.feature-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 2px solid var(--background-color);
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.feature-description {
    font-size: 0.65rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.feature-stats {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: var(--background-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    width: fit-content;
}

.stat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.feature-comparison {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 1rem;
    border: none;
    margin-top: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comparison-title {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.comparison-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--background-color);
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comparison-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(246, 133, 27, 0.08);
}

.comparison-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comparison-icon i {
    font-size: 0.75rem;
    color: white;
}

.comparison-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.comparison-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* ========================================
   HOW IT WORKS - VISUAL & CREATIVE
   ======================================== */

.how-it-works {
    padding: 1rem 0;
    background: transparent;
    position: relative;
    overflow: hidden;
    border-bottom: none;
}

.how-it-works::before {
    display: none;
}

.how-it-works .container {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.section-subtitle {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.steps-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.step-card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.step-card:hover::before {
    transform: scaleX(1);
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 133, 27, 0.08);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(246, 133, 27, 0.3);
}

.step-icon i {
    font-size: 1.5rem;
    color: white;
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: var(--surface-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    border: 2px solid var(--primary-color);
}

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

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

.step-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.visual-box {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    min-width: 80px;
    justify-content: center;
}

.visual-box.secure {
    background: rgba(46, 204, 113, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

.visual-box.success {
    background: rgba(52, 152, 219, 0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.visual-arrow {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: bold;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.flow-item {
    display: flex;
        flex-direction: column;
    align-items: center;
        gap: 0.5rem;
        padding: 1rem;
    background: var(--background-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    min-width: 100px;
}

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

.flow-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(246, 133, 27, 0.3);
}

.flow-icon i {
        font-size: 1rem;
    color: white;
}

.flow-item span {
        font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flow-connector {
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    position: relative;
}

.flow-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 6px solid var(--primary-color);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* ========================================
   TRUST STATISTICS - COMPACT NUMBERS
   ======================================== */

.trust-stats {
    background: var(--surface-color);
    padding: 2.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* ========================================
   SECURITY & COMPLIANCE - COMPACT GRID
   ======================================== */

.security-section {
    background: var(--background-color);
    padding: 3rem 0;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

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

.security-item {
    text-align: center;
    padding: 1.25rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.security-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.08);
}

.security-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(3, 125, 214, 0.3);
}

.security-icon i {
    font-size: 1.25rem;
    color: white;
}

.security-title {
        font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* ========================================
   PAYMENT METHODS - COMPACT LOGOS
   ======================================== */

.payment-methods {
    background: transparent;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.payment-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.payment-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.payment-subtitle {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
}

.payment-logos-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.payment-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.2s ease;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.payment-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(246, 133, 27, 0.08);
}

.payment-item img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.payment-item span {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ========================================
   TESTIMONIALS - COMPACT CARDS
   ======================================== */

.testimonials {
    background: var(--background-color);
    padding: 2rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.testimonial-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.stars {
    color: #fbbf24;
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================================
   FAQ - COMPACT ACCORDION
   ======================================== */

.faq-section {
    background: var(--surface-color);
    padding: 3rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question {
    padding: 0.875rem 1rem;
    background: var(--surface-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

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

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    padding: 0 1rem 1rem;
    max-height: 200px;
}

.faq-answer p {
        font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}


/* ========================================
   FINAL CTA - COMPACT DARK
   ======================================== */

.final-cta {
    background: var(--gradient-dark);
    color: white;
    padding: 3rem 0;
        text-align: center;
    }
    
.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

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

.final-cta .cta-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(246, 133, 27, 0.4);
}

.final-cta .cta-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(246, 133, 27, 0.5), 0 0 40px rgba(246, 133, 27, 0.3);
    color: white;
    text-decoration: none;
}

.final-cta .cta-secondary {
    color: white;
    font-weight: 600;
        font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.final-cta .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
}

/* ========================================
   FOOTER - COMPACT
   ======================================== */

.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 2rem 0;
    border-top: 1px solid rgba(246, 133, 27, 0.2);
}

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

.footer-top {
    display: flex;
    justify-content: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    max-width: 400px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 6px;
    width: fit-content;
    margin: 0 auto;
}

.footer-logo-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.3);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.footer-logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-description {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    color: #94a3b8;
    font-size: 0.75rem;
    margin: 0;
    font-weight: 400;
}

.footer-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge i {
    color: var(--success-color);
        font-size: 0.75rem;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none;
    position: absolute;
        top: 50px; /* matches .nav-container height */
    right: 0;
        left: 0;
        background: var(--surface-color);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem;
        z-index: 1000;
}

    .nav-menu.active {
    display: flex;
    }
    
    .hamburger {
    display: flex;
        z-index: 1001; /* above drawer */
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        padding: 6px;
    border-radius: 6px;
    }
    
    .nav-container {
        padding: 0 0.75rem;
        height: 50px;
    }
    
    .nav-logo {
        gap: 0.375rem;
        padding: 0.375rem 0.5rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .logo-icon i {
    font-size: 0.875rem;
}

    .logo-text {
        line-height: 1.1;
    }
    
    .logo-main {
        font-size: 0.875rem;
        font-weight: 700;
    }
    
    .logo-sub {
        font-size: 0.55rem;
    font-weight: 500;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    /* .hero-stats unused */
    
    .crypto-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        justify-items: center;
    }
    
    .crypto-logo {
        min-height: 70px;
        max-width: 70px;
        padding: 0.625rem 0.375rem;
    }
    
    .hero-title {
    font-size: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.7rem;
    }
    
    .hero-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .feature-item {
        font-size: 0.65rem;
        gap: 0.25rem;
    }
    
    .feature-item i {
        font-size: 0.75rem;
    }
    
    /* Mobile Hero Section - Much more compact */
    .hero {
        padding: 0.5rem 0;
        min-height: auto;
    }
    
    .hero-container {
        padding: 0 0.75rem;
        min-height: auto;
    }
    
    .hero-content {
        margin: 0.25rem 0;
    }
    
    .hero-title {
        font-size: 1.1rem;
        margin: 0.25rem 0;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
        margin: 0.25rem 0;
    }
    
    .hero-description {
        font-size: 0.65rem;
        margin: 0.25rem 0;
    }
    
    .hero-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
        margin: 0.25rem 0;
    }
    
    .hero-features {
        margin: 0.25rem 0;
    }
    
    .cta-primary {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .crypto-logo img {
        width: 28px;
        height: 28px;
    }
    
    .crypto-logo span {
        font-size: 0.6rem;
    }
    
    .crypto-support-title {
        font-size: 0.7rem;
    }
    
    .crypto-logos {
        gap: 0.75rem;
    }
    
    .crypto-logo {
        min-height: 60px;
        max-width: 60px;
        padding: 0.5rem 0.25rem;
    }
    
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .steps-visual {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .step-card {
        padding: 0.75rem;
    }
    
    .step-icon {
        width: 30px;
        height: 30px;
        margin: 0 auto 0.5rem;
    }
    
    .step-icon i {
    font-size: 0.875rem;
}

    .step-title {
        font-size: 0.7rem;
        margin-bottom: 0.375rem;
    }
    
    .step-description {
        font-size: 0.6rem;
        line-height: 1.3;
    }
    
    
    .step-visual {
        flex-direction: column;
    gap: 0.5rem;
    }
    
    .visual-arrow {
        transform: rotate(90deg);
    }
    
    .process-flow {
    flex-direction: column;
    gap: 1rem;
    }
    
    .flow-connector {
        width: 2px;
        height: 20px;
    }
    
    .flow-connector::after {
        right: -3px;
        top: 16px;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 6px solid var(--primary-color);
        border-bottom: none;
    }
    
    .features-visual {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
    flex-direction: column;
        text-align: center;
    gap: 1rem;
}

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
    }
    
    .step-card {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .step-title {
        font-size: 0.875rem;
    }
    
    .step-description {
        font-size: 0.65rem;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
    }
    
    .step-icon i {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1rem;
    margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 0.875rem;
    }
    
    .feature-description {
        font-size: 0.65rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.25rem;
    }
    
    .feature-stats {
        padding: 0.375rem 0.75rem;
    }
    
    .stat {
        font-size: 0.875rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .feature-comparison {
        padding: 1rem;
    }
    
    .comparison-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .comparison-item {
        padding: 0.75rem;
    }
    
    .comparison-icon {
        width: 32px;
        height: 32px;
    }
    
    .comparison-icon i {
        font-size: 0.875rem;
    }
    
    .comparison-label {
        font-size: 0.65rem;
    }
    
    .comparison-value {
        font-size: 0.75rem;
    }
    
    .badge-text {
        font-size: 0.6rem;
    }
    
    .trust-badge {
        padding: 0.375rem 0.5rem;
    }
    
    .trust-badge i {
        font-size: 0.75rem;
    }
    
    .trust-badge span {
        font-size: 0.65rem;
    }
    
    .badges-grid {
        gap: 0.75rem;
    }
    
    .hero-crypto-support {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .crypto-logos {
        gap: 0.75rem;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .crypto-logo {
        padding: 0.5rem 0.25rem;
        min-height: 55px;
        max-width: 55px;
    }
    
    .crypto-logo img {
        width: 24px;
        height: 24px;
    }
    
    .crypto-logo span {
        font-size: 0.55rem;
    }
    
    /* .hero-stats unused */
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.55rem;
    }
    
    .media-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .cta-title {
        font-size: 1.25rem;
    }
    
    .cta-subtitle {
        font-size: 0.75rem;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .cta-primary {
        font-size: 0.875rem;
        padding: 0.75rem 1.5rem;
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .cta-secondary {
    font-size: 0.75rem;
        padding: 0.625rem 1.25rem;
    width: 100%;
        max-width: 200px;
    text-align: center;
    }
    
    .payment-methods {
        padding: 0.75rem 0;
    }
    
    .payment-header {
        margin-bottom: 0.5rem;
    }
    
    .payment-title {
        font-size: 0.75rem;
    }
    
    .payment-subtitle {
        font-size: 0.6rem;
    }
    
    .payment-logos-compact {
        gap: 0.75rem;
}

    .payment-item {
    padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .payment-item img {
        width: 14px;
        height: 14px;
    }
    
    .payment-item span {
        font-size: 0.6rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .security-grid {
        grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    }
    
    .security-item {
        padding: 0.5rem;
    }
    
    .security-icon {
        width: 30px;
        height: 30px;
        margin: 0 auto 0.5rem;
    }
    
    .security-icon i {
        font-size: 0.875rem;
    }
    
    .security-title {
        font-size: 0.6rem;
    }
    
    .payment-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .testimonial-card {
    padding: 0.75rem;
    }
    
    .testimonial-text {
        font-size: 0.65rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .testimonial-author {
        font-size: 0.6rem;
    }
    
    .testimonial-role {
        font-size: 0.55rem;
    }
    
    .cta-actions {
        flex-direction: column;
    gap: 0.75rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0.5rem 0;
        min-height: auto;
    }
    
    .hero-container {
        min-height: auto;
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    
    .payment-logos {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .badges-grid {
        grid-template-columns: 1fr;
    }
    
    .media-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FAQ ACCORDION JAVASCRIPT FUNCTIONALITY
   ======================================== */

.faq-item.active .faq-answer {
    display: block;
}

/* ========================================
   SMOOTH SCROLLING AND ANIMATIONS
   ======================================== */

@media (prefers-reduced-motion: no-preference) {
    .feature-card,
    .testimonial-card,
    .security-item,
    .payment-logo {
    transition: all 0.3s ease;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .navbar,
    .hero-actions,
    .cta-actions,
    .footer {
        display: none;
    }
    
    .hero {
    background: white;
        color: black;
    }
    
    .section-title {
        color: black;
    }
}

/* ========================================
   AUTH PAGES (LOGIN/REGISTER) - MINIMAL & COMPACT
   ======================================== */
.login-body {
    background: var(--background-color);
    color: var(--text-primary);
}

.login-container {
    max-width: 520px;
    margin: 4rem auto 3rem;
    padding: 0 1rem;
}

.back-to-home-top {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0.75rem;
}

.back-to-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.375rem 0.5rem;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.back-to-home-btn:hover {
    color: var(--primary-color);
    background: var(--surface-hover);
}

.login-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(246, 133, 27, 0.3);
}

.login-header h1 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.login-header p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0;
}

.login-form .input-group {
    margin-bottom: 0;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--background-color);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    height: 52px;
    padding-left: 3rem;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(246, 133, 27, 0.1);
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    z-index: 1;
    transition: color 0.3s ease;
}

.input-wrapper input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    padding: 0 1.25rem 0 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.show-password-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    cursor: pointer;
    user-select: none;
    line-height: 1.4;
    font-weight: 400;
}

.show-password-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 3px;
    background: var(--background-color);
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
    flex-shrink: 0;
    vertical-align: middle;
}

.show-password-checkbox input[type="checkbox"]:checked {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.show-password-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 3px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.show-password-checkbox:hover input[type="checkbox"] {
    border-color: var(--primary-color);
}

.show-password-checkbox span {
    color: var(--text-secondary);
    line-height: 18px;
    display: inline-block;
    vertical-align: middle;
}

.password-note {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(246, 133, 27, 0.08);
    border: 1px solid rgba(246, 133, 27, 0.15);
    border-radius: 8px;
    font-weight: 400;
    line-height: 1.4;
}

.password-note i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.create-account-btn {
    width: 100%;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: white;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    height: 32px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.create-account-btn:hover {
    background: #e67e22;
    border-color: #e67e22;
    transform: none;
    box-shadow: 0 2px 8px rgba(246, 133, 27, 0.3);
}

.login-btn {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: white;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    margin-top: 1rem;
    height: 32px;
    cursor: pointer;
}

.login-btn:hover {
    background: #e67e22;
    border-color: #e67e22;
    transform: none;
    box-shadow: 0 2px 8px rgba(246, 133, 27, 0.3);
}

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

@media (max-width: 480px) {
    .login-btn {
        font-size: 0.75rem;
        padding: 0.45rem 0.875rem;
        height: 30px;
    }
    
    .create-account-btn {
        font-size: 0.75rem;
        padding: 0.45rem 0.875rem;
        height: 30px;
    }
}

.create-account-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(246,133,27,0.18);
}

.create-account-btn:hover::before {
    left: 0;
}

.login-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.login-footer p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.5rem;
    border-radius: 999px;
    border: 1px solid #2ECC71;
    color: #2ECC71;
    font-size: 0.7rem;
    margin-top: 0.5rem;
    background: rgba(46, 204, 113, 0.1);
}

.security-badge i {
    color: #2ECC71;
}

/* Suggestion note below password */
.password-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    background: var(--surface-hover);
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.password-note i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .login-container {
        margin: 2.5rem auto 2rem;
    }
    .login-card {
        padding: 0.875rem;
    }
    .create-account-btn {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
}

/* ========================================
   DASHBOARD - LIGHT BANKING THEME
   Professional, Minimal, Clean Design
   ======================================== */

/* Light Banking Color Variables */
:root {
    --light-bg: #ffffff;
    --light-surface: #fafbfc;
    --light-border: #e1e4e8;
    --light-text: #24292e;
    --light-text-secondary: #586069;
    --light-text-muted: #6a737d;
    --light-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --light-shadow-hover: 0 2px 8px rgba(0,0,0,0.12);
    --light-shadow-focus: 0 0 0 3px rgba(246, 133, 27, 0.1);
}

/* Dashboard Main Layout */
.dashboard-main {
    background: var(--light-bg);
    min-height: 100vh;
    padding: 2rem 0;
}

.dashboard-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch; /* Make both sections equal height */
}

/* Wizard Section */
.wizard-section {
    display: flex;
    flex-direction: column;
    min-height: 0; /* Allow flex shrinking */
}

.wizard-card {
    background: var(--light-bg);
    border: 1px solid var(--light-border);
    border-radius: 12px;
    box-shadow: var(--light-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 500px; /* Minimum height for desktop */
    max-height: 80vh; /* Maximum height based on viewport */
}

.wizard-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-border);
    background: var(--light-surface);
}

.wizard-header h3 {
    color: var(--light-text);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wizard-progress {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--light-border);
    color: var(--light-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step.active {
    background: var(--primary-color);
    color: white;
}

.step.completed {
    background: var(--success-color);
    color: white;
}

.step-line {
    width: 40px;
    height: 2px;
    background: var(--light-border);
    transition: background 0.3s ease;
}

.step.active + .step-line,
.step.completed + .step-line {
    background: var(--primary-color);
}

.step-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--light-text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-label.active {
    color: var(--primary-color);
}

/* Wizard Content */
.wizard-content {
    position: relative;
    flex: 1; /* Take remaining space */
    overflow-y: auto; /* Enable scrolling */
    min-height: 0; /* Allow flex shrinking */
    max-height: calc(100% - 80px); /* Account for header height */
}

.wizard-step {
    display: none;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease;
    height: 100%;
    overflow-y: auto; /* Enable scrolling within steps */
}

/* Compact form elements for wizard */
.wizard-step .form-group {
    margin-bottom: 1rem;
}

.wizard-step .form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.wizard-step input,
.wizard-step textarea,
.wizard-step select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--light-border);
    border-radius: 6px;
    font-size: 0.875rem;
    background: white;
    transition: border-color 0.2s ease;
}

.wizard-step input:focus,
.wizard-step textarea:focus,
.wizard-step select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(246, 133, 27, 0.1);
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-content h4 {
    color: var(--light-text);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
}

.step-content .form-group {
    margin-bottom: 1.5rem;
}

.step-content label {
    display: block;
    color: var(--light-text);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-content input,
.step-content select,
.step-content textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--light-border);
    border-radius: 8px;
    background: var(--light-bg);
    color: var(--light-text);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.step-content input:focus,
.step-content select:focus,
.step-content textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--light-shadow-focus);
}

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

/* Dashboard input-group (different from login forms) */
.dashboard .input-group {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
}

/* Receiver Profile */
.receiver-profile {
    margin-bottom: 1.5rem;
}

.profile-card {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
}

.profile-info h5 {
    color: var(--light-text);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.profile-info p {
    color: var(--light-text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.profile-stats {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    color: var(--light-text);
    font-weight: 600;
    font-size: 0.875rem;
}

.stat-label {
    display: block;
    color: var(--light-text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-stat {
    color: var(--success-color) !important;
}

/* Payment Address */
.payment-address {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.payment-address label {
    margin-bottom: 0.75rem;
}

.address-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-bg);
    border: 1px solid var(--light-border);
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.address-text {
    flex: 1;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.8rem;
    color: var(--light-text);
    word-break: break-all;
}

.payment-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text-secondary);
    font-size: 0.8rem;
}

.payment-note i {
    color: var(--primary-color);
}

/* Price Display */
.price-display {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: var(--light-text-secondary);
    text-align: center;
    margin-top: 0.5rem;
}

/* Payment Summary */
.payment-summary {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.payment-summary h5 {
    color: var(--light-text);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-border);
    font-size: 0.875rem;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total {
    font-weight: 600;
    color: var(--light-text);
    border-top: 2px solid var(--light-border);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-border);
    margin-top: 2rem;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--light-shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--light-text);
    border: 1px solid var(--light-border);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background: var(--light-surface);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-icon {
    background: transparent;
    border: 1px solid var(--light-border);
    color: var(--light-text-secondary);
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: var(--light-surface);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: var(--light-shadow-hover);
}

/* ===== PENDING ESCROWS - NO CARDS, MINIMAL LIST ===== */
.pending-section {
    flex: 1;
    margin-left: 1rem;
    margin-top: 1rem;
    background: transparent;
    border: none;
    box-shadow: none;
}

.pending-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.pending-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
}

.refresh-btn {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    font-weight: 400;
}

.refresh-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.pending-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
}

.empty-state::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 0;
}

.empty-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.empty-subtitle {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 400;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* ===== ESCROW ITEMS - NO CARDS, SIMPLE LIST ===== */
.escrow-item-minimal {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.5rem 0;
    margin-bottom: 0;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
    position: relative;
}

.escrow-item-minimal:hover {
    background: #f9fafb;
    border-bottom-color: #e5e7eb;
}

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

.escrow-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.escrow-email-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.125rem;
}

.escrow-email {
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
}

.escrow-id {
    font-size: 0.75rem;
    font-weight: 400;
    color: #6b7280;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    letter-spacing: 0.5px;
}

.escrow-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.escrow-amount {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
}

.escrow-separator {
    color: #9ca3af;
    font-weight: 300;
}

.escrow-status {
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.01em;
    background: #f3f4f6;
    color: #6b7280;
}

.escrow-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.escrow-status.active {
    background: #dbeafe;
    color: #1e40af;
}

.escrow-status.released {
    background: #d1fae5;
    color: #065f46;
}

.escrow-status.refunded {
    background: #fee2e2;
    color: #991b1b;
}

/* Crypto-specific colors */
.escrow-item-minimal.crypto-btc .escrow-amount {
    color: #f7931a;
}

.escrow-item-minimal.crypto-eth .escrow-amount {
    color: #627eea;
}

.escrow-item-minimal.crypto-bnb .escrow-amount {
    color: #f3ba2f;
}

.escrow-item-minimal.crypto-usdt .escrow-amount {
    color: #26a17b;
}

/* ===== MOBILE RESPONSIVE - NO CARDS ===== */
@media (max-width: 768px) {
    .dashboard-main {
        padding-bottom: 12px; /* 0.75 inch = 12px */
    }
    
    .pending-section {
        margin-left: 0;
        margin-top: 2rem;
        margin-bottom: 2rem; /* Increased bottom margin */
        padding-bottom: 1.5rem; /* Increased bottom padding */
    }
    
    .pending-header {
        padding: 0.5rem 0;
        margin-bottom: 0.75rem;
    }
    
    .pending-header h3 {
        font-size: 0.9rem;
    }
    
    .refresh-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .pending-list {
        max-height: 300px;
    }
    
    .escrow-item-minimal {
        padding: 0.375rem 0;
    }
    
    .escrow-email-row {
        gap: 0.5rem;
    }
    
    .escrow-email {
        font-size: 0.85rem;
    }
    
    .escrow-id {
        font-size: 0.7rem;
    }
    
    .escrow-details {
        font-size: 0.75rem;
        gap: 0.375rem;
    }
    
    .escrow-amount {
        font-size: 0.85rem;
    }
    
    .escrow-status {
        padding: 0.1rem 0.375rem;
        font-size: 0.65rem;
    }
    
    .empty-state {
        padding: 1.5rem 0.75rem;
    }
    
    .empty-text {
        font-size: 0.9rem;
    }
    
    .empty-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .dashboard-main {
        padding-bottom: 12px; /* 0.75 inch = 12px */
    }
    
    .create-escrow-container {
        margin-top: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .pending-section {
        margin-top: 1.5rem;
        margin-bottom: 2.5rem; /* Increased bottom margin */
        padding-bottom: 2rem; /* Increased bottom padding */
    }
    
    .pending-header {
        padding: 0.375rem 0;
        margin-bottom: 0.5rem;
    }
    
    .pending-header h3 {
        font-size: 0.85rem;
    }
    
    .refresh-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
    
    .pending-list {
        max-height: 250px;
    }
    
    .escrow-item-minimal {
        padding: 0.25rem 0;
    }
    
    .escrow-email-row {
        gap: 0.375rem;
    }
    
    .escrow-email {
        font-size: 0.8rem;
    }
    
    .escrow-id {
        font-size: 0.65rem;
    }
    
    .escrow-details {
        font-size: 0.7rem;
        gap: 0.25rem;
    }
    
    .escrow-amount {
        font-size: 0.8rem;
    }
    
    .escrow-status {
        padding: 0.075rem 0.3rem;
        font-size: 0.6rem;
    }
    
    .empty-state {
        padding: 1.25rem 0.5rem;
    }
    
    .empty-text {
        font-size: 0.85rem;
    }
    
    .empty-subtitle {
        font-size: 0.75rem;
    }
}

.escrows-table-container {
    flex: 1;
    overflow: auto; /* Enable scrolling */
    min-height: 0; /* Allow flex shrinking */
}

.escrows-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    min-width: 600px; /* Ensure minimum width for readability */
}

.escrows-table th {
    background: var(--light-surface);
    color: var(--light-text);
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--light-border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.7rem;
    position: sticky;
    top: 0;
    z-index: 10;
    white-space: nowrap;
}

.escrows-table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--light-border);
    color: var(--light-text);
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.escrows-table tbody tr:hover {
    background: var(--light-surface);
}

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

/* Column specific widths for better fit */
.escrows-table th:nth-child(1),
.escrows-table td:nth-child(1) {
    width: 80px; /* ID column */
    max-width: 80px;
}

.escrows-table th:nth-child(2),
.escrows-table td:nth-child(2) {
    width: 140px; /* Receiver column */
    max-width: 140px;
}

.escrows-table th:nth-child(3),
.escrows-table td:nth-child(3) {
    width: 100px; /* Amount column */
    max-width: 100px;
}

.escrows-table th:nth-child(4),
.escrows-table td:nth-child(4) {
    width: 100px; /* Status column */
    max-width: 100px;
}

.escrows-table th:nth-child(5),
.escrows-table td:nth-child(5) {
    width: 80px; /* Date column */
    max-width: 80px;
}

.escrows-table th:nth-child(6),
.escrows-table td:nth-child(6) {
    width: 100px; /* Actions column */
    max-width: 100px;
}

.empty-row td {
    text-align: center;
    padding: 2rem 1rem;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--light-text-secondary);
    height: 100%;
    justify-content: center;
}

.empty-state i {
    font-size: 2rem;
    color: var(--light-border);
}

.empty-state p {
    margin: 0;
    font-size: 0.9rem;
}

.empty-subtitle {
    font-size: 0.75rem !important;
    color: var(--light-text-muted) !important;
}

/* Status Badges - Compact Design */
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-released {
    background: #d1ecf1;
    color: #0c5460;
}

.status-refunded {
    background: #f8d7da;
    color: #721c24;
}

.deliverable-badge {
    display: inline-block;
    padding: 0.1rem 0.3rem;
    border-radius: 2px;
    font-size: 0.55rem;
    font-weight: 500;
    margin-left: 0.25rem;
    white-space: nowrap;
}

.deliverable-pending {
    background: #e2e3e5;
    color: #6c757d;
}

.deliverable-submitted {
    background: #cce5ff;
    color: #004085;
}

.deliverable-verified {
    background: #d4edda;
    color: #155724;
}

.deliverable-rejected {
    background: #f8d7da;
    color: #721c24;
}

.action-buttons {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
    min-width: fit-content;
}

.btn-primary.btn-sm {
    background: var(--primary-color);
    color: white;
}

.btn-primary.btn-sm:hover {
    background: var(--primary-hover);
}

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

.btn-outline.btn-sm:hover {
    background: var(--light-surface);
    color: var(--light-text);
}

/* Mobile table styles are now integrated into main mobile breakpoints above */

/* Small Mobile */
@media (max-width: 600px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .dashboard-split {
        gap: 0.75rem;
    }
    
    .wizard-header,
    .escrows-header {
        padding: 0.75rem;
    }
    
    .wizard-header h3,
    .escrows-header h3 {
    font-size: 1rem;
}

    .wizard-step {
        padding: 0.75rem;
}

    .wizard-step h4 {
    font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .wizard-step .form-group {
        margin-bottom: 0.75rem;
    }
    
    .wizard-step .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.375rem;
    }
    
    .wizard-step input,
    .wizard-step textarea,
    .wizard-step select {
        padding: 0.625rem;
        font-size: 0.85rem;
    }
    
    .wizard-step textarea {
        min-height: 70px;
    }
    
    .step-actions {
        margin-top: 1.25rem;
        gap: 0.5rem;
    }
    
    .step-actions button {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
    }
    
    .escrows-table-container {
        max-height: 250px;
    }
    
    .escrows-table {
        font-size: 0.75rem;
    }
    
    .escrows-table th,
    .escrows-table td {
        padding: 0.375rem 0.125rem;
        font-size: 0.7rem;
    }
    
    .escrows-table th {
        font-size: 0.65rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .dashboard-split {
    gap: 0.5rem;
    }
    
    .wizard-header,
    .escrows-header {
        padding: 0.625rem;
    }
    
    .wizard-header h3,
    .escrows-header h3 {
        font-size: 0.95rem;
    }
    
    .wizard-step {
        padding: 0.625rem;
    }
    
    .wizard-step h4 {
        font-size: 0.95rem;
        margin-bottom: 0.625rem;
    }
    
    .wizard-step .form-group {
        margin-bottom: 0.625rem;
    }
    
    .wizard-step .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .wizard-step input,
    .wizard-step textarea,
    .wizard-step select {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .wizard-step textarea {
        min-height: 60px;
    }
    
    .step-actions {
        margin-top: 1rem;
        gap: 0.375rem;
    }
    
    .step-actions button {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .escrows-table-container {
        max-height: 200px;
    }
    
    .escrows-table {
    font-size: 0.7rem;
        min-width: 100%;
    }
    
    .escrows-table th,
    .escrows-table td {
        padding: 0.25rem 0.125rem;
        font-size: 0.65rem;
    }
    
    .escrows-table th {
        font-size: 0.6rem;
    }
    
    .status-badge {
        font-size: 0.55rem;
        padding: 0.15rem 0.3rem;
    }
    
    .btn-sm {
        font-size: 0.55rem;
        padding: 0.25rem 0.4rem;
    }
}

/* Ultra-small mobile devices - Simplified */
@media (max-width: 360px) {
    .container {
        padding: 0 0.375rem;
    }
    
    .dashboard-split {
        gap: 0.375rem;
    }
    
    .wizard-header,
    .escrows-header {
        padding: 0.5rem;
    }
    
    .wizard-header h3,
    .escrows-header h3 {
    font-size: 0.9rem;
}

    .wizard-step {
        padding: 0.5rem;
    }
    
    .wizard-step h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .wizard-step .form-group {
        margin-bottom: 0.5rem;
    }
    
    .wizard-step .form-group label {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    
    .wizard-step input,
    .wizard-step textarea,
    .wizard-step select {
        padding: 0.375rem;
    font-size: 0.75rem;
}

    .wizard-step textarea {
        min-height: 50px;
    }
    
    .step-actions {
        margin-top: 0.75rem;
        gap: 0.25rem;
    }
    
    .step-actions button {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
    }
    
    .escrows-table-container {
        max-height: 150px;
    }
    
    .escrows-table {
        font-size: 0.65rem;
    }
    
    .escrows-table th,
    .escrows-table td {
        padding: 0.125rem 0.0625rem;
        font-size: 0.6rem;
    }
    
    .escrows-table th {
        font-size: 0.55rem;
    }
    
    .status-badge {
        font-size: 0.5rem;
        padding: 0.1rem 0.2rem;
    }
    
    .btn-sm {
        font-size: 0.5rem;
        padding: 0.2rem 0.3rem;
    }
}

/* History Button - Mini Creative Design */
.history-button-container {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
    animation: fadeInUp 0.3s ease-out;
}

.history-btn-mini {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.history-btn-mini::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;
}

.history-btn-mini:hover::before {
    left: 100%;
}

.history-btn-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.history-btn-mini:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.history-btn-mini i {
    font-size: 0.7rem;
    animation: pulse 2s infinite;
}

.history-btn-mini span {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Mobile responsive for history button */
@media (max-width: 768px) {
    .history-btn-mini {
        padding: 0.35rem 0.7rem;
        font-size: 0.7rem;
        border-radius: 18px;
    }
    
    .history-btn-mini i {
        font-size: 0.65rem;
    }
    
    .history-btn-mini span {
        font-size: 0.65rem;
    }
}

/* History Modal - Minimal Design */
.history-modal {
    max-width: 400px;
    width: 90%;
    max-height: 60vh;
    overflow-y: auto;
}

.history-modal .modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.history-modal .modal-close:hover {
    background: var(--light-surface);
    color: var(--text-primary);
}

.client-info-minimal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--light-border);
}

.client-avatar-small {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.client-details-minimal h4 {
    margin: 0 0 0.2rem 0;
    color: var(--light-text);
    font-size: 0.95rem;
    font-weight: 600;
}

.client-details-minimal p {
    margin: 0;
    color: var(--light-text-secondary);
    font-size: 0.8rem;
}

.history-list-minimal {
    max-height: 200px;
    overflow-y: auto;
}

.history-item-minimal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.4rem;
    background: var(--light-surface);
    border-radius: 4px;
    border-left: 2px solid var(--primary-color);
    font-size: 0.85rem;
}

.history-item-minimal .history-date {
    color: var(--light-text-secondary);
    min-width: 70px;
    font-size: 0.75rem;
}

.history-item-minimal .history-amount {
    font-weight: 600;
    color: var(--light-text);
    font-size: 0.8rem;
}

.history-item-minimal .history-status {
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.history-item-minimal .history-status.completed {
    background: #d4edda;
    color: #155724;
}

.history-item-minimal .history-status.pending {
    background: #fff3cd;
    color: #856404;
}

.history-item-minimal .history-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* History loading, empty, and error states */
.history-loading,
.history-empty,
.history-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-muted);
}

.history-loading i,
.history-empty i,
.history-error i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.history-loading span,
.history-empty span,
.history-error span {
    font-size: 0.8rem;
}

.history-error i {
    color: #dc3545;
}

/* Escrow ID styling */
.history-escrow-id {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: var(--text-primary);
    font-weight: 600;
    min-width: 80px;
}

/* Minimal Create Escrow Design */
.create-escrow-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.escrow-header {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.escrow-header h3 {
    margin: 0 0 0.375rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
}

/* Step Progress Indicators */
.step-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.step-indicator.active {
    background: #8b4513;
    color: #ffffff;
    border-color: #8b4513;
}

.step-indicator.completed {
    background: #fbbf24;
    color: #ffffff;
    border-color: #fbbf24;
}

.step-indicator.completed::after {
    content: '✓';
    font-size: 0.75rem;
}

.step-indicator.final-step {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

/* Step Headers */
.step-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Payment Step Cards */
.payment-step-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.payment-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-step-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.payment-step-card:hover::before {
    opacity: 1;
}

/* Step-specific colors */
.payment-step-card.step-1::before {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.payment-step-card.step-2::before {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.payment-step-card.step-3::before {
    background: linear-gradient(90deg, #06b6d4, #0891b2);
}

.payment-step-card.step-4::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-number {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.step-title h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.step-title p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.step-content {
    margin-top: 1rem;
}

/* Step 1: USD Input */
.usd-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.usd-input-group .currency-symbol {
    position: absolute;
    left: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    z-index: 1;
}

.usd-input-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.usd-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: scale(1.02);
}

/* Step 2: Fee Calculation */
.fee-calculation {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.fee-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.fee-item.total {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #3b82f6;
    font-weight: 600;
}

.fee-label {
    font-size: 1rem;
    color: #374151;
    font-weight: 500;
}

.fee-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

.fee-item.total .fee-value {
    color: #1e40af;
    font-size: 1.25rem;
}

/* Step 3: Conversion */
.conversion-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.current-rate,
.total-usd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f0f9ff;
    border-radius: 8px;
    border: 1px solid #bae6fd;
}

.rate-label,
.total-label {
    font-size: 0.875rem;
    color: #0369a1;
    font-weight: 500;
}

.rate-value,
.total-value {
    font-size: 1rem;
    font-weight: 600;
    color: #0c4a6e;
}

/* Step 4: Crypto Output */
.crypto-output {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.crypto-amount-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    border: 2px solid #22c55e;
    text-align: center;
    justify-content: center;
}

.crypto-amount-large .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #15803d;
    line-height: 1;
}

.crypto-amount-large .crypto-type {
    font-size: 1.5rem;
    font-weight: 700;
    color: #16a34a;
    background: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #22c55e;
}

.confirmation-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #fef3c7;
    border-radius: 8px;
    border: 1px solid #f59e0b;
}

.confirmation-message .checkmark {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.confirmation-message .message {
    font-size: 0.875rem;
    color: #92400e;
    font-weight: 500;
    line-height: 1.4;
}

.step-header h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.step-header p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
}


.form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.field label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin: 0;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #374151;
    background: #ffffff;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.field textarea {
    resize: vertical;
    min-height: 2.25rem;
    line-height: 1.4;
}

.optional-toggle {
    margin: 0.5rem 0;
}

.toggle-optional {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.375rem 0;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.toggle-optional:hover {
    color: #374151;
}

.optional-content {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Profile styling */
.receiver-profile {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

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

.profile-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.profile-details h5,
.profile-details p {
    margin: 0;
    font-size: 0.875rem;
}

.profile-details h5 {
    font-weight: 600;
    color: #374151;
}

.profile-details p {
    color: #6b7280;
}

.profile-stats {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
}

/* History button */
.history-button-container {
    margin-top: 0.5rem;
}

.history-btn-mini {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.history-btn-mini:hover {
    background: #e5e7eb;
    color: #374151;
}

/* Clean Escrow List - Enhanced Design */
.escrows-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.escrows-list .escrow-item-clean:nth-child(odd) {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.escrows-list .escrow-item-clean:nth-child(even) {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Crypto-specific color themes */
.escrow-item-clean.crypto-btc .escrow-amount {
    color: #f7931a;
}

.escrow-item-clean.crypto-eth .escrow-amount {
    color: #627eea;
}

.escrow-item-clean.crypto-usdt .escrow-amount {
    color: #26a17b;
}

.escrow-item-clean.crypto-sol .escrow-amount {
    color: #9945ff;
}

.escrow-item-clean.crypto-bnb .escrow-amount {
    color: #f3ba2f;
}

/* Crypto-specific accent borders */
.escrow-item-clean.crypto-btc::before {
    background: linear-gradient(180deg, #f7931a 0%, #e8821e 100%);
}

.escrow-item-clean.crypto-eth::before {
    background: linear-gradient(180deg, #627eea 0%, #4f46e5 100%);
}

.escrow-item-clean.crypto-usdt::before {
    background: linear-gradient(180deg, #26a17b 0%, #059669 100%);
}

.escrow-item-clean.crypto-sol::before {
    background: linear-gradient(180deg, #9945ff 0%, #7c3aed 100%);
}

.escrow-item-clean.crypto-bnb::before {
    background: linear-gradient(180deg, #f3ba2f 0%, #d97706 100%);
}

.escrow-item-clean {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.875rem 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.escrow-item-clean::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f6ad55 0%, #ed8936 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0 2px 2px 0;
}

.escrow-item-clean:hover {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.escrow-item-clean:hover::before {
    opacity: 1;
}

.escrow-item-clean .escrow-main-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.escrow-item-clean .escrow-email-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.escrow-item-clean .escrow-email {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.3;
    word-break: break-all;
    flex: 1;
    letter-spacing: 0.01em;
}

.escrow-item-clean .escrow-id {
    font-size: 0.75rem;
    color: #718096;
    line-height: 1.2;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 1px solid #e2e8f0;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.escrow-item-clean .escrow-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2b6cb0;
    line-height: 1.2;
    text-align: right;
    min-width: 80px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.escrow-item-clean .escrow-status {
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
}

.escrow-item-clean .escrow-status.pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-color: #f59e0b;
}

.escrow-item-clean .escrow-status.active {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-color: #3b82f6;
}

.escrow-item-clean .escrow-status.released {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-color: #10b981;
}

.escrow-item-clean .escrow-status.refunded {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-color: #ef4444;
}

/* Active Escrow Page */
.active-escrow-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.active-escrow-card {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 12px;
    overflow: hidden;
}

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

.escrow-title h2 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.escrow-id {
    font-family: 'Courier New', monospace;
        font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--light-surface);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

.escrow-status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

.escrow-status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.escrow-status-badge.status-active {
    background: #d1ecf1;
    color: #0c5460;
}

.escrow-status-badge.status-released {
    background: #d4edda;
    color: #155724;
}

.escrow-status-badge.status-refunded {
    background: #f8d7da;
    color: #721c24;
}

.escrow-content {
        padding: 1.5rem;
}

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

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h3 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-item span {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    word-break: break-all;
}

.deliverables-content {
    background: var(--background-color);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--light-border);
}

.deliverables-content p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.5;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-buttons button {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
        gap: 0.5rem;
    }
    
.error-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.error-state i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.error-state h3 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
}

.error-state p {
    margin: 0 0 2rem 0;
}

/* Mobile responsive for history modal */
@media (max-width: 768px) {
    .history-modal {
        max-width: 95%;
        width: 95%;
        max-height: 70vh;
    }
    
    .client-info-minimal {
        gap: 0.5rem;
    }
    
    .client-avatar-small {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .client-details-minimal h4 {
        font-size: 0.9rem;
    }
    
    .client-details-minimal p {
        font-size: 0.75rem;
    }
    
    .history-item-minimal {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .history-item-minimal .history-date {
        min-width: 60px;
        font-size: 0.7rem;
    }
    
    .history-item-minimal .history-amount {
        font-size: 0.75rem;
    }
    
    .history-item-minimal .history-status {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
    }
    
    .history-escrow-id {
        font-size: 0.65rem;
        min-width: 60px;
    }
    
    .history-loading,
    .history-empty,
    .history-error {
        padding: 1.5rem 0.5rem;
    }
    
    .history-loading i,
    .history-empty i,
    .history-error i {
        font-size: 1.2rem;
    }
    
    .history-loading span,
    .history-empty span,
    .history-error span {
        font-size: 0.75rem;
    }
}

/* Duplicate status badges removed - using compact design above */

/* Modals - Light Theme */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.show {
    display: flex;
}

.light-modal {
    background: var(--light-bg);
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-header h3 {
    color: var(--light-text);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.success-icon,
.warning-icon,
.deliverable-icon,
.refund-icon {
    width: 40px;
        height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
        justify-content: center;
    font-size: 1.25rem;
}

.success-icon {
    background: #d4edda;
    color: var(--success-color);
}

.warning-icon {
    background: #fff3cd;
    color: var(--warning-color);
}

.deliverable-icon {
    background: #d1ecf1;
    color: var(--secondary-color);
}

.refund-icon {
    background: #f8d7da;
    color: var(--danger-color);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    color: var(--light-text);
    margin: 0 0 1rem 0;
        line-height: 1.5;
    }
    
.warning-text {
    color: var(--warning-color) !important;
    font-weight: 500;
}

.escrow-info {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 8px;
    padding: 1rem;
}

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

.info-row:last-child {
    border-bottom: none;
}

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

.info-value {
    color: var(--light-text);
        font-size: 0.875rem;
    font-weight: 600;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--light-border);
    display: flex;
    justify-content: flex-end;
        gap: 1rem;
    }
    
.delivery-instructions {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.delivery-instructions p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--light-text-secondary);
}

.refund-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text-secondary);
    font-size: 0.875rem;
    margin-top: 1rem;
        padding: 0.75rem;
    background: var(--light-surface);
    border-radius: 6px;
}

.refund-note i {
    color: var(--primary-color);
}

/* Profile Drawer */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drawer-overlay.show {
    display: block;
    opacity: 1;
}

.profile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: var(--light-bg);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.profile-drawer.show {
    right: 0;
}

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

.drawer-header h3 {
    color: var(--light-text);
        font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--light-text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
        border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1001;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.drawer-close:hover {
    background: var(--light-border);
    color: var(--light-text);
}

.drawer-content {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.profile-section {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
        border-radius: 50%;
    background: var(--primary-color);
    color: white;
        display: flex;
        align-items: center;
        justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    box-shadow: var(--light-shadow);
}

.profile-info h4 {
    color: var(--light-text);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.profile-info p {
    color: var(--light-text-secondary);
    font-size: 0.875rem;
    margin: 0 0 1.5rem 0;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    margin-top: 1rem;
    }
    
    .stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--light-surface);
    border-radius: 8px;
    border: 1px solid var(--light-border);
    }
    
    .stat-label {
    display: block;
    color: var(--light-text-secondary);
        font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
    }
    
.stat-value {
    display: block;
    color: var(--light-text);
    font-size: 1.5rem;
    font-weight: 600;
}

.drawer-actions {
    display: flex;
    flex-direction: column;
        gap: 0.75rem;
    }
    
.drawer-action-btn {
    background: none;
    border: 1px solid var(--light-border);
    color: var(--light-text);
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    text-align: left;
    width: 100%;
    font-weight: 500;
}

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

.drawer-action-btn i {
    width: 20px;
    text-align: center;
}

.logout-btn {
    border-color: var(--danger-color);
    color: var(--danger-color);
    margin-top: 1rem;
}

.logout-btn:hover {
    background: var(--danger-color);
    color: white;
    border-color: var(--danger-color);
}

/* Compact Profile Drawer Styles */
.drawer-header-compact {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--light-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-surface);
}

.drawer-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    font-size: 1.125rem;
    font-weight: 600;
}

.drawer-title i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.drawer-close-compact {
    background: none;
    border: none;
    color: var(--light-text-secondary);
    font-size: 1.125rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.drawer-close-compact:hover {
    background: var(--light-border);
    color: var(--light-text);
}

.drawer-content-compact {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-info-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-surface);
    border-radius: 12px;
    border: 1px solid var(--light-border);
}

.profile-avatar-compact {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.profile-details-compact {
    flex: 1;
    min-width: 0;
}

.user-email {
    color: var(--light-text);
    font-size: 0.875rem;
    font-weight: 500;
    word-break: break-all;
    line-height: 1.4;
}

.drawer-actions-compact {
    margin-top: auto;
}

.logout-btn-compact {
    background: var(--danger-color);
    border: 1px solid var(--danger-color);
    color: white;
    padding: 0.875rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    width: 100%;
}

.logout-btn-compact:hover {
    background: #c0392b;
    border-color: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .profile-drawer {
        width: 280px;
        right: -280px;
    }
    
    .drawer-content-compact {
        padding: 1rem;
    }
    
    .profile-info-compact {
        padding: 0.875rem;
        gap: 0.75rem;
    }
    
    .profile-avatar-compact {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .user-email {
        font-size: 0.8rem;
    }
}

/* Escrow Creation Confirmation Modal */
.confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirmation-overlay.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.confirmation-modal {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 360px;
    width: 90%;
    margin: 20px;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.confirmation-header {
    background: #2ECC71;
    color: white;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.confirmation-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.confirmation-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    flex: 1;
}

.confirmation-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.125rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.confirmation-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.confirmation-content {
    padding: 1.25rem;
}

.confirmation-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.detail-label {
    font-weight: 500;
    color: #6c757d;
    font-size: 0.875rem;
}

.detail-value {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.875rem;
}

/* Mobile Responsive for Confirmation Modal */
@media (max-width: 768px) {
    .confirmation-modal {
        max-width: 320px;
        margin: 10px;
    }
    
    .confirmation-header {
        padding: 1rem;
    }
    
    .confirmation-header h3 {
        font-size: 1rem;
    }
    
    .confirmation-content {
        padding: 1rem;
    }
    
    .detail-item {
        padding: 0.375rem 0;
    }
    
    .detail-label,
    .detail-value {
        font-size: 0.8rem;
    }
}

/* Crypto Dropdown */
.crypto-dropdown {
    position: relative;
        margin-bottom: 1rem;
    }
    
.crypto-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
        padding: 0.75rem;
    border: 1px solid var(--light-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--light-bg);
    min-height: 48px;
}

.crypto-dropdown-trigger:hover {
    border-color: var(--primary-color);
    background: var(--light-surface);
}

.crypto-dropdown-trigger.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(246, 133, 27, 0.1);
}

.crypto-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--light-bg);
    border: 1px solid var(--light-border);
    border-radius: 8px;
    box-shadow: var(--light-shadow-hover);
    z-index: 1000;
    display: none;
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.crypto-dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.crypto-option-dropdown {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--light-border);
}

.crypto-option-dropdown:last-child {
    border-bottom: none;
}

.crypto-option-dropdown:hover {
    background: var(--light-surface);
}

.crypto-option-dropdown.active {
    background: rgba(246, 133, 27, 0.05);
    color: var(--primary-color);
}

.crypto-logo-small {
        width: 24px;
        height: 24px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
}

.crypto-info-compact {
    flex: 1;
    min-width: 0;
}

.crypto-name-compact {
    font-weight: 600;
    color: var(--light-text);
    font-size: 0.8rem;
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.crypto-network-compact {
    font-size: 0.7rem;
    color: var(--light-text-secondary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.crypto-arrow {
    font-size: 0.75rem;
    color: var(--light-text-secondary);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.crypto-dropdown-trigger.active .crypto-arrow {
    transform: rotate(180deg);
}

/* Form Help Text */
.form-help {
    display: block;
    font-size: 0.75rem;
    color: var(--light-text-muted);
    margin-top: 0.25rem;
    font-style: italic;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .dashboard-split {
        gap: 1.25rem;
    }
    
    .wizard-card,
    .escrows-card {
        min-height: 450px;
        max-height: 70vh;
    }
}

/* Mobile Responsive - Compact & Flexible */
@media (max-width: 768px) {
    .dashboard-main {
        padding: 0;
        min-height: 100vh;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .dashboard-split {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .wizard-card,
    .escrows-card {
        min-height: auto;
        max-height: none;
        height: auto;
        border-radius: 6px;
    }
    
    .wizard-card {
        margin-top: 1.5rem;
    }
    
    .wizard-header,
    .escrows-header {
        padding: 0.6rem;
    }
    
    .wizard-header h3,
    .escrows-header h3 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }
    
    .wizard-step {
        padding: 0.6rem;
    }
    
    .wizard-step h4 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .wizard-step .form-group {
        margin-bottom: 0.6rem;
    }
    
    .wizard-step .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .wizard-step input,
    .wizard-step textarea,
    .wizard-step select {
        padding: 0.5rem;
        font-size: 0.8rem;
    border-radius: 4px;
}

    .wizard-step textarea {
        min-height: 60px;
    }
    
    .form-help {
        font-size: 0.7rem;
        margin-top: 0.2rem;
    }
    
    .step-actions {
        margin-top: 1rem;
        gap: 0.5rem;
        flex-direction: column;
    }
    
    .step-actions button {
        padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
        width: 100%;
    }
    
    /* Crypto selector mobile */
    .crypto-selector {
        grid-template-columns: 1fr;
    gap: 0.4rem;
    }
    
    .crypto-option {
        padding: 0.5rem;
    font-size: 0.8rem;
    }
    
    .crypto-option .crypto-logo {
        width: 20px;
        height: 20px;
    }
    
    .crypto-option .crypto-name {
    font-size: 0.8rem;
}

    .crypto-option .crypto-network {
        font-size: 0.7rem;
    }
    
    /* Payment info mobile */
    .payment-info {
        padding: 0.5rem;
    }
    
    .payment-info h5 {
    font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .crypto-address {
        padding: 0.4rem;
    }
    
    .crypto-address .address-label {
        font-size: 0.7rem;
    }
    
    .crypto-address .address-value {
        font-size: 0.7rem;
        padding: 0.3rem;
        word-break: break-all;
    }
    
    .copy-address-btn {
        padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
}

    .payment-note {
        padding: 0.3rem;
    font-size: 0.7rem;
}

    /* Payment summary mobile */
    .payment-summary {
        padding: 0.5rem;
    }
    
    .payment-summary h5 {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .summary-row {
        font-size: 0.75rem;
        padding: 0.3rem 0;
    }
    
    .summary-row.total {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }
    
    /* Escrows table mobile optimization */
    .escrows-table-container {
        max-height: 250px;
        overflow-y: auto;
    }
    
    .escrows-table {
        font-size: 0.7rem;
        min-width: 100%;
    }
    
    .escrows-table th,
    .escrows-table td {
        padding: 0.4rem 0.2rem;
        font-size: 0.7rem;
    }
    
    .escrows-table th {
        font-size: 0.65rem;
    }
    
    /* Stack table columns on very small screens */
    .escrows-table th:nth-child(1),
    .escrows-table td:nth-child(1) {
        width: 60px;
        max-width: 60px;
    }
    
    .escrows-table th:nth-child(2),
    .escrows-table td:nth-child(2) {
        width: 120px;
        max-width: 120px;
    }
    
    .escrows-table th:nth-child(3),
    .escrows-table td:nth-child(3) {
        width: 80px;
        max-width: 80px;
    }
    
    .escrows-table th:nth-child(4),
    .escrows-table td:nth-child(4) {
        width: 80px;
        max-width: 80px;
    }
    
    .escrows-table th:nth-child(5),
    .escrows-table td:nth-child(5) {
        width: 60px;
        max-width: 60px;
    }
    
    .escrows-table th:nth-child(6),
    .escrows-table td:nth-child(6) {
        width: 80px;
        max-width: 80px;
    }
    
    .status-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }
    
    .btn-sm {
        font-size: 0.6rem;
        padding: 0.3rem 0.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .action-buttons .btn-sm {
        width: 100%;
    justify-content: center;
    }
}

/* Extra small mobile devices - Ultra compact */
@media (max-width: 480px) {
    .container {
        padding: 0 0.3rem;
    }
    
    .dashboard-split {
        gap: 0.3rem;
    }
    
    .wizard-header,
    .escrows-header {
        padding: 0.4rem;
    }
    
    .wizard-header h3,
    .escrows-header h3 {
    font-size: 0.85rem;
    }
    
    .wizard-step {
        padding: 0.4rem;
    }
    
    .wizard-step h4 {
    font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .wizard-step .form-group {
        margin-bottom: 0.4rem;
    }
    
    .wizard-step .form-group label {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }
    
    .wizard-step input,
    .wizard-step textarea,
    .wizard-step select {
        padding: 0.4rem;
        font-size: 0.75rem;
    }
    
    .wizard-step textarea {
        min-height: 50px;
    }
    
    .form-help {
        font-size: 0.65rem;
    }
    
    .step-actions {
        margin-top: 0.8rem;
        gap: 0.4rem;
    }
    
    .step-actions button {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .crypto-option {
        padding: 0.4rem;
        font-size: 0.75rem;
    }
    
    .crypto-option .crypto-logo {
        width: 18px;
        height: 18px;
    }
    
    .crypto-option .crypto-name {
        font-size: 0.75rem;
    }
    
    .crypto-option .crypto-network {
        font-size: 0.65rem;
    }
    
    .payment-info {
        padding: 0.4rem;
    }
    
    .payment-info h5 {
        font-size: 0.75rem;
    }
    
    .crypto-address {
        padding: 0.3rem;
    }
    
    .crypto-address .address-label {
        font-size: 0.65rem;
    }
    
    .crypto-address .address-value {
        font-size: 0.65rem;
        padding: 0.25rem;
    }
    
    .copy-address-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
    }
    
    .payment-note {
        padding: 0.25rem;
        font-size: 0.65rem;
    }
    
    .payment-summary {
        padding: 0.4rem;
    }
    
    .payment-summary h5 {
        font-size: 0.75rem;
    }
    
    .summary-row {
        font-size: 0.7rem;
        padding: 0.25rem 0;
    }
    
    .summary-row.total {
        font-size: 0.75rem;
        padding: 0.3rem 0;
    }
    
    .escrows-table-container {
        max-height: 200px;
    }
    
    .escrows-table {
        font-size: 0.65rem;
    }
    
    .escrows-table th,
    .escrows-table td {
        padding: 0.3rem 0.15rem;
        font-size: 0.65rem;
    }
    
    .escrows-table th {
        font-size: 0.6rem;
    }
    
    .status-badge {
        font-size: 0.55rem;
        padding: 0.15rem 0.3rem;
    }
    
    .btn-sm {
        font-size: 0.55rem;
        padding: 0.25rem 0.4rem;
    }
    
    .action-buttons .btn-sm {
        font-size: 0.55rem;
        padding: 0.25rem 0.4rem;
    }
    
    /* Clean escrow list mobile */
    .escrows-list {
        gap: 0.4rem;
    }
    
    .escrow-item-clean {
        padding: 0.6rem 0.8rem;
        border-radius: 4px;
    }
    
    .escrow-item-clean .escrow-email-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .escrow-item-clean .escrow-amount {
        font-size: 0.9rem;
        font-weight: 600;
        text-align: left;
        min-width: auto;
    }
    
    .escrow-item-clean .escrow-email {
        font-size: 0.85rem;
    }
    
    .escrow-item-clean .escrow-id {
        font-size: 0.7rem;
        padding: 0.15rem 0.3rem;
    }
    
    .escrow-item-clean .escrow-status {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
        border-radius: 8px;
    }
    
    /* Mobile crypto colors */
    .escrow-item-clean.crypto-btc .escrow-amount {
        color: #d97706;
    }
    
    .escrow-item-clean.crypto-eth .escrow-amount {
        color: #4f46e5;
    }
    
    .escrow-item-clean.crypto-usdt .escrow-amount {
        color: #059669;
    }
    
    .escrow-item-clean.crypto-sol .escrow-amount {
        color: #7c3aed;
    }
    
    .escrow-item-clean.crypto-bnb .escrow-amount {
        color: #d97706;
    }
    
    /* Step 1 Mobile Responsive */
    .form-section {
        margin-bottom: 1.5rem;
        border-radius: 8px;
    }
    
    .section-header {
        padding: 0.875rem 1rem;
    }
    
    .section-header h5 {
        font-size: 0.9rem;
    }
    
    .optional-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .optional-content {
        padding: 1rem;
    }
    
    .form-section .form-group {
        margin-bottom: 1rem;
    }
    
    .form-section .form-group input,
    .form-section .form-group textarea {
        padding: 0.625rem 0.875rem;
        font-size: 0.8rem;
    }
    
    .toggle-optional {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Minimal design mobile adjustments */
    .create-escrow-container {
        padding: 0.75rem;
        margin-top: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .escrow-header {
        margin-bottom: 0.75rem;
    }
    
    .escrow-header h3 {
        font-size: 1rem;
    }
    
    .step-header {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    
    .step-header h4 {
        font-size: 1rem;
    }
    
    .step-header p {
        font-size: 0.8rem;
    }
    
    .step-progress {
        gap: 0.375rem;
        margin-top: 0.375rem;
    }
    
    .step-indicator {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .progress {
        font-size: 0.8rem;
    }
    
    .form-fields {
        gap: 0.75rem;
    }
    
    .field {
        gap: 0.25rem;
    }
    
    .field label {
        font-size: 0.8rem;
    }
    
    .field input,
    .field textarea {
        padding: 0.5rem 0.625rem;
        font-size: 0.8rem;
    }
    
    .profile-info {
        gap: 0.5rem;
    }
    
    .profile-avatar {
        width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
    }
    
    .profile-details h5,
    .profile-details p {
        font-size: 0.8rem;
    }
    
    .profile-stats {
        gap: 0.75rem;
    }
    
    .stat-value {
        font-size: 0.8rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    /* Header mobile adjustments */
    .escrow-header {
        padding: 0.375rem 0.625rem;
        margin-bottom: 0.375rem;
    }
    
    .escrow-header h3 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
        color: #374151;
    }
    
    .step-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .step-header h4 {
        font-size: 0.9rem;
    }
    
    .step-header p {
        font-size: 0.75rem;
    }
    
    .step-progress {
        gap: 0.25rem;
        margin-top: 0.25rem;
    }
    
    .step-indicator {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .progress-container {
        flex-direction: column;
        gap: 0.375rem;
        align-items: stretch;
        margin-top: 0.25rem;
    }
    
    .progress-bar {
        height: 6px;
    }
    
    .progress-text {
        font-size: 0.8rem;
        color: #374151;
    }
    
    .progress-text {
        font-size: 0.8rem;
        text-align: center;
        min-width: auto;
    }
}
    
    .crypto-selector {
        gap: 0.5rem;
    }
    
    .crypto-option {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .crypto-logo {
        width: 24px;
        height: 24px;
    }
    
    .crypto-name {
        font-size: 0.8rem;
    }
    
    .crypto-network {
        font-size: 0.7rem;
    }
    
    .wizard-header,
    .escrows-header {
        padding: 1rem;
    }
    
    .wizard-step {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .step-actions .btn-primary,
    .step-actions .btn-outline {
        width: 100%;
    justify-content: center;
    }
    
    .escrows-table {
    font-size: 0.8rem;
    }
    
    .escrows-table th,
    .escrows-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .escrows-table th:nth-child(2),
    .escrows-table td:nth-child(2) {
        display: none; /* Hide receiver column on mobile */
    }
    
    .profile-drawer {
    width: 100%;
        right: -100%;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 0.75rem;
    }
    
    .drawer-action-btn {
        padding: 0.875rem;
        font-size: 0.8rem;
    }
}

/* Mobile responsive for login/register forms */
@media (max-width: 768px) {
    .login-container {
        padding: 1rem;
    }
    
    .login-card {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .login-header {
        margin-bottom: 1.5rem;
    }
    
    .login-logo {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .login-header h1 {
        font-size: 1.3rem;
    }
    
    .login-header p {
        font-size: 0.8rem;
    }
    
    .login-form {
        gap: 1rem;
    }
    
    .input-group label {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .input-wrapper {
        height: 48px;
        padding-left: 2.75rem;
    }
    
    .input-wrapper input {
        font-size: 0.9rem;
        padding: 0 1rem 0 0.5rem;
    }
    
    .input-icon {
        left: 0.875rem;
        font-size: 0.9rem;
    }
    
    .show-password-checkbox {
        font-size: 0.75rem;
        margin-top: 0.6rem;
        gap: 0.5rem;
    }
    
    .show-password-checkbox input[type="checkbox"] {
        width: 15px;
        height: 15px;
    }
    
    .password-note {
        font-size: 0.75rem;
        padding: 0.75rem;
        margin-top: 0.6rem;
    }
    
    .login-btn {
        height: 30px;
        font-size: 0.75rem;
        padding: 0.45rem 0.875rem;
        margin-top: 0.75rem;
    }
    
    .create-account-btn {
        height: 30px;
        font-size: 0.75rem;
        padding: 0.45rem 0.875rem;
    }
    
    .login-footer {
        margin-top: 1.25rem;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 0.75rem;
    }
    
    .login-card {
        padding: 1.25rem;
    }
    
    .login-header {
        margin-bottom: 1.25rem;
    }
    
    .login-logo {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.875rem;
    }
    
    .login-header h1 {
        font-size: 1.2rem;
    }
    
    .login-header p {
        font-size: 0.75rem;
    }
    
    .login-form {
        gap: 0.875rem;
    }
    
    .input-group label {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }
    
    .input-wrapper {
        height: 44px;
        padding-left: 2.5rem;
    }
    
    .input-wrapper input {
        font-size: 0.85rem;
        padding: 0 0.75rem 0 0.4rem;
    }
    
    .input-icon {
        left: 0.75rem;
        font-size: 0.85rem;
    }
    
    .show-password-checkbox {
        font-size: 0.7rem;
        margin-top: 0.5rem;
        gap: 0.4rem;
    }
    
    .show-password-checkbox input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }
    
    .password-note {
        font-size: 0.7rem;
        padding: 0.6rem;
        margin-top: 0.5rem;
    }
    
    .login-btn {
        height: 30px;
        font-size: 0.75rem;
        padding: 0.45rem 0.875rem;
        margin-top: 0.5rem;
    }
    
    .create-account-btn {
        height: 30px;
        font-size: 0.75rem;
        padding: 0.45rem 0.875rem;
    }
    
    .login-footer {
        margin-top: 1rem;
    }
}

/* Mobile Card Styles for Step 2 */
@media (max-width: 768px) {
    .payment-step-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .step-header {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .step-number {
        font-size: 1.25rem;
    }
    
    .step-title h5 {
        font-size: 1rem;
    }
    
    .step-title p {
        font-size: 0.8rem;
    }
    
    .usd-input-group input {
        font-size: 1.25rem;
        padding: 0.875rem 0.875rem 0.875rem 2.5rem;
    }
    
    .usd-input-group .currency-symbol {
        font-size: 1.25rem;
    }
    
    .fee-item {
        padding: 0.75rem;
    }
    
    .fee-label {
        font-size: 0.875rem;
    }
    
    .fee-value {
        font-size: 1rem;
    }
    
    .current-rate,
    .total-usd {
        padding: 0.75rem;
    }
    
    .rate-label,
    .total-label {
        font-size: 0.8rem;
    }
    
    .rate-value,
    .total-value {
        font-size: 0.875rem;
    }
    
    .crypto-amount-large {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .crypto-amount-large .amount {
        font-size: 2rem;
    }
    
    .crypto-amount-large .crypto-type {
        font-size: 1.25rem;
        padding: 0.375rem 0.75rem;
    }
    
    .confirmation-message {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .confirmation-message .message {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .payment-step-card {
        padding: 0.875rem;
        margin-bottom: 0.875rem;
    }
    
    .step-header {
        gap: 0.5rem;
        margin-bottom: 0.875rem;
    }
    
    .step-number {
        font-size: 1.125rem;
    }
    
    .step-title h5 {
        font-size: 0.9rem;
    }
    
    .step-title p {
        font-size: 0.75rem;
    }
    
    .usd-input-group input {
        font-size: 1.125rem;
        padding: 0.75rem 0.75rem 0.75rem 2.25rem;
    }
    
    .usd-input-group .currency-symbol {
        font-size: 1.125rem;
        left: 0.875rem;
    }
    
    .fee-item {
        padding: 0.625rem;
    }
    
    .fee-label {
        font-size: 0.8rem;
    }
    
    .fee-value {
        font-size: 0.875rem;
    }
    
    .current-rate,
    .total-usd {
        padding: 0.625rem;
    }
    
    .rate-label,
    .total-label {
        font-size: 0.75rem;
    }
    
    .rate-value,
    .total-value {
        font-size: 0.8rem;
    }
    
    .crypto-amount-large {
        padding: 0.875rem;
        gap: 0.5rem;
    }
    
    .crypto-amount-large .amount {
        font-size: 1.75rem;
    }
    
    .crypto-amount-large .crypto-type {
        font-size: 1rem;
        padding: 0.25rem 0.5rem;
    }
    
    .confirmation-message {
        padding: 0.625rem;
        gap: 0.375rem;
    }
    
    .confirmation-message .checkmark {
        font-size: 1rem;
    }
    
    .confirmation-message .message {
        font-size: 0.75rem;
    }
}

/* ========================================
   COMPACT PAYMENT DESIGN - STEP 2
   Minimal, Flat, Compact Design
   ======================================== */

/* Final Crypto Amount Card - White with Yellow Text */
.final-crypto-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 0.5rem;
    margin: 0.5rem 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    text-align: center;
    animation: slideInUp 0.2s ease-out;
}

.final-crypto-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
}

.final-crypto-label {
    color: #f59e0b;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.final-crypto-amount {
    color: #f59e0b;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

.final-crypto-type {
    color: #f59e0b;
    font-size: 0.75rem;
    font-weight: 600;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for final crypto card */
@media (max-width: 768px) {
    .final-crypto-card {
        padding: 0.375rem;
        margin: 0.375rem 0;
    }
    
    .final-crypto-amount {
        font-size: 1rem;
    }
    
    .final-crypto-type {
        font-size: 0.625rem;
    }
    
    .final-crypto-label {
        font-size: 0.5rem;
    }
}

/* ========================================
   COMPACT HISTORY MODAL
   Clean, Compact Design
   ======================================== */

.history-modal-compact {
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.modal-header-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.modal-title-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

.modal-title-compact i {
    color: #6b7280;
    font-size: 0.875rem;
}

.modal-close-compact {
    width: 28px;
    height: 28px;
    border: none;
    background: #f3f4f6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
    font-size: 0.75rem;
}

.modal-close-compact:hover {
    background: #e5e7eb;
    color: #374151;
}

.modal-body-compact {
    padding: 1.25rem;
    max-height: 60vh;
    overflow-y: auto;
}

.client-info-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

.client-avatar-compact {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.client-details-compact {
    flex: 1;
}

.client-name-compact {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.125rem;
}

.client-email-compact {
    font-size: 0.75rem;
    color: #6b7280;
}

.history-list-compact {
    min-height: 120px;
}

.history-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.history-loading i {
    font-size: 0.875rem;
}

.history-item-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
    font-size: 0.75rem;
}

.history-item-compact:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.history-icon-compact {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    color: white;
    flex-shrink: 0;
}

.history-icon-compact.completed {
    background: #10b981;
}

.history-icon-compact.pending {
    background: #f59e0b;
}

.history-icon-compact.refunded {
    background: #ef4444;
}

.history-content-compact {
    flex: 1;
    min-width: 0;
}

.history-title-compact {
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.0625rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-details-compact {
    font-size: 0.625rem;
    color: #6b7280;
    margin-bottom: 0.125rem;
}

.history-amount-compact {
    font-size: 0.625rem;
    font-weight: 600;
    color: #059669;
    display: inline-block;
}

.history-empty-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: #6b7280;
}

.history-empty-compact i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.history-empty-compact h4 {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #374151;
}

.history-empty-compact p {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Responsive adjustments for history modal */
@media (max-width: 768px) {
    .history-modal-compact {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header-compact {
        padding: 0.875rem 1rem;
    }
    
    .modal-body-compact {
        padding: 1rem;
    }
    
    .client-info-compact {
        padding: 0.625rem;
    }
    
    .client-avatar-compact {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    
    .client-name-compact {
        font-size: 0.8rem;
    }
    
    .client-email-compact {
        font-size: 0.7rem;
    }
    
    .history-item-compact {
        padding: 0.25rem 0.375rem;
        gap: 0.375rem;
    }
    
    .history-icon-compact {
        width: 16px;
        height: 16px;
        font-size: 0.5rem;
    }
    
    .history-title-compact {
        font-size: 0.6875rem;
    }
    
    .history-details-compact {
        font-size: 0.5625rem;
    }
    
    .history-amount-compact {
        font-size: 0.5625rem;
    }
}

/* Release Modal - Compact Design */
.release-modal-compact {
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.release-info-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f0f9ff;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.release-icon-compact {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.release-details-compact {
    flex: 1;
}

.release-title-compact {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.release-desc-compact {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
}

.release-amount-compact {
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.amount-label-compact {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.amount-value-compact {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

.delivery-info-compact {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    display: block !important; /* Force visibility for debugging */
}

.delivery-header-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.delivery-header-compact i {
    color: #3b82f6;
}

.delivery-content-compact {
    font-size: 0.75rem;
    color: #374151;
    line-height: 1.4;
    background: #ffffff;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.delivery-details {
    display: block;
}

.delivery-description {
    font-size: 0.75rem;
    color: #1f2937;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.delivery-meta {
    font-size: 0.6875rem;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.375rem;
}

.modal-footer-compact {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.btn-outline-compact {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline-compact:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-primary-compact {
    flex: 1;
    padding: 0.5rem 1rem;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary-compact:hover {
    background: #059669;
}

/* Reject Modal - Compact Design */
.reject-modal-compact {
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.reject-info-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #fef2f2;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.reject-icon-compact {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.reject-details-compact {
    flex: 1;
}

.reject-title-compact {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.reject-desc-compact {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
}

.reject-amount-compact {
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.btn-danger-compact {
    flex: 1;
    padding: 0.5rem 1rem;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-danger-compact:hover {
    background: #dc2626;
}

/* Mobile Responsive for Release/Reject Modals */
@media (max-width: 768px) {
    .release-modal-compact,
    .reject-modal-compact {
        max-width: 95%;
        width: 95%;
        margin: 1rem;
    }
    
    .release-info-compact,
    .reject-info-compact {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .release-icon-compact,
    .reject-icon-compact {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .release-title-compact,
    .reject-title-compact {
        font-size: 0.8125rem;
    }
    
    .release-desc-compact,
    .reject-desc-compact {
        font-size: 0.6875rem;
    }
    
    .modal-footer-compact {
        padding: 0.75rem;
        gap: 0.375rem;
    }
    
    .btn-outline-compact,
    .btn-primary-compact,
    .btn-danger-compact {
        padding: 0.4375rem 0.75rem;
        font-size: 0.8125rem;
    }
}

/* Escrow Actions Inline in List View */
.escrow-item-minimal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.escrow-item-minimal:hover {
    border-color: #d1d5db;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.escrow-info {
    flex: 1;
    min-width: 0;
}

.escrow-actions-inline {
    display: flex;
    gap: 0.375rem;
    flex-shrink: 0;
    margin-left: 0.75rem;
}

.escrow-actions-inline .btn-primary,
.escrow-actions-inline .btn-outline {
    padding: 0.25rem 0.5rem;
    font-size: 0.6875rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.escrow-actions-inline .btn-primary {
    background: #10b981;
    color: white;
    border: none;
}

.escrow-actions-inline .btn-primary:hover {
    background: #059669;
    transform: translateY(-1px);
}

.escrow-actions-inline .btn-outline {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.escrow-actions-inline .btn-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
}

/* Mobile responsive for inline escrow actions */
@media (max-width: 768px) {
    .escrow-item-minimal {
        flex-direction: column;
        align-items: stretch;
        padding: 0.625rem;
    }
    
    .escrow-actions-inline {
        margin-left: 0;
        margin-top: 0.5rem;
        justify-content: flex-end;
        gap: 0.3125rem;
    }
    
    .escrow-actions-inline .btn-primary,
    .escrow-actions-inline .btn-outline {
        padding: 0.1875rem 0.4375rem;
        font-size: 0.625rem;
    }
}

/* Request Release Modal - Compact Design */
.request-release-modal-compact {
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.request-info-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f0f9ff;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.request-icon-compact {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.request-details-compact {
    flex: 1;
}

.request-title-compact {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.request-desc-compact {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
}

.delivery-form-compact {
    margin-bottom: 1rem;
}

.form-group-compact {
    margin-bottom: 1rem;
}

.form-label-compact {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.375rem;
}

.form-textarea-compact {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.2s ease;
}

.form-textarea-compact:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.delivery-amount-compact {
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

/* Mobile responsive for request release modal */
@media (max-width: 768px) {
    .request-release-modal-compact {
        max-width: 95%;
        width: 95%;
        margin: 1rem;
    }
    
    .request-info-compact {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .request-icon-compact {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .request-title-compact {
        font-size: 0.8125rem;
    }
    
    .request-desc-compact {
        font-size: 0.6875rem;
    }
    
    .form-textarea-compact {
        font-size: 0.6875rem;
        min-height: 70px;
    }
}

.payment-compact-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.payment-flow-compact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.payment-row:last-child {
    border-bottom: none;
}

.payment-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    min-width: 120px;
}

.usd-input-compact {
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    min-width: 150px;
}

.usd-input-compact .currency-symbol {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin-right: 0.5rem;
}

.usd-input-compact input {
    border: none;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    outline: none;
    width: 100%;
}

.usd-input-compact input::placeholder {
    color: #9ca3af;
}

.fee-display-compact {
    font-size: 0.875rem;
    color: #374151;
}

.fee-breakdown {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.total-highlight {
    font-weight: 600;
    color: #059669;
}

.conversion-display-compact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.rate-info {
    font-size: 0.75rem;
    color: #6b7280;
}

.rate-label {
    margin-right: 0.25rem;
}

.rate-value {
    font-weight: 500;
    color: #374151;
}

.crypto-amount-final {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.crypto-amount-final .amount {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

.payment-address-compact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.address-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.address-display-compact {
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
}

.address-text {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.75rem;
    color: #374151;
    flex: 1;
    word-break: break-all;
}

.btn-icon-small {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.375rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.btn-icon-small:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #374151;
}

.payment-note-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.payment-note-compact i {
    color: #3b82f6;
}

/* Mobile Responsive for Compact Design */
@media (max-width: 768px) {
    .payment-compact-container {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .payment-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.5rem 0;
    }
    
    .payment-label {
        min-width: auto;
        font-size: 0.8rem;
    }
    
    .usd-input-compact {
        width: 100%;
        min-width: auto;
    }
    
    .conversion-display-compact {
        align-items: flex-start;
    }
    
    .address-display-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .btn-icon-small {
        margin-left: 0;
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .payment-compact-container {
        padding: 0.75rem;
    }
    
    .payment-flow-compact {
        gap: 0.5rem;
    }
    
    .payment-row {
        padding: 0.375rem 0;
    }
    
    .usd-input-compact {
        padding: 0.375rem 0.5rem;
    }
    
    .crypto-amount-final {
        font-size: 0.8rem;
    }
    
    .address-text {
        font-size: 0.7rem;
    }
}