* {
    box-sizing: border-box;
}

body {
    color: #333;
}

/* Subtitle */
.form-subtitle {
    text-align: center;
    max-width: 900px;
    margin: 20px auto 30px auto;
}

.form-subtitle p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 999px;
    overflow: hidden;
    margin: 6px 0 16px 0;
}

.progress-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    border-radius: 999px;
    transition: width 0.25s ease-out;
}

/* Card wrapper */
.form-card {
    max-width: 1050px;
    margin: 0 auto 40px auto;
    background: var(--ui-card-surface);
    border-radius: var(--ui-radius-lg);
    border: 1px solid var(--ui-card-border);
    box-shadow: var(--ui-card-shadow);
    padding: 34px 30px 26px 30px;
}

@media (prefers-color-scheme: dark) {
    .form-card {
        background: var(--ui-card-surface-dark);
        border: 1px solid var(--ui-card-dark-border);
        box-shadow: var(--ui-card-dark-shadow);
    }

    .form-subtitle p {
        color: #ddd;
    }
}

.form-step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: #56647f;
    margin-bottom: 6px;
}

.step-counter {
    font-weight: 600;
}

.step-title {
    font-weight: 700;
    color: #2f3d59;
    text-align: right;
}

.form-step-hint {
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: #62708c;
    line-height: 1.6;
}

.deposit-preview {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: var(--ui-radius-md);
    border: 1px solid var(--ui-card-border);
    background: linear-gradient(170deg, rgba(0, 123, 255, 0.10), rgba(0, 123, 255, 0.03));
    display: grid;
    gap: 2px;
}

.deposit-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #496082;
    font-weight: 700;
}

.deposit-preview strong {
    font-size: 1.35rem;
    line-height: 1.1;
    color: #114c97;
}

.deposit-note {
    font-size: 0.83rem;
    color: #5e718f;
}

.draft-note {
    min-height: 20px;
    margin: -2px 0 14px;
    font-size: 0.84rem;
    color: #4f6689;
}

/* Steps */
.form-step {
    display: none;
    animation: fadeIn 0.2s ease-out;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    font-size: 1.3rem;
    margin: 10px 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.form-step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #333;
}

@media (prefers-color-scheme: dark) {
    .form-step h2,
    .form-step h3 {
        color: #fff;
    }
}

/* Fields */
.field-group {
    margin-bottom: 18px;
}

.field-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.helper-text {
    display: block;
    font-size: 0.8rem;
    color: #777;
    margin-top: 3px;
}

.helper-text a {
    color: #007bff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.helper-text a:hover {
    color: #0056b3;
}

.required {
    color: red;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--ui-radius-sm);
    border: 1px solid #ccc;
    font-size: 1rem;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

@media (prefers-color-scheme: dark) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    textarea {
        background-color: #222;
        color: #f5f5f5;
        border: 1px solid #555;
    }
}

/* Pills */
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-row-multi {
    margin-top: 6px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    border: 1px solid #e0e0e0;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    background-color: #f8f9fa;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.pill input {
    margin: 0;
}

.pill:hover {
    background-color: #e9ecef;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

@media (prefers-color-scheme: dark) {
    .pill {
        background-color: #444;
        border: 1px solid #555;
        color: #f5f5f5;
    }

    .pill:hover {
        background-color: #555;
    }
}

/* File upload */
.file-upload-group {
    margin-top: 8px;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background-color: #e9ecef;
    cursor: pointer;
    font-size: 0.9rem;
}

.file-label i {
    color: #007bff;
}

#asset_files {
    display: none;
}

/* Colour studio (swatch picker) */
.colour-studio {
    display: grid;
    gap: 12px;
}

.swatch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
    gap: 10px;
    margin-top: 4px;
}

