/**
 * Kryptoseite Rechner (nur auf diesem Tab geladen).
 * Vorher <style>-Block(e) im Template.
 */
.currency-selector {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--kb-border);
    border-radius: 8px;
    background: #fff;
    color: #6b7280;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.currency-selector:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.currency-selector.active,
.currency-selector.active:hover {
    background: var(--kb-good);
    color: #fff;
    border-color: #10b981;
}

#swap-currencies:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: rotate(180deg);
}

/* Schnellrechnungen: 4 Spalten auf dem Desktop, sonst wie .dashboard-grid */
@media (min-width: 1025px) {
    .rechner-quick-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Umrechner untereinander auf dem Handy (Inline-Stil braucht !important) */
@media (max-width: 640px) {
    .rechner-converter {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .rechner-converter #swap-currencies {
        transform: rotate(90deg);
    }
}
