#registration_popup_overlay {
    position: fixed;
    inset: 0;

    z-index: 999999;

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

    padding: 20px;
    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.45);

    font-family: Arial, sans-serif;
}


/* --------------------------------------------------
   POPUP
-------------------------------------------------- */

.registration_popup {
    width: 100%;
    max-width: 620px;

    max-height: 90vh;

    background: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.20);

    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color: #cccccc transparent;
}


/* Chrome / Edge / Safari */

.registration_popup::-webkit-scrollbar {
    width: 6px;
}

.registration_popup::-webkit-scrollbar-track {
    background: transparent;
}

.registration_popup::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 10px;
}

.registration_popup::-webkit-scrollbar-thumb:hover {
    background: #999999;
}


/* --------------------------------------------------
   HEADER
-------------------------------------------------- */

.registration_popup_header {
    padding: 22px 24px 18px;

    border-bottom: 1px solid #eeeeee;
}

.registration_popup_header h2 {
    margin: 0;

    font-size: 22px;
    line-height: 1.3;

    font-weight: 600;

    color: #333333;

    text-transform: none;
}


.registration_event_info {
    margin-top: 15px;

    display: flex;
    flex-direction: column;

    gap: 5px;

    font-size: 13px;

    line-height: 1.5;

    color: #666666;
}

.registration_event_info strong {
    color: #444444;
}


/* --------------------------------------------------
   BODY
-------------------------------------------------- */

.registration_popup_body {
    padding: 22px 24px 8px;
}


/* --------------------------------------------------
   DESCRIPTION
-------------------------------------------------- */

.registration_description {
    margin-bottom: 24px;

    font-size: 13px;

    line-height: 1.6;

    color: #666666;
}


/* --------------------------------------------------
   SECTION
-------------------------------------------------- */

.registration_section {
    margin-bottom: 28px;
}

.registration_section_title {
    margin-bottom: 18px;

    padding-bottom: 9px;

    border-bottom: 1px solid #eeeeee;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.3px;

    color: #333333;
}


/* --------------------------------------------------
   FIELD
-------------------------------------------------- */

.registration_field {
    margin-bottom: 17px;
}

.registration_field label {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.45;

    color: #444444;
}

.registration_field label span {
    color: #e53935;
}


/* --------------------------------------------------
   INPUTS
-------------------------------------------------- */

.registration_field input[type="text"],
.registration_field input[type="date"],
.registration_field input[type="email"],
.registration_field input[type="tel"],
.registration_field select,
.registration_field textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 11px 12px;

    border: 1px solid #d5d5d5;

    border-radius: 6px;

    background: #ffffff;

    font-family: inherit;

    font-size: 14px;

    outline: none;
}

.registration_field input:focus,
.registration_field select:focus,
.registration_field textarea:focus {
    border-color: #777777;
}


/* --------------------------------------------------
   ERROR
-------------------------------------------------- */

.registration_error {
    min-height: 16px;

    margin-top: 4px;

    font-size: 12px;

    line-height: 1.4;

    color: #e53935;
}

.registration_input_error {
    border-color: #e53935 !important;
}


/* --------------------------------------------------
   TWO COLUMN
-------------------------------------------------- */

.registration_row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}


/* --------------------------------------------------
   RADIO
-------------------------------------------------- */

.registration_radio_group {
    display: flex;

    flex-wrap: wrap;

    gap: 18px;
}

.registration_radio {
    display: flex !important;

    align-items: center;

    gap: 7px;

    margin: 0 !important;

    font-size: 14px !important;

    font-weight: 400 !important;

    color: #444444;
}

.registration_radio input {
    width: 16px;
    height: 16px;

    margin: 0;

    cursor: pointer;
}


/* --------------------------------------------------
   BATCH
-------------------------------------------------- */

.registration_batch_group {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.registration_batch {
    display: flex !important;

    align-items: flex-start;

    gap: 10px;

    margin: 0 !important;

    padding: 13px;

    border: 1px solid #dddddd;

    border-radius: 7px;

    cursor: pointer;

    font-size: 13px !important;

    font-weight: 400 !important;

    color: #555555;

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

.registration_batch:hover {
    background: #fafafa;

    border-color: #bbbbbb;
}

.registration_batch input {
    width: 17px;
    height: 17px;

    margin: 2px 0 0;

    flex-shrink: 0;

    cursor: pointer;
}

.registration_batch_content {
    line-height: 1.6;
}

.registration_batch_title {
    margin-bottom: 2px;

    font-size: 14px;

    font-weight: 700;

    color: #333333;
}


/* --------------------------------------------------
   GRAND FINALE INFO
-------------------------------------------------- */

.registration_finale_info {
    margin-top: 9px;

    padding: 10px 12px;

    border-radius: 6px;

    background: #f7f7f7;

    font-size: 12px;

    line-height: 1.5;

    color: #666666;
}


/* --------------------------------------------------
   CHECKBOX
-------------------------------------------------- */

.registration_checkbox {
    display: flex !important;

    align-items: flex-start;

    gap: 9px;

    margin: 0 !important;

    font-size: 13px !important;

    line-height: 1.5;

    font-weight: 400 !important;

    color: #555555;

    cursor: pointer;
}

.registration_checkbox input {
    width: 17px;
    height: 17px;

    margin: 2px 0 0;

    flex-shrink: 0;

    cursor: pointer;
}


/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

.registration_popup_footer {
    display: flex;

    justify-content: flex-end;

    gap: 10px;

    padding: 16px 24px 22px;

    border-top: 1px solid #eeeeee;
}


/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */

.registration_button {
    min-width: 90px;

    padding: 10px 18px;

    border-radius: 6px;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;
}


/* CANCEL */

.registration_cancel {
    border: 1px solid #cccccc;

    background: #ffffff;

    color: #555555;
}

.registration_cancel:hover {
    background: #f5f5f5;
}


/* REGISTER */

.registration_ok {
    border: 1px solid #333333;

    background: #333333;

    color: #ffffff;
}

.registration_ok:hover {
    background: #222222;
}


/* --------------------------------------------------
   MOBILE
-------------------------------------------------- */

@media (max-width: 520px) {

    .registration_popup {
        max-height: 92vh;
    }

    .registration_row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .registration_popup_header {
        padding: 18px 18px 15px;
    }

    .registration_popup_body {
        padding: 18px 18px 5px;
    }

    .registration_popup_footer {
        padding: 14px 18px 18px;
    }

    .registration_radio_group {
        flex-direction: column;

        gap: 10px;
    }
}
