/* Container positioning */
.bharat-currency-widget {
    position: relative;
    font-family: 'Inter', sans-serif;
}

/* The clickable button in your header */
.bharat-currency-display {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f4f8;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #003580;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.bharat-currency-display:hover {
    background: #e2e8f0;
    border-color: #003580;
}

/* The dropdown box */
.bharat-currency-dropdown {
    position: absolute;
    top: 50px; /* Adjust based on your header height */
    right: 0;
    width: 230px;
    background: white;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: none; /* Controlled by JS .active class */
    z-index: 2000;
    border: 1px solid #eee;
}

.bharat-currency-dropdown.active {
    display: block;
    animation: fadeInDown 0.3s ease;
}

/* Dropdown Elements */
.bharat-currency-dropdown h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.bharat-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.bharat-input-group input {
    width: 60%;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    color: #333;
}

.bharat-input-group select {
    width: 40%;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: #003580;
}

.bharat-arrow {
    text-align: center;
    margin-bottom: 10px;
    color: #16a34a; /* Success Green */
    font-size: 14px;
}

.bharat-currency-dropdown small {
    display: block;
    text-align: center;
    font-size: 10px;
    color: #999;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

/* Simple fade animation */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- FIXED HEADER SYSTEM --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

body {
    padding-top: 80px; /* Essential: Prevents content from hiding behind header */
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Navigation Menu */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.main-nav ul li.active a { color: #2563eb; }
.main-nav ul li:nth-child(1) a:hover { color: #003580 !important; }
.main-nav ul li:nth-child(2) a:hover { color: #f39c12 !important; }
.main-nav ul li:nth-child(3) a:hover { color: #27ae60 !important; }
.main-nav ul li:nth-child(4) a:hover { color: #c0392b !important; }

/* Action Buttons */
.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bharat-wa-btn {
    color: #25d366;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bharat-b2b-btn {
    background: #003580;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
}

/* Currency Widget */
.bharat-currency-display {
    background: #f0f4f8;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #003580;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- EXISTING VISA TOOL STYLES --- */
:root {
    --primary: #2563eb;
    --dark: #0f172a;
    --light: #f8fafc;
    --border: #e2e8f0;
}

.hero { background: var(--dark); color: #fff; padding: 60px 0 100px; text-align: center; }
.search-card { 
    background: #fff; padding: 30px; border-radius: 12px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); margin-top: -60px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .main-nav { display: none; } /* Hide menu on mobile to save space */
    .bharat-wa-btn span { display: none; }
}
:root {
    --primary: #2563eb;
    --dark: #0f172a;
    --light: #f8fafc;
    --border: #e2e8f0;
    --success: #16a34a;
    --danger: #dc2626;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background-color: var(--light); color: var(--dark); line-height: 1.6; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* Header */
.main-header { background: #fff; padding: 15px 0; border-bottom: 1px solid var(--border); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; gap: 8px; color: var(--primary); }
.status-pill { font-size: 0.7rem; background: #dcfce7; color: #166534; padding: 4px 10px; border-radius: 20px; font-weight: 600; }

/* Hero & Search */
.hero { background: var(--dark); color: #fff; padding: 60px 0 100px; text-align: center; }
.hero h1 { font-size: 2.2rem; margin-bottom: 10px; }
.hero p { opacity: 0.8; margin-bottom: 30px; }

.search-card { 
    background: #fff; 
    padding: 30px; 
    border-radius: 12px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
    margin-top: -60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    color: var(--dark);
    text-align: left;
}

.input-field { display: flex; flex-direction: column; gap: 8px; }
.input-field label { font-size: 0.8rem; font-weight: 600; color: #64748b; text-transform: uppercase; }
select { padding: 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 1rem; outline: none; background: #fff; }

.btn-primary { background: var(--primary); color: #fff; border: none; padding: 12px; border-radius: 6px; font-weight: 600; cursor: pointer; align-self: flex-end; transition: 0.2s; }
.btn-primary:hover { background: #1d4ed8; }

/* Results */
.results-container { padding: 50px 0; animation: fadeIn 0.4s ease-in-out; }
.result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 2px solid var(--border); padding-bottom: 15px; }
.badge { padding: 6px 14px; border-radius: 4px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; margin-bottom: 30px; }
.stat-item { background: #fff; padding: 20px; border-radius: 8px; border: 1px solid var(--border); text-align: center; }
.stat-item i { font-size: 1.5rem; color: var(--primary); margin-bottom: 8px; }
.stat-item small { display: block; color: #64748b; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.5px; }

.content-split { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.checklist-box { background: #fff; padding: 25px; border-radius: 8px; border: 1px solid var(--border); }
#documentList { list-style: none; margin-top: 15px; }
#documentList li { padding: 10px 0; border-bottom: 1px solid #f1f5f9; display: flex; align-items: flex-start; gap: 10px; }
#documentList li::before { content: "✓"; color: var(--success); font-weight: bold; }

.warning-box { background: #fffbeb; border: 1px solid #fef3c7; padding: 15px; border-radius: 6px; margin-bottom: 20px; }
.btn-secondary { width: 100%; padding: 12px; border: 1px solid var(--border); background: #fff; cursor: pointer; border-radius: 6px; font-weight: 600; }

/* Loader */
.loader-overlay { position: fixed; inset: 0; background: rgba(255,255,255,0.9); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 100; }
.spinner { width: 40px; height: 40px; border: 4px solid #f3f3f3; border-top: 4px solid var(--primary); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 10px; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

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