/**
 * eZZY Wallet Frontend Styles
 * Modern E-Wallet UI Design
 *
 * @package EzzyWallet
 * @since 1.0.0
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    --ezzy-primary: #3b82f6;
    --ezzy-primary-dark: #1d4ed8;
    --ezzy-secondary: #8b5cf6;
    --ezzy-accent: #06b6d4;
    --ezzy-success: #10b981;
    --ezzy-error: #ef4444;
    --ezzy-warning: #f59e0b;
    --ezzy-gold: #fbbf24;
    --ezzy-pink: #ec4899;
    --ezzy-purple: #a855f7;
    --ezzy-text: #1e293b;
    --ezzy-text-light: #64748b;
    --ezzy-text-muted: #94a3b8;
    --ezzy-border: #e2e8f0;
    --ezzy-bg: #f8fafc;
    --ezzy-bg-light: #f1f5f9;
    --ezzy-white: #ffffff;
    --ezzy-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --ezzy-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --ezzy-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --ezzy-radius: 16px;
    --ezzy-radius-lg: 24px;
    --ezzy-radius-sm: 8px;
    --ezzy-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

.ezzy-wallet-landing,
.ezzy-wallet-dashboard-placeholder,
.ezzy-wallet-maintenance {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: var(--ezzy-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.ezzy-wallet-landing *,
.ezzy-wallet-dashboard-placeholder *,
.ezzy-wallet-maintenance * {
    box-sizing: border-box;
}

/* ==========================================================================
   Hero Section - Gradient Background
   ========================================================================== */

.ezzy-hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #c7d2fe 0%, #e0e7ff 25%, #f0fdf4 50%, #a7f3d0 75%, #6ee7b7 100%);
    padding: 60px 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Animated Background Shapes */
.ezzy-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.ezzy-bg-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.ezzy-bg-shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #34d399, #10b981);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.ezzy-bg-shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    top: 50%;
    right: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(20px, 10px) rotate(3deg);
    }
}

.ezzy-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Logo Styling - Matching the eZZY Wallet Brand
   ========================================================================== */

.ezzy-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 40px;
}

.ezzy-logo-main {
    display: flex;
    align-items: center;
    gap: 2px;
}

.ezzy-logo-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -2px;
}

.ezzy-logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 6px rgba(59, 130, 246, 0.3));
}

.ezzy-logo-text {
    display: flex;
    align-items: baseline;
    font-size: 36px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.02em;
}

.ezzy-logo-zzy {
    color: var(--ezzy-primary);
}

.ezzy-logo-wallet {
    color: var(--ezzy-primary);
    margin-left: 6px;
}

.ezzy-logo-tagline {
    font-size: 13px;
    color: var(--ezzy-text-light);
    font-style: italic;
    font-weight: 400;
    margin: -5px 0 0 0;
    padding-left: 152px;
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Hero Content
   ========================================================================== */

.ezzy-hero-content {
    max-width: 540px;
}

.ezzy-hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--ezzy-text);
    margin: 0 0 20px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.ezzy-hero-subtitle {
    font-size: 17px;
    color: var(--ezzy-text-light);
    margin: 0 0 40px;
    line-height: 1.7;
}

.ezzy-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ezzy-hero-footer {
    font-size: 13px;
    color: var(--ezzy-primary);
    margin-top: 60px;
    font-weight: 500;
}

/* ==========================================================================
   Buttons - Modern Pill Style
   ========================================================================== */

.ezzy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--ezzy-transition);
    text-decoration: none;
    min-width: 170px;
    position: relative;
    overflow: hidden;
}

.ezzy-btn-primary {
    background: linear-gradient(135deg, var(--ezzy-primary) 0%, var(--ezzy-primary-dark) 100%);
    color: var(--ezzy-white);
    border-color: var(--ezzy-primary);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.ezzy-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.45);
}

.ezzy-btn-secondary {
    background: var(--ezzy-white);
    color: var(--ezzy-text);
    border-color: var(--ezzy-border);
    box-shadow: var(--ezzy-shadow);
}

.ezzy-btn-secondary:hover {
    border-color: var(--ezzy-primary);
    color: var(--ezzy-primary);
    transform: translateY(-2px);
    box-shadow: var(--ezzy-shadow-lg);
}

