/* =========================================================
   CBC 3.0 REGISTRATION PAGE
   ========================================================= */

.registration-page {
    min-height: calc(100vh - 180px);
    padding: 70px 24px 90px;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(47, 111, 78, 0.08),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(218, 170, 45, 0.08),
            transparent 30%
        ),
        #f4f8f5;
}

.registration-container {
    width: min(1180px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.82fr 1.4fr;

    background: #ffffff;

    border-radius: 26px;

    overflow: hidden;

    box-shadow:
        0 25px 70px rgba(19, 55, 40, 0.12);
}


/* =========================================================
   LEFT PANEL
   ========================================================= */

.registration-intro {
    position: relative;

    background:
        linear-gradient(
            145deg,
            #123c30,
            #1e6048 55%,
            #164737
        );

    color: #ffffff;

    overflow: hidden;
}

.registration-intro::before {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    background: rgba(74, 218, 170, 0.10);

    top: -150px;
    right: -150px;
}

.registration-intro::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.10);

    bottom: -140px;
    left: -120px;
}

.registration-intro-inner {
    position: relative;

    z-index: 2;

    padding: 58px 48px;
}

.registration-kicker {
    display: inline-block;

    margin-bottom: 24px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;

    color: #f0c34d;
}

.registration-intro h1 {
    margin: 0;

    max-width: 430px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.05;

    font-weight: 500;
}

.registration-intro h1 span {
    display: block;

    color: #65e0b3;
}

