/*
Theme Name: Special Change
Theme URI: https://specialchange.hu
Author: Special Change demo
Description: A correctchange.hu felépítését követő demó téma: hero + kiemelt árfolyamok, kalkulátor, árfolyamtábla, hírek. A sc-exchange plugin shortcode-jaival működik együtt.
Version: 0.1.0
Text Domain: special-change
*/

:root {
    --cc-primary: #0b3d91;
    --cc-primary-dark: #082a66;
    --cc-accent: #e8a723;
    --cc-bg: #f5f7fa;
    --cc-text: #1c2430;
    --cc-muted: #5c6b7a;
    --cc-border: #e1e6ec;
    --cc-radius: 10px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--cc-text);
    background: #fff;
    line-height: 1.5;
    overflow-x: clip; /* a teljes szélességű (100vw) sávok ne okozzanak vízszintes görgetést */
}

a { color: var(--cc-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.cc-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Header ---------- */
.cc-topbar {
    background: var(--cc-primary-dark);
    color: #fff;
    font-size: 13px;
}
.cc-topbar .cc-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    padding-bottom: 6px;
}
.cc-topbar a { color: #fff; }

.cc-header {
    border-bottom: 1px solid var(--cc-border);
}
.cc-header .cc-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}
.cc-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--cc-primary);
}
.cc-logo span { color: var(--cc-accent); }

.cc-nav ul {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0;
}
.cc-nav a {
    color: var(--cc-text);
    font-weight: 500;
    font-size: 15px;
}
.cc-nav a:hover { color: var(--cc-primary); text-decoration: none; }

/* ---------- Hero ---------- */
.cc-hero {
    background: linear-gradient(135deg, var(--cc-primary) 0%, var(--cc-primary-dark) 100%);
    color: #fff;
    padding: 56px 0 40px;
}
.cc-hero h1 {
    font-size: 34px;
    margin: 0 0 10px;
}
.cc-hero p.cc-hero-lead {
    font-size: 17px;
    max-width: 560px;
    opacity: 0.92;
    margin-bottom: 22px;
}
.cc-hero .cc-btn { margin-top: 4px; }

/* ---------- Rate highlight cards ---------- */
.cc-rate-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 28px;
}
.cc-rate-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--cc-radius);
    padding: 14px 16px;
}
.cc-rate-card-code {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--cc-accent);
}
.cc-rate-card-row {
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    opacity: 0.95;
}

/* ---------- Sections ---------- */
.cc-section {
    padding: 48px 0;
}
.cc-section.cc-bg-alt {
    background: var(--cc-bg);
}
.cc-section h2 {
    font-size: 26px;
    margin: 0 0 6px;
}
.cc-section .cc-section-lead {
    color: var(--cc-muted);
    margin-bottom: 28px;
    max-width: 640px;
}

/* ---------- Rate table ---------- */
.cc-rate-table-wrap { overflow-x: auto; }
.cc-rate-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--cc-radius);
    overflow: hidden;
}
.cc-rate-table th, .cc-rate-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--cc-border);
}
.cc-rate-table th {
    background: var(--cc-primary);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}