.ezzy-btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--ezzy-primary) 0%, var(--ezzy-primary-dark) 100%);
    color: var(--ezzy-white);
    border-color: var(--ezzy-primary);
    padding: 18px 36px;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.ezzy-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.45);
}

/* ==========================================================================
   Hero Visual - 3D Wallet Illustration
   ========================================================================== */

.ezzy-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ezzy-wallet-illustration {
    position: relative;
    width: 450px;
    height: 450px;
}

/* Phone */
.ezzy-phone {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 180px;
    height: 320px;
    background: linear-gradient(145deg, #ffffff, #f3f4f6);
    border-radius: 30px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    transform: perspective(800px) rotateY(-15deg) rotateX(5deg);
    z-index: 3;
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: perspective(800px) rotateY(-15deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(800px) rotateY(-15deg) rotateX(5deg) translateY(-15px); }
}

.ezzy-phone-screen {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(180deg, #1e3a5f 0%, #2d5a87 50%, #7dd3fc 100%);
    border-radius: 22px;
    overflow: hidden;
}

.ezzy-phone-header {
    display: flex;
    justify-content: center;
    padding: 12px;
}

.ezzy-phone-notch {
    width: 60px;
    height: 20px;
    background: #1e293b;
    border-radius: 10px;
}

.ezzy-phone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.ezzy-phone-coin {
    width: 80px;
    height: 80px;
    animation: coinSpin 4s ease-in-out infinite;
}

@keyframes coinSpin {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
}

.ezzy-phone-waves {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    height: 80px;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50% 50% 0 0;
}

.wave-1 { bottom: 0; animation: wave 3s ease-in-out infinite; }
.wave-2 { bottom: 15px; opacity: 0.6; animation: wave 3s ease-in-out infinite 0.3s; }
.wave-3 { bottom: 30px; opacity: 0.3; animation: wave 3s ease-in-out infinite 0.6s; }

@keyframes wave {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(1.1); }
}

/* Physical Wallet */
.ezzy-physical-wallet {
    position: absolute;
    bottom: 40px;
    right: 60px;
    width: 200px;
    height: 130px;
    z-index: 2;
    animation: walletFloat 5s ease-in-out infinite 1s;
}

@keyframes walletFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
}

