﻿:root {
    --background: #f8f7f3;
    --surface: #ffffff;
    --text: #191b19;
    --muted: #656b70;
    --blue: #2860ef;
    --navy: #172033;
    --border: #e5e2db;
}

* {
    box-sizing: border-box;
}

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

.app-shell {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 28px 20px 130px;
}

.page-date {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 14px;
}

.page-title {
    margin: 0 0 26px;
    font-size: clamp(25px, 6.5vw, 34px);
    font-weight: 750;
    letter-spacing: -1px;
}

.summary-card {
    padding: 26px 22px;
    margin-bottom: 32px;
    border-radius: 28px;
    background: var(--navy);
    color: white;
    box-shadow: 0 18px 35px rgb(23 32 51 / 15%);
}

.summary-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.summary-label {
    margin: 0;
    color: #c2cbd8;
    font-size: 14px;
}

.subscription-count {
    padding: 7px 12px;
    border-radius: 24px;
    background: #dcfce7;
    color: #17633b;
    font-size: 12px;
    font-weight: 650;
}

.summary-amount {
    margin: 16px 0 26px;
    font-size: clamp(32px, 9vw, 46px);
    font-weight: 750;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
}

.summary-bottom {
    padding-top: 18px;
    border-top: 1px solid rgb(255 255 255 / 15%);
}

.summary-yearly {
    display: block;
    margin-top: 5px;
    font-size: 20px;
}

.section-title {
    margin: 0 0 14px;
    font-size: 21px;
    font-weight: 700;
}

.subscription-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.subscription-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.subscription-row:hover {
    color: var(--text);
    background: rgb(40 96 239 / 4%);
}

.subscription-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 750;
}

.icon-color-0 {
    background: #fff0bd;
    color: #745300;
}

.icon-color-1 {
    background: #ffe1e5;
    color: #a91830;
}

.icon-color-2 {
    background: #e9e2ff;
    color: #5637b8;
}

.icon-color-3 {
    background: #d9f4e9;
    color: #14634e;
}

.subscription-name {
    display: block;
    font-size: 16px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.subscription-date {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.subscription-price {
    text-align: right;
}

.subscription-price strong {
    display: block;
    font-size: 15px;
}

.subscription-frequency {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.empty-state {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
}

.app-navigation {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    max-width: 560px;
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--background);
}

.navigation-link {
    display: grid;
    place-items: center;
    min-height: 48px;
    padding: 0 16px;
    color: var(--blue);
    font-weight: 650;
    text-decoration: none;
}

.add-button {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border: 5px solid var(--background);
    border-radius: 50%;
    background: var(--blue);
    color: white;
    font-size: 36px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 7px 18px rgb(40 96 239 / 25%);
}

.add-button:hover {
    background: #194bd0;
    color: white;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

@media (max-width: 360px) {
    .subscription-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .subscription-price {
        grid-column: 2;
        text-align: left;
    }

    .subscription-icon {
        width: 42px;
        height: 42px;
    }
}

.page-toolbar {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.toolbar-title {
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 650;
}

.back-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 2px 5px rgb(0 0 0 / 6%);
}

.back-button:hover {
    background: #eeece6;
    color: var(--text);
}

.details-heading {
    margin-bottom: 30px;
    text-align: center;
}

.details-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 25px;
    font-size: 32px;
}

.details-name {
    margin: 0;
    font-size: 30px;
    font-weight: 750;
    letter-spacing: -0.8px;
    overflow-wrap: anywhere;
}

.price-breakdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.price-breakdown > div:last-child {
    text-align: right;
}

.price-breakdown strong {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    overflow-wrap: anywhere;
}

.payment-card {
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
}

.payment-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.payment-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: #edf4ff;
    color: var(--blue);
}

.payment-label {
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 14px;
}

.payment-date {
    font-size: 20px;
}

.payment-message {
    margin: 20px 0 0;
    padding: 16px;
    border-radius: 16px;
    background: #edf4ff;
    color: #244fa3;
    font-size: 14px;
    line-height: 1.6;
}

.details-actions {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.details-actions form {
    margin: 0;
}

.app-primary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 18px;
    border: 0;
    border-radius: 18px;
    background: var(--blue);
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 18px rgb(40 96 239 / 18%);
}

.details-actions .app-primary-button {
    flex: 1;
}

.app-primary-button:hover {
    background: #194bd0;
    color: white;
}

.delete-button {
    display: grid;
    place-items: center;
    width: 54px;
    min-height: 54px;
    height: 100%;
    border: 1px solid #f3bfc3;
    border-radius: 18px;
    background: #fff6f6;
    color: #bb2636;
}

.delete-button:hover {
    background: #ffe5e8;
}

.form-intro {
    margin-bottom: 26px;
    padding: 20px;
    border-radius: 22px;
    background: #edf4ff;
    color: #244fa3;
}

.form-intro strong {
    display: block;
    margin-bottom: 8px;
}

.form-intro p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.app-form .form-field {
    margin-bottom: 24px;
}

.app-form label,
.app-form legend {
    display: block;
    margin-bottom: 9px;
    font-size: 15px;
    font-weight: 600;
}

.app-form .form-input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 15px 17px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 16px;
}