.registration-intro-text {
    max-width: 420px;

    margin: 26px 0 40px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   HIGHLIGHTS
   ========================================================= */

.registration-highlights {
    display: flex;

    flex-direction: column;

    gap: 22px;
}

.registration-highlight {
    display: flex;

    gap: 15px;

    align-items: flex-start;
}

.highlight-icon {
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(101, 224, 179, 0.14);

    border: 1px solid rgba(101, 224, 179, 0.3);

    color: #65e0b3;

    font-size: 14px;

    font-weight: 800;
}

.registration-highlight strong {
    display: block;

    margin-bottom: 4px;

    font-size: 14px;
}

.registration-highlight span {
    display: block;

    color: rgba(255, 255, 255, 0.62);

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   EVENT CARD
   ========================================================= */

.registration-event-card {
    margin-top: 50px;

    padding: 20px;

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(8px);
}

.registration-event-card span {
    display: block;

    margin-bottom: 8px;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;

    color: #f0c34d;
}

.registration-event-card strong {
    display: block;

    font-family: Georgia, serif;

    font-size: 21px;
}

.registration-event-card small {
    display: block;

    margin-top: 5px;

    color: rgba(255, 255, 255, 0.65);
}


/* =========================================================
   FORM AREA
   ========================================================= */

.registration-form-wrapper {
    padding: 55px 58px 60px;
}

.registration-form-header {
    margin-bottom: 35px;
}

.form-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #2f6f4e;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2.5px;
}

.registration-form-header h2 {
    margin: 0;

    color: #173b2f;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 38px;

    font-weight: 500;
}

.registration-form-header p {
    margin: 10px 0 0;

    color: #718078;

    font-size: 14px;
}


/* =========================================================
   ALERT
   ========================================================= */

.registration-alert {
    padding: 16px 18px;

    margin-bottom: 25px;

    border-radius: 12px;

    font-size: 13px;
}

.registration-alert-error {
    background: #fff3f3;

    border: 1px solid #ffd0d0;

    color: #9d2828;
}

.registration-alert ul {
    margin: 8px 0 0;

    padding-left: 18px;
}


/* =========================================================
   FORM SECTION
   ========================================================= */

.form-section {
    padding: 30px 0;

    border-top: 1px solid #e7eee9;
}

.form-section:first-of-type {
    padding-top: 0;

    border-top: 0;
}

.form-section-heading {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 25px;
}

.section-number {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background: #e9f4ef;

    color: #2f6f4e;

    font-size: 11px;

    font-weight: 800;
}

.form-section-heading h3 {
    margin: 0;

    color: #183b30;

    font-size: 18px;
}

.form-section-heading p {
    margin: 4px 0 0;

    color: #84918b;

    font-size: 12px;
}


/* =========================================================
   FORM GRID
   ========================================================= */

.form-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.form-field {
    min-width: 0;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label,
.package-area > label {
    display: block;

    margin-bottom: 8px;

    color: #28443a;

    font-size: 12px;

    font-weight: 700;
}

.form-field label span,
.package-area > label span {
    color: #c63b3b;
}

.form-field input,
.form-field select {
    width: 100%;

    height: 48px;

    padding: 0 14px;

    border: 1px solid #dbe5df;

    border-radius: 10px;

    background: #fbfdfc;

    color: #1b3028;

    font-family: inherit;

    font-size: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-field input:focus,
.form-field select:focus {
    border-color: #2f8b67;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(47, 139, 103, 0.10);
}

.form-field input::placeholder {
    color: #a5b0ab;
}

.field-help {
    display: block;

    margin-top: 7px;

    color: #89968f;

    font-size: 10px;
}


/* =========================================================
   EMAIL ICON
   ========================================================= */

.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    color: #2f6f4e;

    font-weight: 700;

    z-index: 2;
}

.input-with-icon input {
    padding-left: 37px;
}


/* =========================================================
   PHOTO UPLOAD
   ========================================================= */

.photo-upload-area {
    display: flex;

    align-items: center;

    gap: 25px;

    padding: 24px;

    border: 1px dashed #b9cec3;

    border-radius: 16px;

    background: #f8fbf9;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.photo-upload-area.dragover {
    border-color: #2f8b67;

    background: #eef8f3;
}

.photo-preview {
    width: 120px;
    height: 120px;

    flex: 0 0 120px;

    position: relative;

    overflow: hidden;

    border-radius: 18px;

    background: #e6efea;

    border: 1px solid #d4e2da;
}

.photo-preview img {
    display: none;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.photo-preview.has-image img {
    display: block;
}

.photo-preview.has-image .photo-placeholder {
    display: none;
}

.photo-placeholder {
    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 7px;

    text-align: center;

    color: #628073;
}

.photo-placeholder-icon {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #d9ebe2;

    color: #2f6f4e;

    font-size: 20px;
}

.photo-placeholder strong {
    font-size: 10px;
}

.photo-placeholder small {
    font-size: 8px;
}

.photo-upload-content h4 {
    margin: 0 0 6px;

    color: #234237;

    font-size: 14px;
}

.photo-upload-content p {
    margin: 0 0 15px;

    color: #89958f;

    font-size: 11px;
}

.photo-upload-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 9px 15px;

    border-radius: 8px;

    background: #e9f4ef;

    color: #286648;

    cursor: pointer;

    font-size: 11px;

    font-weight: 700;
}

.photo-upload-button:hover {
    background: #dceee5;
}

.photo-file-name {
    margin-left: 8px;

    color: #7a8781;

    font-size: 10px;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.category-selector {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;

    margin-bottom: 25px;
}

.category-option {
    cursor: pointer;
}

.category-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.category-card {
    position: relative;

    display: flex;

    align-items: center;

    gap: 13px;

    min-height: 76px;

    padding: 15px;

    border: 1px solid #dce6e0;

    border-radius: 13px;

    background: #fbfdfc;

    transition: all 0.2s ease;
}

.category-option input:checked + .category-card {
    border-color: #2f8b67;

    background: #f0f8f4;

    box-shadow:
        0 0 0 3px rgba(47, 139, 103, 0.08);
}

.category-card-icon {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background: #e9f2ed;

    font-size: 19px;
}

.category-card-content strong {
    display: block;

    color: #234338;

    font-size: 12px;
}

.category-card-content small {
    display: block;

    margin-top: 3px;

    color: #89958f;

    font-size: 10px;
}

.category-check {
    position: absolute;

    right: 12px;
    top: 12px;

    width: 20px;
    height: 20px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #2f8b67;

    color: #ffffff;

    font-size: 10px;

    opacity: 0;

    transform: scale(0.7);

    transition: all 0.2s ease;
}

.category-option input:checked + .category-card .category-check {
    opacity: 1;

    transform: scale(1);
}


/* =========================================================
   PACKAGE CARDS
   ========================================================= */

.package-area {
    margin-top: 5px;
}

.package-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.package-option {
    position: relative;

    cursor: pointer;
}

.package-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.package-card {
    display: block;

    min-height: 100px;

    padding: 16px;

    border: 1px solid #dce6e0;

    border-radius: 12px;

    background: #ffffff;

    transition: all 0.2s ease;
}

.package-option input:checked + .package-card {
    border-color: #2f8b67;

    background: #f0f8f4;

    box-shadow:
        0 0 0 3px rgba(47, 139, 103, 0.08);
}

.package-card-title {
    display: block;

    color: #28473b;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.4;
}

.package-card-price {
    display: block;

    margin-top: 9px;

    color: #1b6349;

    font-family: Georgia, serif;

    font-size: 20px;

    font-weight: 700;
}

.package-card-note {
    display: block;

    margin-top: 4px;

    color: #8b9791;

    font-size: 9px;
}


/* =========================================================
   PASSWORD
   ========================================================= */

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 65px;
}

.password-toggle {
    position: absolute;

    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    border: 0;

    background: transparent;

    color: #2f6f4e;

    cursor: pointer;

    font-size: 10px;

    font-weight: 700;
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;

    overflow: hidden;

    border-radius: 10px;

    background: #e8eee9;
}

.strength-bar span {
    display: block;

    width: 0;

    height: 100%;

    border-radius: inherit;

    background: #d75b5b;

    transition: width 0.25s ease;
}

.password-strength small,
.password-match {
    display: block;

    margin-top: 5px;

    color: #89958f;

    font-size: 9px;
}

.password-match.match {
    color: #2d815d;
}

.password-match.no-match {
    color: #c34d4d;
}


/* =========================================================
   CONSENT
   ========================================================= */

.registration-consent {
    margin-top: 5px;

    padding: 15px;

    border-radius: 10px;

    background: #f6f9f7;
}

.registration-consent label {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    color: #6e7d75;

    font-size: 11px;

    line-height: 1.6;

    cursor: pointer;
}

.registration-consent input {
    margin-top: 3px;

    accent-color: #2f6f4e;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.registration-submit {
    margin-top: 30px;

    text-align: center;
}

.registration-submit-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 22px;

    min-width: 220px;

    height: 50px;

    padding: 0 20px;

    border: 0;

    border-radius: 25px;

    background: #2f6f4e;

    color: #ffffff;

    cursor: pointer;

    font-family: inherit;

    font-size: 12px;

    font-weight: 800;

    box-shadow:
        0 10px 25px rgba(47, 111, 78, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.registration-submit-button:hover {
    transform: translateY(-2px);

    background: #245a40;

    box-shadow:
        0 14px 30px rgba(47, 111, 78, 0.25);
}

.submit-arrow {
    font-size: 18px;
}

.registration-submit p {
    margin: 15px 0 0;

    color: #89958f;

    font-size: 11px;
}

.registration-submit a {
    color: #2f6f4e;

    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .registration-container {
        grid-template-columns: 1fr;
    }

    .registration-intro-inner {
        padding: 40px;
    }

    .registration-intro h1 {
        max-width: 650px;

        font-size: 45px;
    }

    .registration-highlights {
        display: grid;

        grid-template-columns: repeat(3, 1fr);
    }

    .registration-event-card {
        margin-top: 30px;
    }
}


@media (max-width: 700px) {

    .registration-page {
        padding: 30px 14px 50px;
    }

    .registration-form-wrapper {
        padding: 35px 22px 40px;
    }

    .registration-intro-inner {
        padding: 35px 25px;
    }

    .registration-intro h1 {
        font-size: 38px;
    }

    .registration-highlights {
        display: flex;
    }

    .form-grid,
    .category-selector,
    .package-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: auto;
    }

    .photo-upload-area {
        flex-direction: column;

        align-items: flex-start;
    }

    .registration-form-header h2 {
        font-size: 31px;
    }
}


.package-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin: 12px 0 20px;
    padding: 14px 16px;

    border: 1px solid rgba(218, 166, 45, 0.35);
    border-radius: 12px;

    background: rgba(218, 166, 45, 0.08);
}

.package-notice > span {
    font-size: 18px;
    line-height: 1;
}

.package-notice strong {
    display: block;
    margin-bottom: 3px;

    color: #174d3c;
    font-size: 13px;
}

.package-notice p {
    margin: 0;

    color: #66756f;
    font-size: 12px;
}



/* =========================================================
   REGISTRATION FORM - COMMON INPUTS
   ========================================================= */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #123b31;
}

