/* RuneCake — OSRS ⇄ RS3 swap service page */
.swap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    margin: 1.2rem 0;
}

.swap-card {
    background: rgba(20, 15, 10, 0.62);
    border: 2px solid #8b7355;
    padding: clamp(1rem, 2.5vw, 1.4rem);
    min-width: 0;
}

.swap-card h2 {
    font-family: 'MedievalSharp', cursive;
    color: #f0e68c;
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
}

.swap-card label {
    display: block;
    color: #b8941f;
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.swap-card input,
.swap-card select,
.swap-card textarea {
    width: 100%;
    font-family: 'Cinzel', serif;
    background: rgba(139, 115, 85, 0.22);
    border: 2px solid #8b7355;
    color: #f0e68c;
    padding: 0.65rem 0.7rem;
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
}

.swap-card input:focus,
.swap-card select:focus,
.swap-card textarea:focus {
    outline: 2px solid rgba(212, 175, 55, 0.55);
    outline-offset: 1px;
}

.swap-result {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.6rem;
    margin: 0.4rem 0 0.9rem;
}

.swap-result > div {
    border: 1px solid rgba(139, 115, 85, 0.6);
    background: rgba(212, 175, 55, 0.05);
    padding: 0.7rem;
    text-align: center;
}

.swap-result span {
    display: block;
    color: #b8941f;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.swap-result strong {
    color: #f0e68c;
    font-family: 'MedievalSharp', cursive;
    font-size: 1.05rem;
    line-height: 1.3;
    word-break: break-word;
}

.swap-result strong.receive { color: #51cf66; }
.swap-rate-note {
    color: #b8941f;
    font-size: 0.74rem;
    line-height: 1.55;
    margin: 0.2rem 0 0.9rem;
}

.swap-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.7rem;
    margin: 1rem 0;
}

.swap-step {
    border-left: 3px solid #d4af37;
    background: rgba(20, 15, 10, 0.48);
    padding: 0.75rem 0.85rem;
}

.swap-step strong {
    display: block;
    color: #f0e68c;
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    margin-bottom: 0.25rem;
}

.swap-step span {
    color: #d8c9a6;
    font-size: 0.76rem;
    line-height: 1.55;
}

.swap-auth-note {
    border: 1px solid rgba(232, 200, 115, 0.7);
    background: rgba(143, 29, 46, 0.18);
    color: #fff0b8;
    font-size: 0.78rem;
    line-height: 1.55;
    padding: 0.7rem 0.8rem;
    margin-bottom: 0.9rem;
}

.swap-auth-note a {
    color: #fff0b8;
    text-decoration: underline;
}

.swap-request-id {
    margin-top: 0.8rem;
    border: 1px solid #51cf66;
    color: #c6f6cf;
    background: rgba(81, 207, 102, 0.1);
    padding: 0.65rem 0.75rem;
    font-size: 0.78rem;
    line-height: 1.5;
}

.swap-faq h2 { font-size: 1.1rem; }
.swap-faq p { font-size: 0.82rem; color: #d8c9a6; line-height: 1.65; }

@media (max-width: 560px) {
    .swap-card { padding: 0.9rem; }
    .swap-result strong { font-size: 0.95rem; }
}