.app-form .form-input:focus {
    border-color: var(--blue);
    outline: 3px solid rgb(40 96 239 / 15%);
}

.app-form .form-help {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.app-form fieldset {
    min-width: 0;
    padding: 0;
    border: 0;
}

.frequency-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 5px;
    border-radius: 18px;
    background: #e9eaf0;
}

.frequency-option {
    position: relative;
}

.frequency-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.app-form .frequency-label {
    display: grid;
    place-items: center;
    min-height: 46px;
    margin: 0;
    padding: 10px;
    border-radius: 14px;
    color: var(--muted);
    cursor: pointer;
}

.frequency-input:checked + .frequency-label {
    background: var(--surface);
    color: var(--blue);
    box-shadow: 0 2px 5px rgb(0 0 0 / 8%);
}

.frequency-input:focus-visible + .frequency-label {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

.field-validation-error {
    display: block;
    margin-top: 7px;
    color: #b42332;
    font-size: 13px;
}

.app-form .input-validation-error {
    border-color: #b42332;
}

.app-form .app-primary-button {
    width: 100%;
    margin-top: 8px;
}

.form-cancel {
    display: block;
    margin-top: 12px;
    padding: 14px;
    color: var(--muted);
    text-align: center;
    text-decoration: none;
}

.form-cancel:hover {
    color: var(--text);
    text-decoration: underline;
}

.subscription-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 2px 5px rgb(0 0 0 / 6%);
}

.subscription-search svg {
    flex-shrink: 0;
    color: var(--muted);
}

.subscription-search input {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 15px 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 16px;
}

.subscription-search input::placeholder {
    color: var(--muted);
}

.subscription-search:focus-within {
    border-color: var(--blue);
    outline: 3px solid rgb(40 96 239 / 15%);
}

.search-status {
    margin: 10px 0 24px;
    color: var(--muted);
    font-size: 13px;
}

.category-badge {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 14px;
    border-radius: 24px;
    background: #e9edf5;
    color: #465572;
    font-size: 13px;
    font-weight: 600;
}

.account-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.account-email {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--muted);
    font-size: 13px;
}

.account-bar form {
    margin: 0;
    flex-shrink: 0;
}

.account-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: 12px;
    background: white;
    color: var(--blue);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.welcome-page {
    min-height: calc(100svh - 64px);
    display: flex;
    flex-direction: column;
    padding: 24px 0;
}

.welcome-content {
    margin-top: auto;
    margin-bottom: auto;
    padding: 48px 0;
}

