/* ============================================================
   CURRENCY CONVERTER — CalcTechLab
   Professional, fun-loving UI — full refresh
   ============================================================ */

:root {
    --cc-primary:       #06b6d4;   /* brand cyan */
    --cc-primary-dark:  #0891b2;
    --cc-accent:        #f59e0b;   /* gold */
    --cc-accent-light:  #fbbf24;
    --cc-success:       #10b981;
    --cc-emerald-50:    #ecfdf5;
    --cc-blue-50:       #eff6ff;
    --cc-slate-50:      #f8fafc;
    --cc-radius:        14px;
    --cc-radius-sm:     10px;
    --cc-radius-pill:   999px;
    --cc-shadow:        0 2px 8px rgba(15, 23, 42, 0.06);
    --cc-shadow-md:     0 8px 24px rgba(15, 23, 42, 0.08);
    --cc-shadow-lg:     0 20px 48px rgba(15, 23, 42, 0.12);
    --cc-gradient:      linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
    --cc-gradient-soft: linear-gradient(135deg, #ecfeff 0%, #dbeafe 50%, #ede9fe 100%);
    --cc-gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

[data-theme="dark"] {
    --cc-shadow:        0 2px 8px rgba(0, 0, 0, 0.3);
    --cc-shadow-md:     0 8px 24px rgba(0, 0, 0, 0.4);
    --cc-shadow-lg:     0 20px 48px rgba(0, 0, 0, 0.5);
    --cc-gradient-soft: linear-gradient(135deg, #083344 0%, #1e3a8a 50%, #4c1d95 100%);
    --cc-slate-50:      #0f172a;
    --cc-emerald-50:    #022c22;
    --cc-blue-50:       #0c2a5e;
}

/* ============================================================
   WRAPPER
   ============================================================ */
.cc-wrapper {
    padding: 0;
}

/* ============================================================
   HERO STAT BAR (just above main tool)
   ============================================================ */
.cc-hero-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--cc-gradient);
    border-radius: var(--cc-radius);
    color: #fff;
    box-shadow: var(--cc-shadow-md);
    position: relative;
    overflow: hidden;
}

.cc-hero-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15) 0, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.12) 0, transparent 40%);
    pointer-events: none;
}

.cc-hero-stat {
    flex: 1 1 180px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.cc-hero-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.25);
}

.cc-hero-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    font-weight: 600;
    margin-bottom: 2px;
}

.cc-hero-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.cc-hero-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    margin-right: 6px;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: cc-pulse 2s infinite;
    vertical-align: middle;
}

@keyframes cc-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ============================================================
   CARDS
   ============================================================ */
.cc-card {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: var(--cc-radius);
    overflow: hidden;
    box-shadow: var(--cc-shadow);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.cc-card:hover {
    box-shadow: var(--cc-shadow-md);
}

.cc-card-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9rem 1.15rem;
    background: var(--bg-secondary, var(--cc-slate-50));
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    font-size: 0.95rem;
}

.cc-card-header i {
    color: var(--cc-primary);
    font-size: 1rem;
}

.cc-card-body {
    padding: 1.35rem;
}

.cc-card-body.p-0 {
    padding: 0;
}

/* ============================================================
   FORM GROUPS, LABELS, INPUTS
   ============================================================ */
.cc-form-group {
    margin-bottom: 1.15rem;
}

.cc-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-primary, #1e293b);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cc-label i {
    color: var(--cc-primary);
}

.cc-input-wrapper {
    position: relative;
}