.ezzy-wallet-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ec4899, #db2777);
    border-radius: 12px;
    box-shadow: 
        0 20px 40px rgba(219, 39, 119, 0.3),
        inset 0 -5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.ezzy-wallet-flap {
    position: absolute;
    top: -15px;
    left: 10px;
    right: 10px;
    height: 30px;
    background: linear-gradient(145deg, #f472b6, #ec4899);
    border-radius: 8px 8px 0 0;
    z-index: -1;
}

.ezzy-wallet-button {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #d1d5db;
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ezzy-credit-card {
    position: absolute;
    top: 20px;
    left: 15px;
    width: 120px;
    height: 75px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: rotate(-8deg);
}

.ezzy-card-chip {
    position: absolute;
    top: 15px;
    left: 12px;
    width: 25px;
    height: 20px;
    background: linear-gradient(145deg, #fbbf24, #f59e0b);
    border-radius: 4px;
}

.ezzy-card-lines {
    position: absolute;
    bottom: 15px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-line {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

/* Floating Coins */
.ezzy-floating-coins {
    position: absolute;
    bottom: 80px;
    left: 30px;
}

.ezzy-coin {
    position: absolute;
    filter: drop-shadow(0 8px 16px rgba(217, 119, 6, 0.4));
}

.ezzy-coin-1 {
    width: 50px;
    height: 50px;
    bottom: 0;
    left: 0;
    animation: coinBounce 2s ease-in-out infinite;
}

.ezzy-coin-2 {
    width: 45px;
    height: 45px;
    bottom: 35px;
    left: 25px;
    animation: coinBounce 2s ease-in-out infinite 0.3s;
}

.ezzy-coin-3 {
    width: 40px;
    height: 40px;
    bottom: 65px;
    left: 10px;
    animation: coinBounce 2s ease-in-out infinite 0.6s;
}

@keyframes coinBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Receipt */
.ezzy-receipt {
    position: absolute;
    bottom: 20px;
    left: 60px;
    width: 80px;
    padding: 15px 10px;
    background: var(--ezzy-white);
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1;
    animation: receiptFloat 4s ease-in-out infinite 2s;
}

@keyframes receiptFloat {
    0%, 100% { transform: translateY(0) rotate(3deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

.receipt-line {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-bottom: 6px;
}

.receipt-line.short {
    width: 60%;
}

.receipt-qr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    width: 30px;
    margin: 10px auto;
}

.qr-square {
    width: 12px;
    height: 12px;
    background: var(--ezzy-text);
    border-radius: 2px;
}

.receipt-text {
    text-align: center;
    font-size: 8px;
    font-weight: 700;
    color: var(--ezzy-text);
    margin: 8px 0 0;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Forms Section
   ========================================================================== */

.ezzy-forms-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #f0fdf4 0%, var(--ezzy-bg) 100%);
}

.ezzy-forms-container {
    max-width: 440px;
    margin: 0 auto;
}

.ezzy-form-wrapper {
    display: none;
}

.ezzy-form-card {
    background: var(--ezzy-white);
    border-radius: var(--ezzy-radius-lg);
    box-shadow: var(--ezzy-shadow-xl);
    padding: 48px 40px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.ezzy-form-header {
    text-align: center;
    margin-bottom: 36px;
}

.ezzy-form-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    margin-bottom: 20px;
}

.ezzy-form-logo-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -1px;
}

.ezzy-form-logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
}

.ezzy-form-logo-text {
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
    color: var(--ezzy-primary);
    letter-spacing: -0.01em;
}

.ezzy-form-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--ezzy-text);
    margin: 0 0 8px;
}

.ezzy-form-header p {
    font-size: 15px;
    color: var(--ezzy-text-light);
    margin: 0;
}

/* ==========================================================================
   Form Error Message
   ========================================================================== */

.ezzy-form-error {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #fecaca;
    border-radius: var(--ezzy-radius-sm);
    margin-bottom: 28px;
    color: var(--ezzy-error);
    font-size: 14px;
    font-weight: 500;
}

.ezzy-form-error svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* ==========================================================================
   Form Groups
   ========================================================================== */

.ezzy-form-group {
    margin-bottom: 22px;
}

.ezzy-form-group:last-child {
    margin-bottom: 0;
}

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

.ezzy-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ezzy-input-wrapper > svg {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: var(--ezzy-text-muted);
    pointer-events: none;
    transition: var(--ezzy-transition);
}

.ezzy-input-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 50px;
    font-size: 15px;
    border: 2px solid var(--ezzy-border);
    border-radius: var(--ezzy-radius);
    background: var(--ezzy-bg-light);
    color: var(--ezzy-text);
    transition: var(--ezzy-transition);
}

.ezzy-input-wrapper input:focus {
    outline: none;
    border-color: var(--ezzy-primary);
    background: var(--ezzy-white);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.ezzy-input-wrapper input:focus + svg,
.ezzy-input-wrapper:focus-within > svg {
    color: var(--ezzy-primary);
}

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

/* Password Toggle */
.ezzy-password-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--ezzy-text-muted);
    transition: var(--ezzy-transition);
}

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

.ezzy-password-toggle svg {
    position: static;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

/* Input States */
.ezzy-input-wrapper.ezzy-input-error input {
    border-color: var(--ezzy-error);
    background: #fef2f2;
}

.ezzy-input-wrapper.ezzy-input-success input {
    border-color: var(--ezzy-success);
    background: #f0fdf4;
}

/* Input Hint */
.ezzy-input-hint {
    font-size: 12px;
    color: var(--ezzy-text-muted);
    margin-top: 8px;
    padding-left: 4px;
}

.ezzy-input-hint.ezzy-hint-success {
    color: var(--ezzy-success);
    font-weight: 500;
}

/* ==========================================================================
   Form Footer
   ========================================================================== */

.ezzy-form-footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--ezzy-border);
}

.ezzy-form-footer p {
    font-size: 14px;
    color: var(--ezzy-text-light);
    margin: 0;
}

.ezzy-form-switch {
    color: var(--ezzy-primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--ezzy-transition);
}

.ezzy-form-switch:hover {
    color: var(--ezzy-primary-dark);
    text-decoration: underline;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.ezzy-features-section {
    padding: 80px 20px;
    background: var(--ezzy-white);
}

.ezzy-features-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.ezzy-feature {
    text-align: center;
    padding: 40px 30px;
    background: var(--ezzy-bg-light);
    border-radius: var(--ezzy-radius-lg);
    transition: var(--ezzy-transition);
}

.ezzy-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--ezzy-shadow-lg);
}