.welcome-label {
    margin-bottom: 18px;
    color: #2860ff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.welcome-title {
    margin: 0;
    color: #191a18;
    font-size: clamp(36px, 9vw, 48px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.welcome-description {
    margin: 24px 0 0;
    color: #777973;
    font-size: 17px;
    line-height: 1.6;
}

.welcome-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 24px;
}

.welcome-button {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
    padding: 16px;
    border-radius: 18px;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
}

.welcome-button-primary {
    background: #2860ee;
    color: white;
    box-shadow: 0 8px 16px rgb(40 96 238 / 18%);
}

.welcome-button-primary:hover {
    background: #2053d6;
    color: white;
}

.welcome-button-secondary {
    border: 1px solid #dedbd3;
    background: white;
    color: #191a18;
}

.welcome-button-secondary:hover {
    background: #f1f0ec;
    color: #191a18;
}

.auth-header {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    margin-bottom: 44px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.auth-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #e4e1da;
    border-radius: 50%;
    background: white;
    color: #191a18;
    text-decoration: none;
    box-shadow: 0 2px 4px rgb(0 0 0 / 8%);
}

.auth-back span {
    font-size: 34px;
    line-height: 1;
}

.auth-back:hover {
    background: #f1f0ec;
    color: #191a18;
}

.auth-intro {
    margin-bottom: 36px;
}

.auth-title {
    margin: 0;
    color: #191a18;
    font-size: clamp(28px, 7vw, 36px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
}

.auth-description {
    margin: 18px 0 0;
    color: #777973;
    font-size: 17px;
    line-height: 1.6;
}

.auth-form .form-input {
    min-height: 58px;
    border-radius: 18px;
}

.auth-submit {
    width: 100%;
    border: 0;
    margin-top: 8px;
    cursor: pointer;
}

.auth-switch {
    margin: 24px 0 0;
    text-align: center;
    color: #777973;
    font-size: 14px;
    line-height: 1.6;
}

.auth-switch a {
    color: #2860ff;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}
.auth-back {
    padding: 0;
    line-height: 1;
}

.auth-back svg {
    display: block;
    flex-shrink: 0;
}

.empty-add-button {
    width: 100%;
    margin-top: 16px;
    min-height: 64px;
    font-weight: 600;
}

.profile-card {
    margin: 0 0 28px;
    padding: 24px;
    border: 1px solid #dedbd3;
    border-radius: 24px;
    background: white;
}

.profile-row + .profile-row {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #ece9e2;
}

.profile-row dt {
    margin-bottom: 8px;
    color: #777973;
    font-size: 14px;
    font-weight: 500;
}

.profile-row dd {
    margin: 0;
    color: #191a18;
    font-size: 18px;
    overflow-wrap: anywhere;
}

.profile-logout {
    width: 100%;
    cursor: pointer;
}

.profile-edit-form {
    margin-bottom: 24px;
}

.profile-edit-form .profile-card {
    margin-bottom: 0;
}

.profile-success {
    margin-bottom: 24px;
    padding: 16px 20px;
    border-radius: 16px;
    background: #dcfce7;
    color: #166534;
}

.profile-overview {
    padding-bottom: 24px;
}

.po-eyebrow {
    margin: 0 0 8px;
    color: #6b7280;
}

.profile-overview h1 {
    margin: 0 0 28px;
}

.po-account {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border-radius: 28px;
    background: #172033;
    color: #fff;
    box-shadow: 0 14px 30px rgb(23 32 51 / 12%);
}

.po-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #dbeafe;
    color: #2454df;
    font-size: 24px;
    font-weight: 700;
}

.po-identity {
    flex: 1;
    min-width: 0;
}

.po-identity h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 22px;
    overflow-wrap: anywhere;
}

.po-identity p {
    margin: 0;
    color: #c3cbd8;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.po-edit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgb(255 255 255 / 10%);
    color: #fff;
}

.po-edit:hover {
    background: rgb(255 255 255 / 20%);
    color: #fff;
}

.po-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.po-stat {
    padding: 22px;
    border: 1px solid #e5e3de;
    border-radius: 24px;
    background: #fff;
}

.po-stat p {
    margin: 0 0 10px;
    color: #6b7280;
}

.po-stat strong {
    display: block;
    margin-bottom: 6px;
    font-size: clamp(22px, 5vw, 30px);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.po-stat span {
    color: #6b7280;
    font-size: 14px;
}

.po-section-title {
    margin: 0 0 14px;
    font-size: 20px;
}

.po-menu {
    overflow: hidden;
    border: 1px solid #e5e3de;
    border-radius: 24px;
    background: #fff;
}

.po-menu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px;
    color: #171b18;
    text-decoration: none;
}

.po-menu-row + .po-menu-row {
    border-top: 1px solid #eeece7;
}

a.po-menu-row:hover {
    background: #f7f8fa;
    color: #171b18;
}

.po-menu-row strong {
    display: block;
    font-weight: 600;
}

.po-menu-row small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
}