.swatch {
    --swatch: #2563EB;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    border: 2px solid rgba(15, 28, 58, 0.08);
    background: var(--swatch);
    cursor: pointer;
    padding: 0;
    transition: transform .18s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow .18s ease,
                border-color .18s ease;
    box-shadow: 0 4px 10px rgba(15, 28, 58, 0.12), inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.swatch:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 22px rgba(15, 28, 58, 0.2), inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.swatch:focus-visible {
    outline: 3px solid #2563EB;
    outline-offset: 3px;
}

.swatch.is-selected {
    border-color: #fff;
    box-shadow: 0 0 0 3px var(--swatch),
                0 12px 24px rgba(15, 28, 58, 0.24),
                inset 0 0 0 2px rgba(255, 255, 255, 0.55);
    transform: translateY(-2px) scale(1.04);
}

.swatch.is-selected::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.15rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.colour-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 44px;
    align-items: center;
}

.colour-chip-empty {
    margin: 0;
    font-size: 0.85rem;
    color: #62708c;
    font-style: italic;
}

.colour-chip {
    --chip: #2563EB;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px 6px 6px;
    border-radius: 999px;
    background: var(--ui-card-surface);
    border: 1px solid var(--ui-card-border);
    cursor: pointer;
    font-size: 0.88rem;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    box-shadow: 0 4px 12px rgba(15, 28, 58, 0.08);
}

.colour-chip:hover {
    transform: translateY(-1px);
    border-color: var(--ui-card-border-hover);
    box-shadow: 0 8px 18px rgba(15, 28, 58, 0.16);
}

.colour-chip__swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--chip);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45), 0 0 0 1px rgba(15, 28, 58, 0.08);
    flex-shrink: 0;
}

.colour-chip__label {
    font-weight: 600;
    color: #25324a;
}

.colour-chip__hex {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.82rem;
    color: #536684;
    letter-spacing: 0.04em;
}

.colour-chip__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.1);
    color: #e63946;
    font-size: 0.7rem;
}

.colour-custom {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border-radius: var(--ui-radius-md);
    border: 1px dashed var(--ui-card-border);
    background: rgba(255, 255, 255, 0.5);
}

.colour-custom__label {
    margin: 0 !important;
    font-size: 0.85rem;
    color: #56647f;
    font-weight: 600;
}

.colour-custom__inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.colour-custom__inputs input[type="color"] {
    width: 44px;
    height: 38px;
    padding: 2px;
    border-radius: 10px;
    border: 1px solid var(--ui-card-border);
    background: #fff;
    cursor: pointer;
}

.colour-custom__inputs input[type="text"] {
    flex: 1;
    min-width: 120px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.btn-chip-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
    transition: transform .18s ease, box-shadow .18s ease;
}

.btn-chip-add:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.38);
}

.colour-studio.is-full .swatch:not(.is-selected) {
    opacity: 0.45;
    cursor: not-allowed;
}

