@font-face {
    font-family: "KiaSignature";
    src: url("../fonts/KiaSignatureFixOTFRegular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "KiaSignature";
    src: url("../fonts/KiaSignatureFixOTFLight.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "KiaSignature";
    src: url("../fonts/KiaSignatureFixOTFBold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

* {
    font-family: "KiaSignature", sans-serif !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

#header.site-header,
footer.site-footer {
    display: none !important;
}

.eg-gate {
    background: #05141f;
    color: #fff;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.enrollment-text {
    font-weight: 100;
}

.eg-inputs {
    display: flex;
    justify-content: center !important;
    gap: 1.5rem;
}

.eg-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.eg-digit {
    width: 4rem !important;
    height: 6rem !important;
    max-width: 4rem !important;
    border-radius: 12px !important;
    border: none !important;
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
    padding: 0 !important;
}

.eg-digit:focus {
    box-shadow: 0 0 0 2px #4a90e2;
}

.eg-submit {
    margin-top: 8px;
    padding: 10px 32px;
    border-radius: 8px;
    border: none;
    background: #4a90e2;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.eg-error {
    color: #e25555 !important;
}

body {
    background-color: #05141f !important;
}

h6 {
    color: #fff;
    font-size: 16px;
    font-weight: 300;
}

p,
li,
span {
    font-size: 14px;
    font-weight: 300 !important;
    color: #fff !important;
    line-height: 1.6 !important;
}

li {
    margin-bottom: 0 !important;
}

.dealer-auth-form-wrap {
    background-color: #1f2c35;
    border-radius: 15px;
    padding: 60px 122px;
    max-width: 954px;
    margin: 0 auto;
    width: 100%;
}

.form-section-label {
    margin: 32px 0 16px;
}

.form-section-label p,
.form-section-label > p {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    margin: 0;
}

.form-section-label + .form-row,
.form-section-label:first-of-type {
    position: relative;
}

.form-section-label--divider {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 32px;
    margin-top: 40px;
}

.form-row {
    margin-bottom: 18px;
}

.form-row--cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group > label,
.gfield_label,
.gform-field-label {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.form-group > label .required,
.gfield_required {
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    margin-left: 4px;
    opacity: 0.7;
}

.dealer-auth-form-wrap {
    input[type="text"],
    input[type="email"],
    input[type="tel"] {
        display: block;
        width: 100%;
        height: 40px;
        background-color: #fff !important;
        border: none !important;
        border-radius: 14px !important;
        padding: 0 16px !important;
        color: #05141f;
        max-width: 200px !important;
        outline: none;
    }
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
.gform_wrapper input::placeholder {
    color: #939598 !important;
    font-weight: 300;
    font-size: 14px;
}

/* Checkbox row */
.center-checkbox {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    width: 100%;
}

.checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 200;
    font-size: 14px;

    .consent-text {
        font-size: 14px !important;
        font-weight: 300 !important;
        color: #fff !important;
        padding-top: 1px;
    }
}

.checkbox-label input[type="checkbox"] {
    margin: 0 !important;
    flex-shrink: 0;
}

/* Custom checkbox */
input[type="checkbox"],
.ginput_container_consent input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    background-color: #fff;
    border: none !important;
    border-radius: 5px !important;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

input[type="checkbox"]:checked::after,
.ginput_container_consent input[type="checkbox"]:checked::after {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    color: #05141f;
    line-height: 1;
}

.ginput_container_consent {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gfield--type-consent {
    text-align: center;
}

.manager-signup {
    background-color: #37434d;
    border-radius: 10px;
    padding: 28px 30px;
}

.manager-signup .form-row:last-child {
    margin-bottom: 0;
}

/* Labels inside the SM card are same white */
.manager-signup label {
    color: #fff !important;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

fieldset legend {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 16px;
    padding: 0;
    display: block;
    width: 100%;
}

/* Workshop option cards */
.radio-label {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: #37434d;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    position: relative;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
    transform-origin: center;
}

.radio-label:has(input[type="radio"]:checked) {
    background-color: #fff;
    color: #05141f;
    transform: scale(1.04);
}

.radio-label:has(input[type="radio"]:checked) span {
    color: #05141f !important;
}

.radio-label input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    border: 2px solid #939598 !important;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 20px;
    flex-shrink: 0;
}

.radio-label input[type="radio"]:checked {
    background-color: #05141f;
    border-color: #05141f !important;
    box-shadow: inset 0 0 0 4px #fff;
}

.radio-label-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.radio-label-title {
    font-weight: 400 !important;
    font-size: 14px;
}

.radio-label-details {
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.6;
}

.radio-label--full {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.45;
    filter: grayscale(80%);
}

.workshop-full-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background-color: #c0392b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    vertical-align: middle;
}

.btn-submit,
button[type="submit"] {
    display: flex;
    width: 100%;
    max-width: 400px;
    height: 45px;
    margin: 32px auto 0;
    background-color: #fff !important;
    color: #05141f !important;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
    justify-content: center;
    align-items: center;
}

.btn-submit:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    opacity: 0.9;
}

.form-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 36px 0;
}

.form-subsection-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 6px !important;
}

.form-subsection-body {
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #fff !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
}

.no-bottom-border {
    border-bottom: none !important;
    margin-top: 3rem;
}

.dealer-confirmation-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 20px 40px 20px;
}

.confirmation-card {
    background-color: #37434D;
    border-radius: 10px;
    padding: 28px 30px;
    min-width: 280px;
    max-width: 380px;
    width: 100%;
}

.confirmation-name {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin: 0 0 2px !important;
    line-height: 1.4 !important;
}

.confirmation-workshop {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin: 0 0 2px !important;
    line-height: 1.4 !important;
}

.confirmation-meta {
    font-size: 13px !important;
    font-weight: 300 !important;
    color: #fff !important;
    margin: 0 0 2px !important;
    line-height: 1.5 !important;
    opacity: 0.85;
}

.confirmation-spacer {
    height: 14px;
}

.spacer {
    margin-top: 4rem;
}

.consent-warning-text {
    display: none;
    color: #e25555 !important;
    margin-top: 1.5rem;
}

.workshop-availability-msg {
    color: #e25555 !important;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.form-error-banner {
    background-color: #3d1a1a;
    border: 1px solid #e05252;
    color: #fff;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 24px;
}

@media (max-width: 480px) {
    .eg-inputs {
        gap: 0.5rem;
    }

    .eg-digit {
        width: 2.6rem !important;
        height: 3.8rem !important;
        max-width: 2.6rem !important;
        font-size: 1.2rem;
        border-radius: 8px !important;
    }
}

@media (max-width: 640px) {
    .dealer-auth-form-wrap {
        padding: 32px 24px;
        border-radius: 10px;
    }

    .form-row--cols-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .dealer-auth-form-wrap {
        input[type="text"],
        input[type="email"],
        input[type="tel"] {
            max-width: 100% !important;
        }
    }

    .manager-signup {
        padding: 20px 16px;
    }

    .btn-submit,
    button[type="submit"] {
        max-width: 100%;
    }

    .radio-label {
        transform: none !important;
    }
}