/* Account area. Same tokens as the site theme. Mobile first. */
:root {
	--cc-red: #a5121f; --cc-red-dark: #6e0a12; --cc-red-deep: #4d0810; --cc-red-tint: #fbf0f0;
	--cc-green: #3f8f3f; --cc-green-tint: #eef7ec; --cc-amber: #b7791f; --cc-amber-tint: #fff6e5;
	--cc-ink: #1f1a1b; --cc-ink-soft: #5c5254; --cc-line: #e8dede; --cc-paper: #fff; --cc-paper-soft: #faf6f6;
	--cc-radius: 14px; --cc-shadow: 0 8px 30px rgba(77, 8, 16, .08);
	--cc-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body { margin: 0; font-family: var(--cc-font); font-weight: 500; font-size: 16px; line-height: 1.55; color: var(--cc-ink); background: var(--cc-paper-soft); overflow-x: hidden; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
a { color: var(--cc-red); }
.cc-skip { position: absolute; left: -9999px; }
.cc-skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px; z-index: 100; }
.c-container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* Header */
.c-header { background: var(--cc-paper); border-bottom: 1px solid var(--cc-line); position: sticky; top: 0; z-index: 50; }
.c-header__wrapper { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.c-header__logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--cc-red-dark); font-weight: 800; font-size: 1.15rem; }
.c-header__logo svg, .c-header__logo img { display: block; height: 60px; width: auto; }
.c-nav-toggle { border: 2px solid var(--cc-line); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; }
.c-nav { display: none; width: 100%; flex-direction: column; gap: 2px; padding: 8px 0 12px; }
.c-nav.is-open { display: flex; }
.c-nav--public { display: flex; width: auto; flex-direction: row; padding: 0; gap: 6px; }
.c-nav__item { text-decoration: none; color: var(--cc-ink); font-weight: 700; padding: 8px 12px; border-radius: 999px; }
.c-nav__item:hover, .c-nav__item.is-current { background: var(--cc-red-tint); color: var(--cc-red-dark); }
.c-nav__item--cta { background: var(--cc-red); color: #fff; }
.c-nav__item--cta:hover { background: var(--cc-red-dark); color: #fff; }
.c-nav__item--signout { color: var(--cc-ink-soft); }
@media (min-width: 900px) {
	.c-nav-toggle { display: none; }
	.c-nav { display: flex; width: auto; flex-direction: row; padding: 0; gap: 2px; }
}
@media (max-width: 899px) { .c-nav--public .c-nav__item:first-child { display: none; } }

/* Sections */
.c-section { padding: 28px 0; }
.c-section--hero { background: linear-gradient(135deg, var(--cc-red-deep), var(--cc-red) 70%, var(--cc-red-bright, #c21e2c)); color: #fff; padding: 32px 0 36px; }
.c-section--hero h1, .c-section--hero h2, .c-section--hero p { color: #fff; }
.c-hero__lead { font-size: 1.1rem; max-width: 56ch; margin: 0; opacity: .92; }
.c-section-header { margin-bottom: 8px; }

/* Grid */
.columns { display: grid; gap: 20px; }
.column { min-width: 0; }
@media (min-width: 900px) {
	.columns { grid-template-columns: repeat(12, 1fr); }
	.column { grid-column: span 12; }
	.column.is-4-desktop { grid-column: span 4; }
	.column.is-5-desktop { grid-column: span 5; }
	.column.is-6-desktop { grid-column: span 6; }
	.column.is-7, .column.is-7-desktop { grid-column: span 7; }
	.column.is-6 { grid-column: span 6; }
	.column.is-8-desktop { grid-column: span 8; }
	.column.is-offset-1 { grid-column: 7 / span 6; }
}
.mt-4 { margin-top: 24px; }

/* Cards and pods */
.c-card, .c-dashboard-pod, .c-account-details, .c-fieldset--dashboard { background: var(--cc-paper); border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 18px; box-shadow: var(--cc-shadow); }
.c-card__body > :last-child { margin-bottom: 0; }
.c-dashboard-header { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 8px; }
.c-dashboard-header h3 { margin: 0; }
.c-dashboard-links { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.c-account-details__link { font-weight: 700; }
.c-pod-dashboard { padding: 12px 0; border-top: 1px solid var(--cc-line); }
.c-pod-dashboard:first-child { border-top: 0; padding-top: 0; }
.c-pod-dashboard__label { font-size: .85rem; color: var(--cc-ink-soft); }
.c-pod-dashboard__value { font-size: 1.6rem; font-weight: 800; color: var(--cc-red-dark); }
.c-pod-dashboard__value--balance { font-size: 2.4rem; }
.c-account-details__item { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 0; border-top: 1px solid var(--cc-line); }
.c-account-details__item:first-child { border-top: 0; }
.c-account-details__label { font-size: .85rem; color: var(--cc-ink-soft); }
.c-account-details__value { font-weight: 700; overflow-wrap: anywhere; }
@media (min-width: 600px) { .c-account-details__item { grid-template-columns: 180px 1fr; } }
.c-registered-number { padding: 12px 0; border-top: 1px solid var(--cc-line); }
.c-registered-number:first-child { border-top: 0; padding-top: 0; }
.c-registered-number__title { margin: 0 0 4px; font-size: .95rem; color: var(--cc-ink-soft); font-weight: 700; }
.c-registered-number__number { font-weight: 800; font-size: 1.1rem; }
.c-registered-number__item-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.c-registered-number__status { font-size: .85rem; color: var(--cc-ink-soft); }
.c-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.c-badge--success { background: var(--cc-green-tint); color: var(--cc-green); }
.c-badge--warning { background: var(--cc-amber-tint); color: var(--cc-amber); }
.c-empty-state { color: var(--cc-ink-soft); padding: 12px 0; }
.c-dashboard-list { list-style: none; margin: 0; padding: 0; }
.c-dashboard-list li { padding: 8px 0; border-top: 1px solid var(--cc-line); }
.c-dashboard-list li:first-child { border-top: 0; }

/* Notices */
.c-notification { border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; border: 1px solid; }
.c-notification--error { background: var(--cc-red-tint); border-color: var(--cc-red); color: var(--cc-red-dark); }
.c-notification--success { background: var(--cc-green-tint); border-color: #cfe6c8; color: #245f24; }
.c-notification--info { background: #eef3fb; border-color: #c8d6ee; color: #23406e; }

/* Forms */
.c-form { max-width: 560px; }
.c-form--inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; max-width: none; }
.c-fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.c-form__element { margin-bottom: 14px; }
.c-form__label { display: block; font-weight: 700; margin-bottom: 6px; }
.c-form__required::after { content: " *"; color: var(--cc-red); }
.c-form__description { font-size: .9rem; color: var(--cc-ink-soft); margin: 4px 0 0; }
.c-form input:not([type=checkbox]):not([type=radio]):not([type=submit]), .c-form select, .c-form textarea, .c-form__input, .c-select, .c-form__select {
	width: 100%; padding: 12px 14px; border: 2px solid var(--cc-line); border-radius: 10px; background: #fff; font: inherit; color: var(--cc-ink);
}
.c-form input:focus, .c-form select:focus, .c-form textarea:focus { outline: none; border-color: var(--cc-red); }
.c-form__error { color: var(--cc-red-dark); font-size: .9rem; margin-top: 4px; min-height: 1em; }
.c-form__links { display: flex; gap: 16px; flex-wrap: wrap; font-size: .95rem; }
.c-form__password-strength { font-size: .85rem; color: var(--cc-ink-soft); }
.c-form__loading { display: none; }
.c-section--hero .c-form__label, .c-section--hero .c-form__description { color: #fff; }
.c-section--hero .c-form input, .c-section--hero .c-form select { border-color: rgba(255,255,255,.7); }
.c-link-white, .c-section--hero a { color: #fff; }
.c-btn-primary, .cc-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
	font: inherit; font-weight: 700; border: 2px solid var(--cc-red); background: var(--cc-red); color: #fff; cursor: pointer; text-decoration: none;
}
.c-btn-primary:hover, .cc-button:hover { background: var(--cc-red-dark); border-color: var(--cc-red-dark); }
.c-btn-primary[disabled] { opacity: .6; cursor: default; }
.c-btn-delete { font: inherit; font-size: .85rem; font-weight: 700; color: var(--cc-red); background: none; border: 1px solid var(--cc-line); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.c-btn-delete:hover { border-color: var(--cc-red); }
.c-hero-link { color: #fff; font-weight: 700; }
.delete-form { display: inline; }

/* Tables */
.c-table { width: 100%; border-collapse: collapse; background: var(--cc-paper); border: 1px solid var(--cc-line); border-radius: var(--cc-radius); overflow: hidden; }
.c-table__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; padding: 10px 14px; border-top: 1px solid var(--cc-line); }
.c-table__row:first-child { border-top: 0; }
.c-table__col--hd { font-weight: 700; background: var(--cc-paper-soft); }
.c-table__col { overflow-wrap: anywhere; }
.c-table__col--action { text-align: right; }
table.c-table th, table.c-table td { padding: 10px 14px; text-align: left; border-top: 1px solid var(--cc-line); }
table.c-table th { background: var(--cc-paper-soft); }
.c-table-wrap { overflow-x: auto; }
.c-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.c-tabs a { text-decoration: none; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--cc-line); color: var(--cc-ink); font-weight: 700; }
.c-tabs a.is-active { background: var(--cc-red); border-color: var(--cc-red); color: #fff; }

/* Rates */
.c-rates__filter { max-width: 420px; margin-bottom: 16px; }
.c-rates__filter input { width: 100%; padding: 12px 14px; border: 2px solid var(--cc-line); border-radius: 10px; font: inherit; }
.c-rates__letter { margin: 18px 0 6px; color: var(--cc-red-dark); }

/* Footer */
.c-footer { background: var(--cc-red-deep); color: rgba(255,255,255,.85); margin-top: 40px; padding: 28px 0; font-size: .95rem; }
.c-footer a { color: #fff; }
.c-footer__legal { font-size: .85rem; opacity: .8; margin: 0; }

/* PayPal */
#paypal-button-container { margin-top: 12px; }