.colour-studio.is-full .btn-chip-add {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.green {
    color: green;
}

/* Live summary panel */
.live-summary {
    display: grid;
    grid-template-columns: 1fr minmax(180px, auto);
    gap: 18px;
    margin: 2px 0 16px;
    padding: 16px 18px;
    border-radius: var(--ui-radius-md);
    border: 1px solid var(--ui-card-border);
    background: linear-gradient(170deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
    box-shadow: 0 10px 24px rgba(15, 28, 58, 0.08);
    align-items: center;
}

.live-summary__eyebrow {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #486a9f;
    font-weight: 700;
    margin-bottom: 4px;
}

.live-summary__headline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.live-summary__headline strong {
    font-size: 1.15rem;
    color: #0f2547;
    line-height: 1.1;
}

.live-summary__payment {
    font-size: 0.88rem;
    color: #3a567f;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    font-weight: 600;
}

.live-summary__payment:empty {
    display: none;
}

.live-summary__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 0.82rem;
}

.live-summary__meta li {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
}

.live-summary__meta span {
    color: #5a6e92;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.68rem;
    font-weight: 700;
}

.live-summary__meta strong {
    color: #1a2c50;
    font-weight: 600;
}

.live-summary__deposit {
    text-align: right;
    padding: 8px 14px;
    border-radius: var(--ui-radius-sm);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(37, 99, 235, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    min-width: 160px;
    transition: border-color .3s ease, background .3s ease;
}

.live-summary--active .live-summary__deposit {
    background: linear-gradient(160deg, rgba(37, 99, 235, 0.92) 0%, rgba(29, 78, 216, 0.92) 100%);
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}

.live-summary__deposit-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #486a9f;
    font-weight: 700;
}

.live-summary--active .live-summary__deposit-label {
    color: rgba(255, 255, 255, 0.85);
}

.live-summary__deposit strong {
    display: block;
    font-size: 1.6rem;
    line-height: 1.1;
    color: #0f2547;
    margin-top: 2px;
}

.live-summary--active .live-summary__deposit strong {
    color: #ffffff;
}

.live-summary__deposit small {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    color: #5a6e92;
    line-height: 1.3;
}

.live-summary--active .live-summary__deposit small {
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 680px) {
    .live-summary {
        grid-template-columns: 1fr;
    }
    .live-summary__deposit {
        text-align: left;
    }
}

/* Conditional sections */
.conditional-block {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

/* Confirmations */
.confirmations label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.confirmations a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.project-summary {
    margin-top: 8px;
    padding: 14px 14px 12px;
    border-radius: var(--ui-radius-md);
    border: 1px solid var(--ui-card-border);
    background: var(--ui-card-surface);
    box-shadow: 0 8px 18px rgba(15, 28, 58, 0.08);
}

.project-summary h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.project-summary ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.project-summary li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px dashed rgba(18, 33, 67, 0.16);
    padding-bottom: 6px;
}

.project-summary li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-summary span {
    font-size: 0.88rem;
    color: #536684;
}

.project-summary strong {
    font-size: 0.9rem;
    color: #25324a;
    text-align: right;
}

/* Buttons */
.form-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.cta-button {
    text-decoration: none;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: var(--ui-radius-sm);
    padding: 10px 22px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow .3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(0, 86, 179, 0.4);
}

.secondary-button {
    background-color: #f8f9fa;
    color: #333;
    border-radius: var(--ui-radius-sm);
    border: 1px solid #ccc;
    padding: 10px 22px;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease, transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 8px 16px rgba(15, 28, 58, 0.1);
}

.secondary-button:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(15, 28, 58, 0.16);
}

