:root {
    --bg: #f3f4f6;
    --card: #ffffff;
    --text: #333;
    --sub: #666;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --green: #16a34a;
}

/* ===============================
   BASE
   =============================== */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    margin: 0;
    padding: 0;
    color: var(--text);
}

/* ===============================
   HEADER
   =============================== */

.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.85rem 2rem;
}

.site-header-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.site-logo {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.3px;
}

.site-tagline {
    font-size: 13px;
    color: #6b7280;
}

/* ===============================
   LAYOUT — two columns
   =============================== */

.layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    align-items: start;
}


/* ===============================
   CARD — swap form (left)
   =============================== */

.card {
    background: var(--card);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border: 1px solid #e5e7eb;
}

/* ===============================
   INPUT BOXES
   =============================== */

.box {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 8px;
}

.field-label {
    font-size: 13px;
    color: var(--sub);
    display: block;
    margin-bottom: 4px;
}

.field-label--strong {
    color: #333;
    font-weight: 700;
}

.label-recommended {
    color: #f57c00;
    font-weight: 700;
}

input {
    border: none;
    background: transparent;
    font-size: 24px;
    font-weight: 600;
    width: 65%;
    outline: none;
}

select {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 24px;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    color: #333;
}



/* edit for mobile */
/* 
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
    cursor: pointer;
}
 */

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
    cursor: pointer;
    height: 40px;
    width: 30px;
}

#receive-address,
#email-input,
#refund-address {
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 8px 0;
}

#receive-address {
    font-family: monospace;
}

#deposit-address {
    font-size: 20px !important;
    font-weight: 600 !important;
    font-family: monospace;
}

/* ===============================
   GBP / USD LABELS
   =============================== */

.gbp {
    font-size: 13px;
    color: var(--sub);
    margin-top: 4px;
    font-family: monospace;
}

/* ===============================
   STATUS / CONNECTION
   =============================== */

.status {
    font-size: 11px;
    text-align: center;
    margin-bottom: 10px;
    color: var(--green);
}

/* ===============================
   TIMER BAR
   =============================== */

.timer-wrap {
    height: 4px;
    background: #eee;
    margin-top: 20px;
    border-radius: 2px;
    overflow: hidden;
}

#timer-bar {
    height: 100%;
    background: var(--accent);
    width: 100%;
    transition: width 1s linear;
}

/* ===============================
   BUTTONS
   =============================== */

.swap-btn {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.swap-btn:hover {
    background: var(--accent-hover);
}

.copy-btn {
    background: var(--accent);
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
    color: white;
    font-weight: 600;
}

.copy-btn:hover {
    background: var(--accent-hover);
}

.copy-btn.copied {
    background: #16a34a;
}

/* ===============================
   PROGRESS TRACKER
   =============================== */

#progress-list li {
    margin-bottom: 5px;
}

.step-done {
    color: #28a745 !important;
    font-weight: bold;
}

.step-active {
    color: var(--accent) !important;
}

.progress-active {
    color: var(--accent);
    font-weight: 600;
}

.progress-done {
    color: #28a745;
}

.progress-pending {
    color: #999;
}

/* ===============================
   PROVIDER QUOTE CARDS
   =============================== */

#quotes-container {
    margin: 8px 0;
}

.quote-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: #fff;
    transition: border-color 0.2s;
}

.quote-card.quote-selected {
    border-color: var(--accent);
    background: #eff6ff;
}

.quote-card.quote-unavailable {
    opacity: 0.55;
    background: #f8f8f8;
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.quote-provider-name {
    font-weight: 700;
    font-size: 15px;
    flex: 1;
}

.quote-badge {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 20px;
    font-weight: 600;
}

.badge-changenow {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-godex {
    background: #e8f5e9;
    color: #2e7d32;
}

.quote-select-btn {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--accent);
    background: #fff;
    color: var(--accent);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.15s;
}

.quote-select-btn.selected {
    background: var(--accent);
    color: #fff;
}

.quote-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.quote-output {
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.quote-rate {
    font-size: 12px;
    color: #888;
}

.quote-min {
    font-size: 12px;
    color: #e53935;
}

.quote-loading {
    color: #888;
    font-size: 13px;
    padding: 8px 0;
}

.quote-error {
    color: #e53935;
    font-size: 13px;
    padding: 8px 0;
}

/* ===============================
   INFO PANEL (right column)
   =============================== */

.info-panel {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

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

.info-title {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.info-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 1.25rem 0;
}

/* Steps */
.step {
    display: flex;
    gap: 12px;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.step-title {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.step-desc {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.55;
}

/* Trust list */
.trust-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #374151;
}

.trust-tick {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #dcfce7;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* FAQ */
.faq-item {
    margin-bottom: 0.85rem;
}

.faq-q {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 3px;
}

.faq-a {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.55;
}

/* ===============================
   FOOTER
   =============================== */

.site-footer {
    text-align: center;
    padding: 1.5rem;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 0.5rem;
}

.site-footer a {
    color: #6b7280;
    text-decoration: none;
}

.site-footer a:hover {
    color: #374151;
}
