.catalog-add-page,
.catalog-add-page p,
.catalog-add-page li,
.catalog-add-page textarea {
    font-size: 16px;
    font-size: max(1rem, 16px);
}

.catalog-add-page {
    padding-top: 0;
    padding-bottom: 3rem;
    color: #172033;
}

.catalog-add-header {
    width: 100%;
    margin: 1rem 0 1.6rem;
    background: transparent;
    text-align: center;
}

.catalog-add-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.65rem;
    color: #1670cc;
    font-size: 12.8px;
    font-size: max(0.8rem, 12.8px);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-add-header h1 {
    margin: 0 0 0.65rem;
    color: #172033;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 900;
    line-height: 1.15;
}

.catalog-add-header > p:last-child {
    max-width: 46rem;
    margin: 0 auto;
    color: #66758a;
    line-height: 1.55;
}

.catalog-add-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.8fr);
    overflow: hidden;
    width: 100%;
    max-width: 68rem;
    margin: 1.5rem auto 0;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 18px 48px rgba(28, 51, 84, 0.11);
}

.catalog-add-main,
.catalog-add-guide {
    min-width: 0;
    padding: clamp(1.2rem, 3vw, 2rem);
}

.catalog-add-section-heading {
    margin-bottom: 1.5rem;
}

.catalog-add-section-heading h2,
.catalog-add-guide h2,
.catalog-add-state h2 {
    margin: 0;
    color: #172033;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 900;
    line-height: 1.25;
}

.catalog-add-section-heading p {
    margin: 0.4rem 0 0;
    color: #66758a;
    line-height: 1.5;
}

.catalog-add-form {
    display: grid;
    gap: 1.45rem;
}

.catalog-add-field {
    display: grid;
    min-width: 0;
    gap: 0.55rem;
    margin: 0;
}

.catalog-add-action-field {
    padding: 0;
    border: 0;
}

.catalog-add-label {
    margin: 0;
    color: #3e4d62;
    font-size: 15.2px;
    font-size: max(0.95rem, 15.2px);
    font-weight: 850;
    line-height: 1.35;
}

.catalog-add-resort {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 4rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.85rem;
    background: #f0f5fb;
}

.catalog-add-resort__icon {
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    flex: 0 0 2.55rem;
    place-items: center;
    border-radius: 0.75rem;
    background: #e0edfc;
    color: #1670cc;
}

.catalog-add-resort > span:last-child {
    display: grid;
    min-width: 0;
    gap: 0.12rem;
}

.catalog-add-resort strong {
    color: #27364c;
    font-size: 1rem;
}

.catalog-add-resort small,
.catalog-add-choice__copy small,
.catalog-add-hint {
    color: #66758a;
    font-size: 14.4px;
    font-size: max(0.9rem, 14.4px);
    line-height: 1.4;
}