.po-currency {
    color: #6b7280;
}

.po-logout-form {
    margin-top: 24px;
}

.po-logout {
    width: 100%;
    min-height: 56px;
    padding: 16px 22px;
    border: 1px solid #e5e3de;
    border-radius: 20px;
    background: #fff;
    color: #c53030;
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.po-logout:hover {
    background: #fff5f5;
}

@media (max-width: 420px) {
    .po-account {
        gap: 12px;
        padding: 18px;
    }

    .po-avatar {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .po-identity h2 {
        font-size: 18px;
    }

    .po-stat {
        padding: 16px;
    }

    .po-stats {
        gap: 12px;
    }
}

.app-navigation .navigation-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 72px;
    min-height: 56px;
    color: #73766f;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.app-navigation .navigation-link.is-active {
    color: #2860f0;
    font-weight: 600;
}

.app-navigation .navigation-link:hover {
    color: #2860f0;
}

.app-navigation a:focus-visible {
    outline: 3px solid #2860f0;
    outline-offset: 5px;
    border-radius: 12px;
}

.reminder-card {
    padding: 22px;
    border: 1px solid #e5e3de;
    border-radius: 24px;
    background: #fff;
}

.reminder-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.reminder-heading h2 {
    margin: 0;
    font-size: 18px;
}

.premium-badge {
    padding: 4px 10px;
    border-radius: 20px;
    background: #fff3c4;
    color: #92400e;
    font-size: 12px;
    font-weight: 700;
}

.reminder-card .form-check {
    margin-bottom: 18px;
}

.reminder-card .form-check-input:checked {
    background-color: #2860f0;
    border-color: #2860f0;
}

.reminder-card .form-help {
    margin-top: 12px;
    margin-bottom: 0;
}

.reminder-card .reminder-locked {
    margin-top: 24px;
    margin-bottom: 0;
}

.po-premium-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #eff6ff;
    color: #2860f0;
}

.po-premium-copy {
    flex: 1;
    min-width: 0;
}

.po-premium-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.reminder-premium-link {
    display: inline-block;
    margin-top: 20px;
    color: #2454df;
    font-weight: 600;
}

.premium-offer {
    padding: 24px;
    border: 1px solid #e5e3de;
    border-radius: 28px;
    background: #fff;
}

.premium-offer h1 {
    margin-top: 20px;
    font-size: clamp(28px, 6vw, 40px);
}

.premium-benefits {
    padding-left: 22px;
    margin: 24px 0;
}

.premium-benefits li {
    margin-bottom: 12px;
}

.reminder-card .form-check.form-switch.reminder-locked {
    margin-top: 28px;
    margin-bottom: 16px;
}

.reminder-card #individual-reminder-settings {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eeece7;
}

.reminder-card #individual-reminder-settings[hidden] {
    display: none;
}

.account-delete-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    margin-top: 24px;
    padding: 16px 20px;
    border: 1px solid #fecaca;
    border-radius: 20px;
    background: #fff;
    color: #b91c1c;
    font-weight: 600;
    text-decoration: none;
}