.ezzy-feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--ezzy-primary) 0%, var(--ezzy-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.ezzy-feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--ezzy-white);
}

.ezzy-feature h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--ezzy-text);
    margin: 0 0 12px;
}

.ezzy-feature p {
    font-size: 15px;
    color: var(--ezzy-text-light);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   Dashboard Placeholder
   ========================================================================== */

.ezzy-wallet-dashboard-placeholder {
    padding: 80px 20px;
    background: linear-gradient(135deg, #c7d2fe 0%, #a7f3d0 50%, #6ee7b7 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ezzy-wallet-dashboard-placeholder::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    filter: blur(80px);
    top: -100px;
    left: -100px;
}

.ezzy-wallet-dashboard-placeholder::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(52, 211, 153, 0.3);
    border-radius: 50%;
    filter: blur(80px);
    bottom: -150px;
    right: -100px;
}

.ezzy-dashboard-container {
    max-width: 480px;
    background: var(--ezzy-white);
    border-radius: var(--ezzy-radius-lg);
    padding: 56px 48px;
    text-align: center;
    box-shadow: var(--ezzy-shadow-xl);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.ezzy-welcome-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--ezzy-primary) 0%, var(--ezzy-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.35);
}

.ezzy-welcome-icon svg {
    width: 44px;
    height: 44px;
    color: var(--ezzy-white);
}

.ezzy-dashboard-container h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--ezzy-text);
    margin: 0 0 12px;
}

.ezzy-user-greeting {
    font-size: 20px;
    color: var(--ezzy-primary);
    font-weight: 600;
    margin: 0 0 20px;
}

.ezzy-placeholder-message {
    font-size: 15px;
    color: var(--ezzy-text-light);
    margin: 0 0 36px;
    line-height: 1.7;
}

.ezzy-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ezzy-error);
    background: #fef2f2;
    border: 2px solid #fecaca;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--ezzy-transition);
}

.ezzy-logout-btn:hover {
    background: var(--ezzy-error);
    color: var(--ezzy-white);
    border-color: var(--ezzy-error);
    transform: translateY(-2px);
}

/* ==========================================================================
   Maintenance Mode
   ========================================================================== */

.ezzy-wallet-maintenance {
    padding: 80px 20px;
    background: linear-gradient(135deg, #c7d2fe 0%, #e0e7ff 50%, #f5d0fe 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ezzy-maintenance-container {
    max-width: 480px;
    background: var(--ezzy-white);
    border-radius: var(--ezzy-radius-lg);
    padding: 56px 48px;
    text-align: center;
    box-shadow: var(--ezzy-shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.ezzy-maintenance-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}

.ezzy-maintenance-icon svg {
    width: 44px;
    height: 44px;
    color: var(--ezzy-error);
}

.ezzy-maintenance-container h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--ezzy-text);
    margin: 0 0 16px;
}