.cc-input {
    width: 100%;
    padding: 0.95rem 1.1rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    background: var(--bg-input, #fff);
    border: 2px solid var(--border-color, #e2e8f0);
    border-radius: var(--cc-radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-variant-numeric: tabular-nums;
}

.cc-input:focus {
    outline: none;
    border-color: var(--cc-primary);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

.cc-input.cc-input-sm {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.55rem 0.9rem 0.55rem 2.3rem;
}

.cc-select {
    width: 100%;
    padding: 0.85rem 2.6rem 0.85rem 1.1rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    background-color: var(--bg-input, #fff);
    border: 2px solid var(--border-color, #e2e8f0);
    border-radius: var(--cc-radius-sm);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath fill='%2306b6d4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cc-select:focus {
    outline: none;
    border-color: var(--cc-primary);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

.cc-select.cc-select-sm {
    padding: 0.55rem 2.3rem 0.55rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================================
   SWAP BUTTON (animated)
   ============================================================ */
.cc-swap-row {
    display: flex;
    justify-content: center;
    margin: -0.4rem 0 0.7rem 0;
    position: relative;
}

.cc-swap-row::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color, #e2e8f0), transparent);
    z-index: 0;
}

.cc-swap-btn {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--cc-gradient);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.cc-swap-btn:hover {
    transform: rotate(180deg) scale(1.08);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

.cc-swap-btn:active {
    transform: rotate(180deg) scale(0.96);
}

/* ============================================================
   CONVERT BUTTON
   ============================================================ */
.cc-convert-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    background: var(--cc-gradient);
    background-size: 200% 200%;
    background-position: 0% 50%;
    border: none;
    border-radius: var(--cc-radius-sm);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cc-convert-btn:hover:not(:disabled) {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(6, 182, 212, 0.45);
}

.cc-convert-btn:active {
    transform: translateY(0);
}

.cc-convert-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.cc-convert-btn .btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* ============================================================
   ALERT
   ============================================================ */
.cc-alert {
    padding: 0.75rem 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: var(--cc-radius-sm);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

[data-theme="dark"] .cc-alert {
    background: rgba(153, 27, 27, 0.2);
    border-color: rgba(248, 113, 113, 0.3);
    color: #fecaca;
}

/* ============================================================
   PRIVACY NOTE
   ============================================================ */
.cc-privacy-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary, #64748b);
    padding-top: 0.6rem;
    border-top: 1px dashed var(--border-color, #e2e8f0);
}

.cc-privacy-note i {
    color: var(--cc-success);
}

/* ============================================================
   PLACEHOLDER (pre-conversion state)
   ============================================================ */
.cc-placeholder {
    min-height: 100%;
    background: var(--cc-gradient-soft);
    border: 1px dashed rgba(6, 182, 212, 0.35);
    border-radius: var(--cc-radius);
    padding: 2.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.cc-placeholder-inner {
    max-width: 340px;
}

.cc-placeholder-icon {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    animation: cc-float 3.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes cc-float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%      { transform: translateY(-8px) rotate(2deg); }
}

.cc-placeholder h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    margin: 0 0 0.35rem 0;
}

.cc-placeholder p {
    font-size: 0.88rem;
    color: var(--text-secondary, #64748b);
    margin: 0 0 1.25rem 0;
}

.cc-placeholder-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    text-align: left;
    margin-top: 0.5rem;
}

.cc-placeholder-feature {
    font-size: 0.78rem;
    color: var(--text-primary, #1e293b);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.cc-placeholder-feature i {
    color: var(--cc-success);
    font-size: 0.7rem;
    width: 16px;
    height: 16px;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ============================================================
   RESULT HERO
   ============================================================ */
.cc-result-section {
    animation: cc-fadein 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cc-fadein {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cc-result-hero {
    position: relative;
    padding: 1.6rem 1.5rem;
    background: var(--cc-gradient);
    color: #fff;
    border-radius: var(--cc-radius);
    box-shadow: var(--cc-shadow-md);
    overflow: hidden;
    text-align: center;
}

.cc-result-hero::before,
.cc-result-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cc-result-hero::before {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
    top: -110px;
    right: -60px;
}

.cc-result-hero::after {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 60%);
    bottom: -90px;
    left: -40px;
}

.cc-result-from,
.cc-result-to {
    position: relative;
    z-index: 1;
}

.cc-result-amount {
    display: block;
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    font-size: 1.5rem;
}

.cc-result-amount-large {
    font-size: 2.4rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.cc-result-name {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.88;
    margin-top: 0.15rem;
    letter-spacing: 0.02em;
}

.cc-result-equals {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    margin: 0.7rem auto;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

/* ============================================================
   RATE INFO STRIP
   ============================================================ */
.cc-rate-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1rem;
}

.cc-rate-item {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: var(--cc-radius-sm);
    padding: 0.75rem 0.8rem;
    text-align: center;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.cc-rate-item:hover {
    border-color: var(--cc-primary);
    transform: translateY(-2px);
}

.cc-rate-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary, #64748b);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.cc-rate-value {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   REFERENCE TABLE
   ============================================================ */
.cc-reference-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.cc-reference-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.cc-reference-table th {
    padding: 0.7rem 1rem;
    background: var(--bg-secondary, var(--cc-slate-50));
    color: var(--text-secondary, #64748b);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: left;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.cc-reference-table td {
    padding: 0.7rem 1rem;
    color: var(--text-primary, #1e293b);
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

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

.cc-reference-table tr:hover td {
    background: rgba(6, 182, 212, 0.04);
}

[data-theme="dark"] .cc-reference-table tr:hover td {
    background: rgba(6, 182, 212, 0.08);
}

/* ============================================================
   POPULAR PAIR CARDS
   ============================================================ */
.cc-popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.85rem;
}

.popular-pair-card {
    position: relative;
    padding: 1.15rem 1rem;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: var(--cc-radius);
    cursor: pointer;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.popular-pair-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--cc-gradient);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
}

.popular-pair-card > * {
    position: relative;
    z-index: 1;
    transition: color 0.25s ease;
}

.popular-pair-card:hover {
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: var(--cc-shadow-md);
}

.popular-pair-card:hover::before {
    opacity: 1;
}

.popular-pair-card:hover .cc-pair-codes,
.popular-pair-card:hover .cc-pair-names,
.popular-pair-card:hover .cc-pair-arrow {
    color: #fff;
}

.cc-pair-flags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-size: 1.5rem;
    margin-bottom: 0.55rem;
}

.cc-pair-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

.cc-pair-arrow {
    color: var(--cc-primary);
    font-size: 0.9rem;
}

.cc-pair-codes {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary, #1e293b);
    letter-spacing: 0.02em;
    margin-bottom: 0.2rem;
}

.cc-pair-names {
    font-size: 0.72rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.3;
}

/* ============================================================
   RATES CONTROLS
   ============================================================ */
.cc-rates-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: end;
}

.cc-search-wrapper {
    position: relative;
}

.cc-search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary, #64748b);
    font-size: 0.85rem;
    pointer-events: none;
}

/* ============================================================
   LIVE RATES TABLE
   ============================================================ */
.cc-rates-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.cc-rates-table thead {
    background: var(--bg-secondary, var(--cc-slate-50));
}

.cc-rates-table th {
    padding: 0.8rem 1rem;
    color: var(--text-secondary, #64748b);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: left;
    border-bottom: 2px solid var(--border-color, #e2e8f0);
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--bg-secondary, var(--cc-slate-50));
}

.cc-rates-table td {
    padding: 0.8rem 1rem;
    color: var(--text-primary, #1e293b);
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    vertical-align: middle;
}

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

.cc-rates-table tr:hover td {
    background: rgba(6, 182, 212, 0.04);
}

[data-theme="dark"] .cc-rates-table tr:hover td {
    background: rgba(6, 182, 212, 0.08);
}

.cc-rates-table .currency-flag {
    font-size: 1.15rem;
    margin-right: 0.6rem;
    vertical-align: middle;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.08));
}

.cc-rates-table .currency-name {
    font-weight: 500;
}

.cc-rates-table .currency-code {
    display: inline-block;
    padding: 0.18rem 0.6rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--cc-primary-dark);
    border-radius: var(--cc-radius-pill);
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

[data-theme="dark"] .cc-rates-table .currency-code {
    background: rgba(6, 182, 212, 0.18);
    color: #67e8f9;
}

.cc-rates-table .rate-value {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--cc-primary-dark);
}

[data-theme="dark"] .cc-rates-table .rate-value {
    color: #67e8f9;
}

.cc-rates-table .currency-symbol {
    color: var(--text-secondary, #64748b);
    font-weight: 500;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.cc-faq-item {
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: var(--cc-radius-sm);
    overflow: hidden;
    margin-bottom: 0.65rem;
    background: var(--bg-card, #fff);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cc-faq-item:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: var(--cc-shadow);
}

.cc-faq-btn {
    width: 100%;
    padding: 1rem 1.15rem;
    background: transparent;
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary, #1e293b);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.cc-faq-btn:hover {
    color: var(--cc-primary);
    background: rgba(6, 182, 212, 0.04);
}

.cc-faq-btn i {
    color: var(--cc-primary);
    font-size: 0.85rem;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.cc-faq-btn[aria-expanded="true"] i,
.cc-faq-btn:not(.collapsed) i {
    transform: rotate(180deg);
}

.cc-faq-body {
    padding: 0 1.15rem 1.1rem 1.15rem;
    color: var(--text-secondary, #64748b);
    font-size: 0.9rem;
    line-height: 1.65;
}

.cc-faq-body p {
    margin: 0;
}

/* ============================================================
   DISCLAIMER
   ============================================================ */
.cc-disclaimer-card {
    padding: 1.15rem 1.25rem;
    background: var(--cc-blue-50, #eff6ff);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-left: 4px solid #3b82f6;
    border-radius: var(--cc-radius-sm);
    color: var(--text-primary, #1e293b);
    font-size: 0.86rem;
    line-height: 1.6;
    position: relative;
}

[data-theme="dark"] .cc-disclaimer-card {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.cc-disclaimer-card > i {
    color: #3b82f6;
    font-size: 1.1rem;
    margin-right: 0.4rem;
}

.cc-disclaimer-card h6 {
    display: inline;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary, #1e293b);
}

.cc-disclaimer-card p {
    margin: 0.6rem 0 0 0;
    color: var(--text-secondary, #64748b);
}

/* ============================================================
   SECTION SPACING
   ============================================================ */
.cc-section {
    margin-bottom: 0;
}

.cc-converter-section .row {
    align-items: stretch;
}

.cc-converter-section .col-lg-6 {
    display: flex;
    flex-direction: column;
}

.cc-converter-section .cc-card,
.cc-converter-section .cc-placeholder {
    flex: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .cc-result-amount-large {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .cc-hero-bar {
        padding: 1rem;
        gap: 0.75rem;
    }
    .cc-hero-stat {
        flex: 1 1 45%;
    }
    .cc-hero-label {
        font-size: 0.65rem;
    }
    .cc-hero-value {
        font-size: 0.9rem;
    }
    .cc-hero-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .cc-rates-controls {
        grid-template-columns: 1fr;
    }
    .cc-rate-info {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .cc-input {
        font-size: 1.15rem;
    }
    .cc-result-amount {
        font-size: 1.25rem;
    }
    .cc-result-amount-large {
        font-size: 1.85rem;
    }
    .cc-popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cc-hero-stat {
        flex: 1 1 100%;
    }
    .cc-popular-grid {
        grid-template-columns: 1fr;
    }
    .cc-placeholder-features {
        grid-template-columns: 1fr;
    }
    .cc-card-body {
        padding: 1rem;
    }
    .cc-result-hero {
        padding: 1.25rem 1rem;
    }
}