.account-delete-link:hover {
    background: #fff1f2;
    color: #991b1b;
}

.account-delete-notice {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid #fecaca;
    border-radius: 20px;
    background: #fff1f2;
    color: #991b1b;
}

.account-delete-notice p:last-child {
    margin-bottom: 0;
}

.account-danger-button {
    width: 100%;
    min-height: 56px;
    padding: 16px 20px;
    border: none;
    border-radius: 20px;
    background: #b91c1c;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.account-danger-button:hover {
    background: #991b1b;
}

.account-delete-link:focus-visible,
.account-danger-button:focus-visible {
    outline: 3px solid #b91c1c;
    outline-offset: 4px;
}

/* Valutasiden */

.currency-page {
    padding-bottom: 24px;
    color: #202938;
}

.currency-toolbar {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    margin-bottom: 36px;
}

.currency-toolbar > p {
    margin: 0;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
}

.currency-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e6e8eb;
    border-radius: 50%;
    background: #fff;
    color: #202938;
    text-decoration: none;
    box-shadow: 0 2px 5px rgb(0 0 0 / 3%);
}

.currency-intro {
    margin-bottom: 26px;
}

.currency-eyebrow {
    margin: 0 0 10px;
    color: #377fc5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.currency-intro h1 {
    margin: 0 0 12px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.currency-description {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.currency-list {
    overflow: hidden;
    border: 1px solid #e6e8ec;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 16px rgb(0 0 0 / 3%);
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 86px;
    padding: 18px;
    border: 0;
    border-bottom: 1px solid #edf0f3;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.currency-option:last-child {
    border-bottom: 0;
}

.currency-option:hover {
    background: #f5f8fc;
}

.currency-option.is-selected {
    background: #edf5ff;
}

.currency-symbol {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: #f3f4f6;
    color: #596579;
    font-size: 22px;
    font-weight: 600;
}

.currency-option.is-selected .currency-symbol {
    background: #dcecff;
    color: #2878cf;
}

.currency-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.currency-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.currency-code {
    color: #7b8493;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.currency-check {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1.5px solid #d8dee7;
    border-radius: 50%;
    color: #fff;
}

.currency-option.is-selected .currency-check {
    border-color: #3488e5;
    background: #3488e5;
}

.currency-option:focus-visible {
    position: relative;
    outline: 3px solid #236fc2;
    outline-offset: -4px;
}

.currency-back:focus-visible {
    outline: 3px solid #236fc2;
    outline-offset: 3px;
}

.currency-save-help {
    margin: 12px 4px 0;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
}

.currency-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    padding: 18px;
    border: 1px solid #e0ebf8;
    border-radius: 16px;
    background: #eef5fc;
    color: #58718e;
}

.currency-info > svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #5088c3;
}

.currency-info > p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
}

.currency-success {
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #edf8f0;
    color: #28633b;
    font-size: 14px;
}

/* Påminnelsesinnstillinger */

#reminder-settings-form .reminder-card {
    padding: 24px;
}

#reminder-settings-form .form-switch {
    margin: 18px 0;
}

#reminder-settings-form .reminder-help {
    margin-top: 22px;
    font-size: 0.9rem;
}

#reminder-settings-form .reminder-help summary {
    cursor: pointer;
    font-weight: 600;
}

#reminder-settings-form .reminder-help p {
    margin-top: 12px;
}

/* Knapp for å tømme abonnementssøket. */

.subscription-search .search-clear-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.subscription-search .search-clear-button[hidden] {
    display: none;
}

.subscription-search .search-clear-button:hover {
    background: rgb(0 0 0 / 6%);
}

.subscription-search .search-clear-button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* Unngå to kryss i nettlesere som har et innebygd kryss. */
#subscription-search::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.welcome-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin: 0 auto 36px;
}

.welcome-brand-symbol {
    width: clamp(44px, 10vw, 64px);
    height: auto;
    flex-shrink: 0;
}

.welcome-brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 10vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #172033;
}