.cc-rate-table tr:last-child td { border-bottom: none; }
.cc-page-content:has(.cc-rate-table) { max-width: none; }
/* Oldaltartalomban (/valutak) is a saját fejlécstílus érvényes, ne az általános .cc-page-body táblázaté */
.cc-page-body .cc-rate-table th { background: var(--cc-primary); color: #fff; }
.cc-page-body .cc-rate-table th, .cc-page-body .cc-rate-table td { border-width: 0 0 1px; }
.cc-rate-table tbody tr:hover { background: var(--cc-bg); }
.cc-rate-table .cc-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.cc-currency { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.cc-flag {
    width: 28px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 3px;
    background-size: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.cc-flag-empty { background: var(--cc-border); }
.cc-currency-code { font-weight: 700; }
.cc-currency-name { color: var(--cc-muted); font-size: 14px; }

a.cc-currency { color: inherit; }
a.cc-currency:hover { text-decoration: none; }
a.cc-currency:hover .cc-currency-code { color: var(--cc-primary); text-decoration: underline; }

/* Valuta-adatlap (/valutak/EUR/) */
.cc-currency-head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.cc-currency-head .cc-flag { width: 64px; height: 46px; border-radius: 6px; }
.cc-currency-page .cc-currency-head h1 { margin: 0; }
.cc-currency-head-code { margin: 2px 0 0; color: var(--cc-muted); font-weight: 600; letter-spacing: 0.06em; }
.cc-currency-stats, .cc-currency-trends { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cc-currency-trends { grid-template-columns: repeat(2, 1fr); margin-top: 12px; }
.cc-currency-trends .cc-sparkline { width: 100%; height: 56px; margin: 6px 0 2px; }
.cc-currency-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    border-radius: 8px;
    background: var(--cc-bg);
}
.cc-currency-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; }
.cc-currency-cta-link { font-weight: 600; }

.cc-trend { min-width: 132px; }
.cc-trend .cc-sparkline { display: inline-block; width: 72px; height: 24px; margin-right: 8px; vertical-align: middle; }
.cc-sparkline-line { fill: none; stroke-width: 1.5; stroke-linejoin: round; }
.cc-sparkline.is-up .cc-sparkline-line { stroke: #1f9d55; }
.cc-sparkline.is-up .cc-sparkline-area { fill: rgba(31, 157, 85, 0.12); }
.cc-sparkline.is-down .cc-sparkline-line { stroke: #c53030; }
.cc-sparkline.is-down .cc-sparkline-area { fill: rgba(197, 48, 48, 0.1); }

.cc-change { color: var(--cc-muted); }
.cc-change.is-up { color: #146c2e; }
.cc-change.is-down { color: #b32d2e; }
.cc-change span { font-size: 11px; }
.cc-rate-note {
    font-size: 12px;
    color: var(--cc-muted);
    margin-top: 10px;
}

/* ---------- Calculator ---------- */
.cc-calculator {
    background: #fff;
    border: 1px solid var(--cc-border);
    border-radius: var(--cc-radius);
    padding: 24px;
    max-width: 460px;
}
.cc-calculator label {
    display: block;
    font-size: 13px;
    color: var(--cc-muted);
    margin-bottom: 4px;
    margin-top: 14px;
}
.cc-calculator input, .cc-calculator select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--cc-border);
    border-radius: 6px;
    font-size: 15px;
}
.cc-calc-result {
    margin-top: 18px;
    padding: 14px;
    background: var(--cc-bg);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}

/* ---------- Why us cards ---------- */
.cc-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}
.cc-feature-card {
    background: #fff;
    border: 1px solid var(--cc-border);
    border-radius: var(--cc-radius);
    padding: 22px;
}
.cc-feature-card h3 {
    margin-top: 0;
    font-size: 17px;
    color: var(--cc-primary);
}

/* ---------- News / blog list ---------- */
.cc-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.cc-news-card {
    background: #fff;
    border: 1px solid var(--cc-border);
    border-radius: var(--cc-radius);
    padding: 20px;
}
.cc-news-card time {
    font-size: 12px;
    color: var(--cc-muted);
}
.cc-news-card h3 {
    font-size: 17px;
    margin: 8px 0;
}

/* ---------- Buttons ---------- */
.cc-btn {
    display: inline-block;
    background: var(--cc-accent);
    color: #1c2430;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 15px;
}
.cc-btn:hover { background: #d69915; text-decoration: none; }

/* ---------- Valuta előrendelés ([sc_preorder_form]), a specialchange.hu/#preorder mintájára ---------- */
/* A shortcode saját címet és teljes szélességű kék sávot rajzol, ezért az oldal alapcíme és kerete itt elmarad */
.cc-page-content:has(.cc-preorder-section) { max-width: none; padding: 0; }
.cc-page-content:has(.cc-preorder-section) > h1 { display: none; }
.cc-preorder-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-bottom: -40px; /* a lábléc felső margója helyett közvetlenül csatlakozik */
    padding: 80px 20px 112px;
    background: linear-gradient(160deg, var(--cc-primary) 0%, var(--cc-primary-dark) 100%);
}
.cc-preorder-inner { max-width: 928px; margin: 0 auto; }
.cc-preorder-head { text-align: center; max-width: 672px; margin: 0 auto; }
.cc-preorder-head h1 {
    margin: 0;
    color: #fff;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.cc-preorder-head p { margin: 16px 0 0; color: #c9d8f5; font-size: 18px; }
.cc-preorder-card {
    margin-top: 40px;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.cc-preorder-notice {
    padding: 16px;
    border-radius: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 14px;
}
.cc-preorder-notice p { margin: 0; }
.cc-preorder-notice p + p { margin-top: 4px; }
.cc-preorder-notice a { color: inherit; font-weight: 600; }
.cc-preorder-notice-error { margin-top: 16px; background: #fef2f2; color: #b32d2e; }
.cc-preorder-notice-success { background: #f0fdf4; color: #146c2e; }

.cc-preorder-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
    margin-top: 40px;
}
.cc-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.cc-field-full { grid-column: 1 / -1; }
.cc-field > label, .cc-field > legend {
    display: block;
    padding: 0;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--cc-text);
}
.cc-preorder-form input[type="text"],
.cc-preorder-form input[type="email"],
.cc-preorder-form input[type="tel"],
.cc-preorder-form input[type="number"],
.cc-preorder-form select {
    width: 100%;
    padding: 7px 12px;
    border: 0;
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px #d1d5db, 0 1px 2px rgba(0, 0, 0, 0.05);
    font: inherit;
    font-size: 14px;
    color: var(--cc-text);
    background: #fff;
}
.cc-preorder-form input:focus,
.cc-preorder-form select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--cc-primary); }

/* Összeg + devizanem egy mezőben */
.cc-amount { position: relative; }
.cc-preorder-form .cc-amount input { padding-right: 96px; text-align: right; -moz-appearance: textfield; }
.cc-preorder-form .cc-amount input::-webkit-inner-spin-button,
.cc-preorder-form .cc-amount input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cc-preorder-form .cc-amount select {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: auto;
    padding: 0 8px;
    box-shadow: none;
    background: transparent;
    color: var(--cc-muted);
}

/* Átvételi napok választható kártyákként */
.cc-date-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cc-date-option {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 12px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px #d1d5db;
    cursor: pointer;
    font-size: 14px;
}
.cc-date-option input { position: absolute; opacity: 0; pointer-events: none; }
.cc-date-day { font-weight: 600; color: var(--cc-text); }
.cc-date-date { color: var(--cc-muted); }
.cc-date-option:has(input:checked) { box-shadow: inset 0 0 0 2px var(--cc-primary); background: #eff6ff; }
.cc-date-option:has(input:focus-visible) { outline: 2px solid var(--cc-primary); outline-offset: 2px; }
.cc-date-option:has(input:disabled) { cursor: not-allowed; opacity: 0.4; }

.cc-phone {
    display: flex;
    align-items: center;
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px #d1d5db, 0 1px 2px rgba(0, 0, 0, 0.05);
}
.cc-phone:focus-within { box-shadow: inset 0 0 0 2px var(--cc-primary); }
.cc-phone span { padding-left: 12px; color: var(--cc-muted); font-size: 14px; }
.cc-preorder-form .cc-phone input { box-shadow: none; padding-left: 4px; background: transparent; }

.cc-checkbox {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--cc-border);
}
.cc-checkbox label { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.cc-checkbox input { width: 16px; height: 16px; accent-color: var(--cc-primary); }

.cc-preorder-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-top: -8px; }
.cc-preorder-submit {
    padding: 10px 14px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #d1d5db, 0 1px 2px rgba(0, 0, 0, 0.05);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--cc-text);
    cursor: pointer;
}
.cc-preorder-submit:hover { background: #f9fafb; }

/* ---------- Kedvezményes árfolyam ([sc_discount_rate]), a specialchange.hu/#discountedrate mintájára ---------- */
.cc-discount-form { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; margin-top: 0; }
.cc-discount-form .cc-field { grid-column: span 2; }
.cc-discount-form .cc-field-half { grid-column: span 3; }
.cc-discount-form .cc-field-full { grid-column: 1 / -1; }

.cc-type-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-type-tabs .cc-type-tab {
    position: relative;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px #d1d5db;
    cursor: pointer;
}
.cc-type-tab input { position: absolute; opacity: 0; pointer-events: none; }
.cc-type-tab-label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cc-text);
}
.cc-type-tab-lead { font-size: 14px; color: var(--cc-muted); }
.cc-type-tab:has(input:checked) { background: var(--cc-primary); box-shadow: none; }
.cc-type-tab:has(input:checked) .cc-type-tab-label { color: #fff; }
.cc-type-tab:has(input:checked) .cc-type-tab-lead { color: #c9d8f5; }
.cc-type-tab:has(input:focus-visible) { outline: 2px solid var(--cc-primary); outline-offset: 2px; }

.cc-quote { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-quote-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    border-radius: 8px;
    background: var(--cc-bg);
}
.cc-quote-card-discount { background: #fff7e6; box-shadow: inset 0 0 0 1px #f3d08a; }
.cc-quote-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cc-muted);
}
.cc-quote-value { font-size: 22px; font-weight: 700; color: var(--cc-text); font-variant-numeric: tabular-nums; }
.cc-quote-card-discount .cc-quote-value { color: #9a6300; }
.cc-quote-status { grid-column: 1 / -1; margin: 0; min-height: 21px; font-size: 14px; color: #146c2e; }
.cc-discount-form.is-loading .cc-quote-value { opacity: 0.4; }
.cc-discount-form.is-loading .cc-quote-status { color: var(--cc-muted); }

.cc-amount-readonly {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 36px;
    padding: 7px 12px;
    border-radius: 6px;
    background: var(--cc-bg);
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.cc-amount-unit { color: var(--cc-muted); font-weight: 400; }
.cc-checkbox a { font-weight: 600; }

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Page content (basic pages) ---------- */
.cc-page-content {
    padding: 48px 0;
    max-width: 800px;
    margin: 0 auto;
}
.cc-page-content h1 {
    font-size: 30px;
    margin-bottom: 20px;
}

/* ---------- Footer ---------- */
.cc-footer {
    background: var(--cc-primary-dark);
    color: #dbe3f0;
    padding: 40px 0 24px;
    margin-top: 40px;
    font-size: 14px;
}
.cc-footer a { color: #fff; }
.cc-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}
.cc-footer-grid h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 10px;
}
.cc-footer-legal-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 0 16px;
    padding: 0;
    font-size: 12px;
    opacity: 0.85;
}

.cc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 16px;
    font-size: 12px;
    opacity: 0.8;
}

/* Egyszerű táblázat-stílus a page.php oldalak tartalmában (pl. Váltóhelyeink) */
.cc-page-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.cc-page-body th, .cc-page-body td {
    padding: 10px 14px;
    border: 1px solid var(--cc-border);
    text-align: left;
}
.cc-page-body th {
    background: var(--cc-bg);
}
.cc-page-body h2 { margin-top: 32px; }
.cc-page-body h3 { margin-top: 24px; color: var(--cc-primary); }

/* ---------- Váltóhelyek (lista + adatlap) ---------- */
/* Pénztár-kártyák a Váltóhelyeink oldalon ([sc_locations]), a specialchange.hu/#offices mintájára */
.cc-page-content:has(.cc-office-grid) { max-width: none; }
.cc-office-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 28px 0;
}
.cc-office-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px rgba(16, 24, 40, 0.06);
    font-size: 14px;
    color: var(--cc-muted);
    transition: box-shadow 0.15s ease;
}
.cc-office-card:hover { box-shadow: 0 10px 20px rgba(16, 24, 40, 0.12); }
.cc-office-main { min-width: 0; }
.cc-office-card h3 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cc-text);
}
.cc-office-card p {
    margin: 4px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cc-page-body .cc-office-card h3 { margin-top: 0; color: var(--cc-text); }
.cc-office-link { color: inherit; }
.cc-office-link:hover { text-decoration: none; }
/* Az egész kártya kattintható (adatlap), a telefonszám külön link marad */
.cc-office-link::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
.cc-office-phone { position: relative; z-index: 1; margin-top: 12px !important; font-weight: 600; }
.cc-office-hours {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    flex-shrink: 0;
    line-height: 1.7;
    white-space: nowrap;
}
.cc-location-back { margin: 0 0 8px; font-size: 14px; }

.cc-location {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: start;
}
.cc-location-photo img,
.cc-location-photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--cc-radius);
}
.cc-location-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cc-bg);
    border: 1px dashed var(--cc-border);
    color: var(--cc-muted);
}
.cc-location-info h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: var(--cc-primary);
}
.cc-location-info p { margin: 0 0 18px; }
.cc-hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.cc-hours-table th, .cc-hours-table td {
    padding: 6px 0;
    border-bottom: 1px solid var(--cc-border);
    text-align: left;
}
.cc-hours-table th { font-weight: normal; color: var(--cc-muted); }
.cc-hours-table td { text-align: right; }
.cc-hours-table tr.is-today th,
.cc-hours-table tr.is-today td { font-weight: 700; color: var(--cc-text); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .cc-office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .cc-header .cc-container { flex-direction: column; gap: 12px; }
    .cc-nav ul { flex-wrap: wrap; justify-content: center; gap: 12px; }
    .cc-hero h1 { font-size: 26px; }
    .cc-location { grid-template-columns: 1fr; }
    .cc-office-grid { grid-template-columns: 1fr; }
    .cc-preorder-section { padding: 56px 16px 80px; }
    .cc-preorder-head h1 { font-size: 28px; }
    .cc-preorder-form { grid-template-columns: 1fr; }
    .cc-date-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cc-currency-stats, .cc-currency-trends { grid-template-columns: 1fr; }
    .cc-discount-form { grid-template-columns: 1fr; }
    .cc-discount-form .cc-field,
    .cc-discount-form .cc-field-half { grid-column: 1 / -1; }
    .cc-type-tab { padding: 12px 14px; }
    .cc-type-tab-label { font-size: 13px; }
    .cc-quote-value { font-size: 18px; }
}