.form-group label span {
    color: #c94b35;
}

.form-group label small {
    font-weight: 400;
    color: #81928c;
}

.form-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 15px;

    border: 1px solid #d6e2dc;
    border-radius: 11px;

    background: #fbfdfc;

    color: #163b32;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-input:hover {
    border-color: #b7cbc2;
}

.form-input:focus {
    border-color: #2d8061;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(45, 128, 97, 0.10);
}

.form-input::placeholder {
    color: #a1b0aa;
}


/* =========================================================
   SECTION
   ========================================================= */

.registration-section {
    padding: 34px 0;

    border-bottom: 1px solid #e2e9e5;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    margin-bottom: 28px;
}

.section-number {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: #edf6f1;

    color: #247556;

    font-size: 13px;
    font-weight: 700;
}

.section-heading h2 {
    margin: 0 0 4px;

    font-family: Georgia, serif;

    font-size: 26px;
    line-height: 1.2;

    color: #102f28;
}

.section-heading p {
    margin: 0;

    color: #7c8e87;

    font-size: 14px;
}


/* =========================================================
   PARTICIPANT CATEGORY
   ========================================================= */

.category-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.category-card {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 76px;

    padding: 14px 16px;

    border: 1px solid #d7e3dd;
    border-radius: 14px;

    background: #fbfdfc;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.category-card:hover {
    border-color: #8abca7;

    background: #f7fbf9;

    transform: translateY(-1px);
}