.ezzy-maintenance-container p {
    font-size: 16px;
    color: var(--ezzy-text-light);
    margin: 0;
    line-height: 1.7;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media screen and (max-width: 1200px) {
    .ezzy-hero-container {
        gap: 60px;
    }

    .ezzy-wallet-illustration {
        width: 380px;
        height: 380px;
    }

    .ezzy-phone {
        width: 150px;
        height: 270px;
    }

    .ezzy-physical-wallet {
        width: 170px;
        height: 110px;
    }
}

@media screen and (max-width: 1024px) {
    .ezzy-hero-section {
        padding: 50px 30px;
    }

    .ezzy-hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .ezzy-hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .ezzy-logo {
        align-items: center;
    }

    .ezzy-logo-tagline {
        padding-left: 106px;
    }

    .ezzy-hero-buttons {
        justify-content: center;
    }

    .ezzy-hero-visual {
        order: -1;
    }

    .ezzy-wallet-illustration {
        width: 350px;
        height: 350px;
    }
}

@media screen and (max-width: 768px) {
    .ezzy-hero-section {
        padding: 40px 20px;
        min-height: auto;
    }

    .ezzy-hero-title {
        font-size: 40px;
    }

    .ezzy-hero-subtitle {
        font-size: 15px;
    }

    .ezzy-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .ezzy-btn {
        width: 100%;
        max-width: 280px;
    }

    .ezzy-wallet-illustration {
        width: 300px;
        height: 300px;
    }

    .ezzy-phone {
        width: 130px;
        height: 230px;
        right: 10px;
    }

    .ezzy-physical-wallet {
        width: 150px;
        height: 95px;
        right: 40px;
        bottom: 30px;
    }

    .ezzy-form-card {
        padding: 36px 28px;
    }

    .ezzy-features-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ezzy-feature {
        padding: 30px 24px;
    }

    .ezzy-dashboard-container,
    .ezzy-maintenance-container {
        padding: 40px 28px;
        margin: 0 15px;
    }
}

@media screen and (max-width: 480px) {
    .ezzy-hero-title {
        font-size: 32px;
    }

    .ezzy-logo-text {
        font-size: 28px;
    }

    .ezzy-logo-icon {
        width: 40px;
        height: 40px;
    }

    .ezzy-form-header h2 {
        font-size: 26px;
    }

    .ezzy-input-wrapper input {
        padding: 14px 14px 14px 46px;
        font-size: 14px;
    }

    .ezzy-wallet-illustration {
        width: 260px;
        height: 260px;
    }

    .ezzy-phone {
        width: 110px;
        height: 195px;
    }

    .ezzy-physical-wallet {
        width: 130px;
        height: 82px;
    }

    .ezzy-floating-coins {
        left: 15px;
    }

    .ezzy-receipt {
        left: 40px;
        width: 65px;
        padding: 12px 8px;
    }
}

/* ==========================================================================
   Enhanced Signup Form Styles
   ========================================================================== */

/* Signup form card - allow scrolling for longer form */
.ezzy-form-card-signup {
    max-height: 90vh;
    overflow-y: auto;
}

/* Form row for side-by-side fields */
.ezzy-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media screen and (max-width: 600px) {
    .ezzy-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Required field indicator */
.ezzy-form-group label .required {
    color: var(--ezzy-error);
    margin-left: 2px;
}

/* Select wrapper */
.ezzy-select-wrapper {
    position: relative;
}

.ezzy-select-wrapper select {
    width: 100%;
    padding: 16px 16px 16px 50px;
    font-size: 15px;
    border: 2px solid var(--ezzy-border);
    border-radius: var(--ezzy-radius);
    background: var(--ezzy-bg-light);
    color: var(--ezzy-text);
    transition: var(--ezzy-transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 45px;
}

.ezzy-select-wrapper select:focus {
    outline: none;
    border-color: var(--ezzy-primary);
    background-color: var(--ezzy-white);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.ezzy-select-wrapper select option {
    padding: 10px;
}

/* Date input styling */
.ezzy-input-wrapper input[type="date"] {
    padding-right: 16px;
}

.ezzy-input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    transition: var(--ezzy-transition);
}

.ezzy-input-wrapper input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Checkbox styling */
.ezzy-form-checkbox {
    margin-top: 8px;
}

.ezzy-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 12px;
    line-height: 1.5;
}

.ezzy-checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.ezzy-checkbox-custom {
    position: relative;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    background: #ffffff;
    border: 2px solid #94a3b8;
    border-radius: 4px;
    transition: var(--ezzy-transition);
    margin-top: 0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ezzy-checkbox-wrapper:hover .ezzy-checkbox-custom {
    border-color: var(--ezzy-primary);
    background: #f8fafc;
}

.ezzy-checkbox-wrapper input[type="checkbox"]:checked + .ezzy-checkbox-custom {
    background: var(--ezzy-primary);
    border-color: var(--ezzy-primary);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.ezzy-checkbox-wrapper input[type="checkbox"]:checked + .ezzy-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.ezzy-checkbox-wrapper input[type="checkbox"]:focus + .ezzy-checkbox-custom {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
    border-color: var(--ezzy-primary);
}

.ezzy-checkbox-label {
    font-size: 14px;
    color: var(--ezzy-text);
    font-weight: 400;
    line-height: 1.6;
    padding-top: 2px;
}

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

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

.ezzy-checkbox-label .required {
    color: var(--ezzy-error);
    margin-left: 2px;
}