.catalog-add-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.catalog-add-choice {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.catalog-add-choice__input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.catalog-add-choice__surface {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: start;
    min-height: 100%;
    padding: 0.9rem;
    border: 1px solid #d9e2ec;
    border-radius: 0.85rem;
    background: #f8fafc;
    color: #27364c;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.catalog-add-choice__input + .catalog-add-choice__surface::before,
.catalog-add-choice__input + .catalog-add-choice__surface::after {
    display: none !important;
    content: none !important;
}

.catalog-add-choice__icon {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border-radius: 0.7rem;
    background: #e8f2ff;
    color: #1670cc;
}

.catalog-add-choice__copy {
    display: grid;
    min-width: 0;
    gap: 0.25rem;
}

.catalog-add-choice__copy strong {
    color: #27364c;
    font-size: 0.98rem;
    font-weight: 850;
    line-height: 1.3;
}

.catalog-add-choice__check {
    margin-top: 0.2rem;
    color: #1670cc;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 160ms ease, transform 160ms ease;
}

.catalog-add-choice__input:checked + .catalog-add-choice__surface {
    border-color: #5a9ddd;
    background: #edf6ff;
    box-shadow: 0 0 0 3px rgba(22, 112, 204, 0.12);
}

.catalog-add-choice__input:checked + .catalog-add-choice__surface .catalog-add-choice__check {
    opacity: 1;
    transform: scale(1);
}

.catalog-add-choice__input:focus-visible + .catalog-add-choice__surface {
    outline: 3px solid rgba(22, 112, 204, 0.3);
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .catalog-add-choice:hover .catalog-add-choice__surface {
        border-color: #9ebbd7;
        transform: translateY(-1px);
    }
}

.catalog-add-field textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 11rem;
    margin: 0;
    padding: 0.85rem 0.95rem;
    border: 1px solid #cbd7e4;
    border-radius: 0.85rem;
    background: #fff;
    color: #172033;
    font-family: inherit;
    line-height: 1.5;
    resize: vertical;
    box-shadow: none;
}

.catalog-add-field textarea::placeholder {
    color: #8290a2;
    opacity: 1;
}

.catalog-add-field textarea:focus {
    border-color: #1670cc;
    outline: 3px solid rgba(22, 112, 204, 0.16);
    box-shadow: none;
}

.catalog-add-submit {
    display: inline-flex;
    min-height: 3.2rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    justify-self: start;
    padding: 0.75rem 1.2rem;
    border: 0;
    border-radius: 0.8rem;
    background: #1670cc;
    box-shadow: 0 10px 24px rgba(22, 112, 204, 0.22);
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 15.2px;
    font-size: max(0.95rem, 15.2px);
    font-weight: 850;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.catalog-add-submit:hover {
    background: #125fae;
    box-shadow: 0 14px 28px rgba(22, 112, 204, 0.28);
    transform: translateY(-1px);
}

.catalog-add-submit:focus-visible {
    outline: 3px solid rgba(22, 112, 204, 0.32);
    outline-offset: 3px;
}

.catalog-add-guide {
    border-left: 1px solid #e3eaf2;
    background: #f4f7fb;
}

.catalog-add-guide__eyebrow,
.catalog-add-state__eyebrow {
    margin: 0 0 0.35rem;
    color: #1670cc;
    font-size: 12.8px;
    font-size: max(0.8rem, 12.8px);
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.catalog-add-steps {
    display: grid;
    gap: 0;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.catalog-add-steps li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    margin: 0;
    padding: 0.9rem 0;
    border-bottom: 1px solid #dde6ef;
}

.catalog-add-steps li:first-child {
    padding-top: 0;
}

.catalog-add-steps li > span {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: #e2effc;
    color: #155fa9;
    font-size: 0.9rem;
    font-weight: 900;
}

.catalog-add-steps li > div {
    min-width: 0;
}

.catalog-add-steps strong {
    color: #27364c;
    font-weight: 850;
}

.catalog-add-steps p {
    margin: 0.25rem 0 0;
    color: #66758a;
    font-size: 14.4px;
    font-size: max(0.9rem, 14.4px);
    line-height: 1.45;
}

.catalog-add-guide__note {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 1.15rem 0 0;
    color: #536278;
    font-size: 14.4px;
    font-size: max(0.9rem, 14.4px);
    line-height: 1.45;
}

.catalog-add-guide__note i {
    margin-top: 0.2rem;
    color: #1670cc;
}

.catalog-add-state {
    display: flex;
    width: 100%;
    max-width: 52rem;
    flex-direction: column;
    align-items: center;
    margin: 1.5rem auto 0;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 18px 48px rgba(28, 51, 84, 0.11);
    text-align: center;
}

.catalog-add-state__icon {
    display: grid;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    place-items: center;
    border-radius: 1rem;
    background: #e8f2ff;
    color: #1670cc;
    font-size: 1.5rem;
}

.catalog-add-state--success .catalog-add-state__icon {
    background: #e7f7ef;
    color: #168058;
}

.catalog-add-state--success .catalog-add-state__eyebrow {
    color: #168058;
}

.catalog-add-state > p:not(.catalog-add-state__eyebrow) {
    max-width: 40rem;
    margin: 0.65rem auto 0;
    color: #66758a;
    line-height: 1.55;
}

.catalog-add-state__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.35rem;
}

.catalog-add-cta {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 0.8rem;
    font-size: 15.2px;
    font-size: max(0.95rem, 15.2px);
    font-weight: 850;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.catalog-add-cta--primary {
    background: #1670cc;
    color: #fff;
}

.catalog-add-cta--primary:visited,
.catalog-add-cta--primary:hover {
    color: #fff;
}

.catalog-add-cta--primary:hover {
    background: #125fae;
    transform: translateY(-1px);
}

.catalog-add-cta--secondary {
    background: #edf3f8;
    color: #35506e;
}

.catalog-add-cta--secondary:visited,
.catalog-add-cta--secondary:hover {
    color: #35506e;
}

.catalog-add-cta--secondary:hover {
    background: #e3edf5;
    transform: translateY(-1px);
}

.catalog-add-cta:focus-visible,
.catalog-add-back-link:focus-visible {
    outline: 3px solid rgba(22, 112, 204, 0.3);
    outline-offset: 2px;
}

.catalog-add-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.15rem;
    color: #536278;
    font-size: 15.2px;
    font-size: max(0.95rem, 15.2px);
    font-weight: 750;
}

.catalog-add-back-link:hover {
    color: #1670cc;
}

body.dark .catalog-add-page {
    color: #f1f6fd;
}

body.dark .catalog-add-header,
body.dark .catalog-add-header h1 {
    background: transparent;
    color: #f1f6fd;
}

body.dark .catalog-add-header__eyebrow,
body.dark .catalog-add-guide__eyebrow,
body.dark .catalog-add-state__eyebrow {
    color: #8bc3ff;
}

body.dark .catalog-add-header > p:last-child,
body.dark .catalog-add-section-heading p,
body.dark .catalog-add-resort small,
body.dark .catalog-add-choice__copy small,
body.dark .catalog-add-hint,
body.dark .catalog-add-steps p,
body.dark .catalog-add-state > p:not(.catalog-add-state__eyebrow) {
    color: #aab7c8;
}

body.dark .catalog-add-shell,
body.dark .catalog-add-state {
    background: #222b36;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

body.dark .catalog-add-section-heading h2,
body.dark .catalog-add-guide h2,
body.dark .catalog-add-state h2,
body.dark .catalog-add-label,
body.dark .catalog-add-resort strong,
body.dark .catalog-add-choice__copy strong,
body.dark .catalog-add-steps strong {
    color: #f1f6fd;
}

body.dark .catalog-add-resort,
body.dark .catalog-add-choice__surface,
body.dark .catalog-add-field textarea {
    border-color: #3d4957;
    background: #29323d;
    color: #f1f6fd;
}

body.dark .catalog-add-resort__icon,
body.dark .catalog-add-choice__icon,
body.dark .catalog-add-steps li > span {
    background: #33475b;
    color: #8bc3ff;
}

body.dark .catalog-add-choice__input:checked + .catalog-add-choice__surface {
    border-color: #5d9bd1;
    background: #2d4053;
    box-shadow: 0 0 0 3px rgba(91, 167, 230, 0.13);
}

body.dark .catalog-add-field textarea::placeholder {
    color: #93a2b3;
}

body.dark .catalog-add-guide {
    border-left-color: #3a4654;
    background: #29323d;
}

body.dark .catalog-add-steps li {
    border-bottom-color: #3a4654;
}

body.dark .catalog-add-guide__note,
body.dark .catalog-add-back-link {
    color: #b6c3d2;
}

body.dark .catalog-add-state--success .catalog-add-state__icon {
    background: #25483b;
    color: #79d9af;
}

body.dark .catalog-add-state--success .catalog-add-state__eyebrow {
    color: #79d9af;
}

body.dark .catalog-add-cta--secondary,
body.dark .catalog-add-cta--secondary:visited {
    background: #303b48;
    color: #f1f6fd;
}

body.dark .catalog-add-cta--secondary:hover {
    background: #3a4654;
    color: #fff;
}

@media (max-width: 820px) {
    .catalog-add-shell {
        grid-template-columns: 1fr;
    }

    .catalog-add-guide {
        border-top: 1px solid #e3eaf2;
        border-left: 0;
    }

    body.dark .catalog-add-guide {
        border-top-color: #3a4654;
        border-left: 0;
    }
}

@media (max-width: 620px) {
    .catalog-add-page {
        padding-bottom: 2rem;
    }

    .catalog-add-header {
        margin-top: 0.75rem;
    }

    .catalog-add-choices {
        grid-template-columns: 1fr;
    }

    .catalog-add-submit,
    .catalog-add-state__actions,
    .catalog-add-cta {
        width: 100%;
    }

    .catalog-add-state__actions {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    .catalog-add-choice__surface,
    .catalog-add-choice__check,
    .catalog-add-submit,
    .catalog-add-cta {
        transition: none;
    }
}