.category-card input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.category-card-content {
    display: flex;
    align-items: center;

    gap: 13px;
}

.category-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 11px;

    background: #eaf3ee;

    color: #17654a;

    font-size: 13px;
    font-weight: 700;
}

.category-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-text strong {
    color: #173d32;

    font-size: 14px;
}

.category-text span {
    color: #7d8e88;

    font-size: 12px;
}

.category-check {
    margin-left: auto;

    width: 23px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #2d8b68;

    color: white;

    font-size: 12px;

    opacity: 0;

    transform: scale(0.7);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


/* Selected category */

.category-card:has(input:checked) {
    border-color: #2d9a70;

    background: #f0f8f4;

    box-shadow:
        0 0 0 1px #2d9a70;
}

.category-card:has(input:checked)
.category-check {
    opacity: 1;

    transform: scale(1);
}


/* =========================================================
   PACKAGE CARDS
   ========================================================= */

#packageOptions {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin-top: 14px;
}

.package-card {
    position: relative;

    display: block;

    min-height: 125px;

    padding: 20px;

    border: 1px solid #d7e3dd;
    border-radius: 14px;

    background: #ffffff;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.package-card:hover {
    border-color: #82b99f;

    background: #fbfdfc;

    transform: translateY(-1px);
}

.package-card input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.package-card-content {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.package-card-content strong {
    padding-right: 30px;

    color: #163c31;

    font-size: 14px;
    line-height: 1.35;
}

.package-price {
    margin-top: 3px;

    color: #116548;

    font-family: Georgia, serif;

    font-size: 22px;
    font-weight: 700;
}

.package-card-content small {
    color: #82928c;

    font-size: 11px;
}

.package-check {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 23px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #2d8b68;

    color: white;

    font-size: 12px;

    opacity: 0;

    transform: scale(0.7);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


/* Selected package */

.package-card.active {
    border-color: #2d9a70;

    background: #f0f8f4;

    box-shadow:
        0 0 0 1px #2d9a70;
}

.package-card.active .package-check {
    opacity: 1;

    transform: scale(1);
}


.package-warning {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin: 14px 0 18px;

    padding: 14px 16px;

    border: 1px solid #ecd39c;

    border-radius: 12px;

    background: #fffaf0;
}

.package-warning-icon {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #9a6a16;

    font-size: 16px;
}

.package-warning-content {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.package-warning-content strong {
    color: #6e511b;

    font-size: 13px;
}

.package-warning-content span {
    color: #8b806b;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   REGISTRATION CATEGORY
   ========================================================= */

.category-group {
    margin-top: 4px;
}

.category-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;

    margin-top: 8px;
}


/* =========================================================
   CATEGORY CARD
   ========================================================= */

.category-card {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 82px;

    padding: 15px 17px;

    border: 1px solid #d6e3dc;
    border-radius: 14px;

    background: #fbfdfc;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.category-card:hover {
    border-color: #8dbda8;

    background: #f8fcfa;

    transform: translateY(-1px);
}


.category-card input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.category-card-content {
    display: flex;
    align-items: center;

    gap: 13px;
}


.category-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 11px;

    background: #eaf3ee;

    color: #17654a;

    font-size: 12px;
    font-weight: 700;
}


.category-text {
    display: flex;
    flex-direction: column;

    gap: 4px;
}


.category-text strong {
    color: #173d32;

    font-size: 14px;
    line-height: 1.3;
}


.category-text span {
    color: #7c8e87;

    font-size: 12px;
}


.category-check {
    position: absolute;

    top: 13px;
    right: 13px;

    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #2d8b68;

    color: #ffffff;

    font-size: 11px;

    opacity: 0;

    transform: scale(.7);

    transition:
        opacity .2s ease,
        transform .2s ease;
}


/* Selected */

.category-card:has(input:checked) {
    border-color: #2d9a70;

    background: #f0f8f4;

    box-shadow:
        0 0 0 1px #2d9a70;
}


.category-card:has(input:checked) .category-check {
    opacity: 1;

    transform: scale(1);
}


/* =========================================================
   PARTICIPANT TYPE
   ========================================================= */

.participant-type-wrapper {
    margin-top: 22px;

    transition:
        opacity .2s ease,
        transform .2s ease;
}


.participant-type-wrapper.hidden {
    display: none;
}


.field-help {
    margin-top: 2px;

    color: #82928c;

    font-size: 11px;
}


/* =========================================================
   PACKAGE AREA
   ========================================================= */

.package-group {
    margin-top: 24px;
}


.package-options {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin-top: 8px;
}


/* =========================================================
   PACKAGE CARD
   ========================================================= */

.package-card {
    position: relative;

    display: flex;
    align-items: flex-start;

    min-height: 128px;

    padding: 20px;

    border: 1px solid #d6e3dc;
    border-radius: 14px;

    background: #ffffff;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}


.package-card:hover {
    border-color: #8dbda8;

    background: #fbfdfc;

    transform: translateY(-1px);
}


.package-card input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.package-card-content {
    display: flex;
    flex-direction: column;

    gap: 6px;
}


.package-card-content strong {
    padding-right: 30px;

    color: #173d32;

    font-size: 14px;

    line-height: 1.4;
}


.package-price {
    margin-top: 3px;

    color: #126548;

    font-family: Georgia, serif;

    font-size: 22px;

    font-weight: 700;
}


.package-card-content small {
    color: #82928c;

    font-size: 11px;
}


.package-check {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 23px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #2d8b68;

    color: #ffffff;

    font-size: 11px;

    opacity: 0;

    transform: scale(.7);

    transition:
        opacity .2s ease,
        transform .2s ease;
}


.package-card.active {
    border-color: #2d9a70;

    background: #f0f8f4;

    box-shadow:
        0 0 0 1px #2d9a70;
}


.package-card.active .package-check {
    opacity: 1;

    transform: scale(1);
}


/* =========================================================
   PACKAGE WARNING
   ========================================================= */

.package-warning {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin: 0 0 20px;

    padding: 14px 16px;

    border: 1px solid #ecd39c;

    border-radius: 12px;

    background: #fffaf0;

    animation: warningAppear .2s ease;
}


.package-warning-icon {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #9a6a16;

    font-size: 16px;
}


.package-warning-content {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.package-warning-content strong {
    color: #6e511b;

    font-size: 13px;
}


.package-warning-content span {
    color: #8b806b;

    font-size: 12px;

    line-height: 1.5;
}


@keyframes warningAppear {

    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .category-options {
        grid-template-columns: 1fr;
    }

    .package-options {
        grid-template-columns: 1fr;
    }

}