/* Premium CSS Design System - SendMoney Decoupled Client */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0A1128;         /* Deep Premium Dark Navy */
    --secondary: #E7B001;       /* Gold Accent */
    --accent: #00E5FF;          /* Electric Blue Micro-highlights */
    --success: #00E676;         /* Bright Emerald Green */
    --danger: #FF1744;          /* Soft Vivid Red */
    --text-light: #F4F6F9;
    --text-dark: #1E293B;
    --bg-light: #F8FAFC;
    --bg-dark: #070B19;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --font-primary: 'Outfit', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Navbar */
.navbar-custom {
    background-color: var(--primary);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 30px;
    backdrop-filter: blur(10px);
}

.navbar-brand-custom {
    font-weight: 800;
    font-size: 24px;
    color: var(--text-light) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-brand-custom span {
    color: var(--secondary);
}

.nav-link-custom {
    color: rgba(244, 246, 249, 0.8) !important;
    font-weight: 500;
    transition: var(--transition-smooth);
    text-decoration: none;
    cursor: pointer;
}

.nav-link-custom:hover {
    color: var(--secondary) !important;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 80% 20%, rgba(231, 176, 1, 0.15) 0%, transparent 50%), 
                linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Premium Buttons */
.btn-gold {
    background-color: var(--secondary);
    color: var(--primary) !important;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(231, 176, 1, 0.3);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-gold:hover {
    background-color: #F9C002;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 176, 1, 0.45);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--secondary) !important;
    border: 2px solid var(--secondary);
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 26px;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-outline-gold:hover {
    background-color: var(--secondary);
    color: var(--primary) !important;
    transform: translateY(-2px);
}

/* Premium Cards */
.card-premium {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    padding: 30px;
    transition: var(--transition-smooth);
}

.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    color: var(--text-light);
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Inputs & Form styling */
.form-group-custom {
    margin-bottom: 20px;
}

.form-group-custom label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.form-control-custom {
    background-color: #F8FAFC;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 16px;
    font-family: var(--font-primary);
    transition: var(--transition-smooth);
    color: var(--text-dark);
    width: 100%;
    box-sizing: border-box;
}

.form-control-custom:focus {
    border-color: var(--secondary);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(231, 176, 1, 0.15);
    outline: none;
}

/* Step tracker style */
.step-item {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background-color: rgba(231, 176, 1, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.step-item.active .step-icon {
    background-color: var(--secondary);
    color: var(--primary);
}

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

/* Modal view screen layers */
.screen-layer {
    display: none;
}

.screen-layer.active {
    display: block;
}

/* Stripe elements wrapper */
#card-element {
    background: #F8FAFC;
    padding: 16px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

#card-element.StripeElement--focus {
    border-color: var(--secondary);
    background-color: white;
}

/* Interactive Quote fields */
.exchange-flow-container {
    background: #0A1128;
    border-radius: 16px;
    padding: 24px;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.currency-input-row {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.currency-input-row input {
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    font-weight: 700;
    width: 60%;
    outline: none;
}

.currency-select {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
}

.rate-details-column {
    margin: 20px 0;
    padding-left: 20px;
    border-left: 2px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    flex-column: true;
    gap: 8px;
}

.rate-detail-item {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.rate-detail-item span {
    color: white;
    font-weight: 600;
}

/* Footer styling */
.footer-custom {
    background-color: var(--primary);
    color: var(--text-light);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
}

.footer-link {
    color: rgba(244, 246, 249, 0.6) !important;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--secondary) !important;
}