.secondary-button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-link {
    border: none;
    background: none;
    color: #007bff;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    margin-top: 4px;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Errors */
.error {
    color: #e63946;
    font-size: 0.8rem;
    margin-top: 3px;
}

input.invalid,
textarea.invalid,
select.invalid {
    border-color: #e63946 !important;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.18);
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .form-card {
        padding: 18px 14px;
    }

    .form-step-indicator {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .step-title {
        text-align: left;
    }

    .pill-row {
        gap: 6px;
    }

    .colour-row {
        flex-direction: column;
    }
}

.colour-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remove-colour-btn {
    border: none;
    background: transparent;
    color: #d32f2f;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.remove-colour-btn i {
    pointer-events: none;
}

.remove-colour-btn:hover {
    background-color: #f1f3f5;
}

/* Included features dropdown */
.included-features {
    background: linear-gradient(175deg, #ffffff 0%, #f8fbff 100%);
    border-radius: var(--ui-radius-md);
    border: 1px solid var(--ui-card-border);
    padding: 14px 14px;
    margin-bottom: 16px;
    box-shadow: 0 8px 18px rgba(15, 28, 58, 0.08);
}

.included-features ul {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 0 0;
}

.included-features li {
    font-size: 0.95rem;
    padding: 4px 0;
}

.included-details {
    margin-top: 10px;
}

.included-details summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    user-select: none;
}

.included-details summary i {
    transition: transform 0.2s ease;
}

.included-details[open] summary i {
    transform: rotate(180deg);
}

.included-full {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0,0,0,0.15);
}


@media (prefers-color-scheme: dark) {
    .remove-colour-btn:hover {
        background-color: #444;
    }
}


@media (prefers-color-scheme: dark) {
    .progress-bar {
        background-color: #444;
    }
    label {
        color: #ddd;
    }
}

@media (prefers-color-scheme: dark) {
    .included-features {
        background: linear-gradient(170deg, rgba(46, 54, 74, 0.9), rgba(31, 37, 53, 0.94));
        border: 1px solid var(--ui-card-dark-border);
        box-shadow: var(--ui-card-dark-shadow);
    }

    .included-full {
        border-top: 1px dashed rgba(255,255,255,0.2);
    }

    .included-details summary {
        color: #f0f0f0;
    }
}

/* Add-ons list (Step 5) */
.addons-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

/* Addon entry wrapper (row + optional detail panel) */
.addon-entry {
    display: flex;
    flex-direction: column;
}

.addon-entry .addon-row {
    border-radius: var(--ui-radius-md);
    transition: border-radius 0.15s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.addon-entry:has(.addon-detail:not([hidden])) .addon-row {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: rgba(37, 99, 235, 0.35);
    box-shadow: none !important;
    transform: none !important;
}

/* Addon detail panel */
.addon-detail {
    padding: 12px 14px;
    margin-top: -1px;
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-top: none;
    border-radius: 0 0 var(--ui-radius-md) var(--ui-radius-md);
    background: linear-gradient(175deg, #f5faff 0%, #eaf2ff 100%);
    animation: fadeIn 0.15s ease-out;
}

.addon-detail[hidden] {
    display: none;
}

/* Qty row inside detail panel */
.addon-qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.addon-qty-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #25324a;
    flex: 1;
    min-width: 140px;
}

.addon-qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid rgba(37, 99, 235, 0.4);
    border-radius: var(--ui-radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(37, 99, 235, 0.1);
    color: #2563EB;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.qty-btn:hover {
    background: rgba(37, 99, 235, 0.22);
}

.qty-display {
    min-width: 40px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #25324a;
    background: #fff;
    border-left: 1px solid rgba(37, 99, 235, 0.2);
    border-right: 1px solid rgba(37, 99, 235, 0.2);
    padding: 0 10px;
    user-select: none;
}

.addon-calc-price {
    font-weight: 700;
    font-size: 1rem;
    color: #2563EB;
    min-width: 48px;
    text-align: right;
}

.addon-detail-field {
    margin-top: 10px;
}

.addon-detail-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #25324a;
    margin-bottom: 5px;
}

@media (prefers-color-scheme: dark) {
    .addon-detail {
        background: linear-gradient(170deg, rgba(37, 99, 235, 0.18), rgba(29, 78, 216, 0.22));
        border-color: rgba(96, 165, 250, 0.4);
    }

    .addon-qty-label,
    .addon-detail-field label {
        color: #c8d7f2;
    }

    .qty-btn {
        background: rgba(96, 165, 250, 0.15);
        color: #93c5fd;
    }

    .qty-btn:hover {
        background: rgba(96, 165, 250, 0.28);
    }

    .qty-display {
        background: #1a2535;
        color: #e4ecff;
        border-color: rgba(96, 165, 250, 0.2);
    }

    .addon-calc-price {
        color: #93c5fd;
    }
}

.addon-row {
    display: grid;
    grid-template-columns: 20px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--ui-radius-md);
    border: 1px solid var(--ui-card-border);
    background: linear-gradient(175deg, #ffffff 0%, #f8fbff 100%);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.addon-row:hover {
    transform: translateY(-2px);
    border-color: var(--ui-card-border-hover);
    box-shadow: 0 10px 20px rgba(15, 28, 58, 0.12);
}

.addon-row input {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #2563EB;
}

.addon-row:has(input:checked) {
    border-color: rgba(37, 99, 235, 0.55);
    background: linear-gradient(175deg, #f5faff 0%, #eaf2ff 100%);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.addon-name {
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #25324a;
    font-weight: 600;
}

.addon-name small {
    font-size: 0.78rem;
    font-weight: 400;
    color: #62708c;
    line-height: 1.35;
}

.addon-price {
    font-weight: 700;
    font-size: 1rem;
    color: #0f2547;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.1;
}

.addon-price small {
    font-size: 0.7rem;
    font-weight: 500;
    color: #6c7d9b;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.addon-row--bundle {
    border: 1px solid rgba(16, 185, 129, 0.45);
    background: linear-gradient(175deg, #f0fdf4 0%, #e6f7ee 100%);
}

.addon-row--bundle .addon-name {
    color: #065f46;
}

.addon-row--bundle .addon-price {
    color: #065f46;
}

@media (prefers-color-scheme: dark) {
    .addon-row {
        background: linear-gradient(170deg, rgba(46, 54, 74, 0.9), rgba(31, 37, 53, 0.94));
        border: 1px solid var(--ui-card-dark-border);
    }

    .addon-row:hover {
        box-shadow: var(--ui-card-dark-shadow-hover);
    }
}

@media (prefers-color-scheme: dark) {
    .secondary-button {
        background: rgba(255, 255, 255, 0.08);
        color: #e6efff;
        border-color: rgba(168, 206, 255, 0.32);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.36);
    }

    .secondary-button:hover {
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(168, 206, 255, 0.5);
        box-shadow: 0 14px 26px rgba(0, 0, 0, 0.46);
    }
}

@media (prefers-color-scheme: dark) {
    .colour-chip {
        background: rgba(46, 54, 74, 0.9);
        border-color: var(--ui-card-dark-border);
    }

    .colour-chip__label {
        color: #edf3ff;
    }

    .colour-chip__hex {
        color: #c0d1f1;
    }

    .colour-custom {
        background: rgba(46, 54, 74, 0.6);
        border-color: rgba(168, 206, 255, 0.32);
    }

    .colour-custom__inputs input[type="color"] {
        background: #1f2535;
        border-color: rgba(168, 206, 255, 0.28);
    }

    .swatch {
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    }

    .swatch.is-selected {
        border-color: #0b1020;
        box-shadow: 0 0 0 3px var(--swatch),
                    0 12px 26px rgba(0, 0, 0, 0.5),
                    inset 0 0 0 2px rgba(255, 255, 255, 0.4);
    }

    .addon-row:has(input:checked) {
        background: linear-gradient(170deg, rgba(37, 99, 235, 0.25), rgba(29, 78, 216, 0.3));
        border-color: rgba(96, 165, 250, 0.6);
    }

    .addon-name,
    .addon-price {
        color: #edf3ff !important;
    }

    .addon-name small,
    .addon-price small {
        color: #b8c7e8 !important;
    }

    .addon-row--bundle {
        background: linear-gradient(170deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
        border-color: rgba(52, 211, 153, 0.5);
    }

    .live-summary {
        background: linear-gradient(170deg, rgba(37, 99, 235, 0.22) 0%, rgba(6, 182, 212, 0.1) 100%);
        border-color: var(--ui-card-dark-border);
    }

    .live-summary__eyebrow,
    .live-summary__deposit-label {
        color: #9fc9ff;
    }

    .live-summary__headline strong,
    .live-summary__meta strong,
    .live-summary__deposit strong {
        color: #f5f9ff;
    }

    .live-summary__payment {
        background: rgba(96, 165, 250, 0.22);
        color: #d8e7ff;
    }

    .live-summary__meta span {
        color: #b8c7e8;
    }

    .live-summary__deposit {
        background: rgba(15, 23, 42, 0.5);
        border-color: rgba(96, 165, 250, 0.3);
    }

    .live-summary__deposit small {
        color: #c0d1f1;
    }

    .live-summary--active .live-summary__deposit small {
        color: rgba(255, 255, 255, 0.82);
    }
}

@media (prefers-color-scheme: dark) {
    body {
        color: #e4ecff;
    }

    .form-step-indicator {
        color: #cad9f5;
    }

    .step-title {
        color: #edf3ff;
    }

    .form-step-hint,
    .helper-text {
        color: #c0d1f1;
    }

    .deposit-preview,
    .project-summary {
        background: linear-gradient(170deg, rgba(46, 54, 74, 0.9), rgba(31, 37, 53, 0.94));
        border: 1px solid var(--ui-card-dark-border);
        box-shadow: var(--ui-card-dark-shadow);
    }

    .deposit-label,
    .deposit-note,
    .draft-note,
    .project-summary span {
        color: #c8d7f2;
    }

    .deposit-preview strong,
    .project-summary strong {
        color: #f0f5ff;
    }

    .project-summary li {
        border-bottom-color: rgba(255, 255, 255, 0.2);
    }

    .addon-name,
    .addon-price {
        color: #e0ebff;
    }

    .conditional-block {
        border-top-color: rgba(255, 255, 255, 0.22);
    }

    .btn-link,
    .confirmations a {
        color: #9fc9ff;
    }
}
