#vrp-recruitment-popup,
#vrp-recruitment-popup * {
    box-sizing: border-box;
}

#vrp-recruitment-popup:not([open]) {
    display: none;
}

#vrp-recruitment-popup {
    width: min(640px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    color: #1f1f1f;
    background: #fff;
    border: 1px solid #e2e2de;
    border-radius: 10px;
    box-shadow: 0 24px 100px rgb(0 0 0 / 25%);
    overflow: hidden;
    font: inherit;
    text-align: left;
}

#vrp-recruitment-popup[open] {
    display: flex;
    flex-direction: column;
    animation: vrp-popup-enter 180ms ease-out;
}

#vrp-recruitment-popup::backdrop {
    background: rgb(15 20 25 / 65%);
    backdrop-filter: blur(3px);
}

#vrp-recruitment-popup .vrp-popup-header {
    position: relative;
    flex: 0 0 auto;
    padding: 32px 36px 22px;
    background: #fff;
}

#vrp-recruitment-popup .vrp-popup-eyebrow {
    margin: 0 64px 14px 0;
    color: #686868;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    line-height: 1.5;
}

#vrp-recruitment-popup #vrp-popup-title {
    margin: 0 36px 12px 0;
    color: #1f1f1f;
    font-family: inherit;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

#vrp-recruitment-popup #vrp-popup-description {
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.55;
}

#vrp-recruitment-popup .vrp-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    color: #1f1f1f;
    background: #fafaf9;
    border: 1px solid #dededb;
    border-radius: 50%;
    cursor: pointer;
}

#vrp-recruitment-popup .vrp-popup-close:hover {
    color: #fff;
    background: #1f1f1f;
    border-color: #1f1f1f;
}

#vrp-recruitment-popup .vrp-popup-body {
    min-height: 0;
    padding: 0 36px 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

#vrp-recruitment-popup .evf-simple-registration {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #1f1f1f;
    background: none;
    border: 0;
    border-radius: 0;
    font-size: 16px;
    line-height: 1.5;
}

#vrp-recruitment-popup .evf-simple-registration > p:first-child {
    margin: 0 0 18px;
    color: #555;
    font-size: 13px;
    line-height: 1.5;
}

#vrp-recruitment-popup .evf-simple-registration form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
}

#vrp-recruitment-popup .evf-simple-registration form > label,
#vrp-recruitment-popup .evf-simple-registration form > button {
    grid-column: 1 / -1;
    min-width: 0;
}

#vrp-recruitment-popup .evf-simple-registration form > label:not(.evf-simple-registration__consent) {
    display: block;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

#vrp-recruitment-popup .evf-simple-registration form > label[for="evf-simple-email"],
#vrp-recruitment-popup .evf-simple-registration form > label[for="evf-simple-phone"] {
    grid-column: auto;
}

#vrp-recruitment-popup .evf-simple-registration label > span[aria-hidden="true"] {
    display: inline;
    margin-left: 4px;
    color: #686868;
}

#vrp-recruitment-popup input[type="text"],
#vrp-recruitment-popup input[type="email"],
#vrp-recruitment-popup input[type="tel"],
#vrp-recruitment-popup select,
#vrp-recruitment-popup textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    margin: 7px 0 0;
    padding: 11px 13px;
    color: #1f1f1f;
    background: #fafaf9;
    border: 1px solid #b8b8b5;
    border-radius: 4px;
    box-shadow: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

#vrp-recruitment-popup textarea {
    min-height: 110px;
    resize: vertical;
}

#vrp-recruitment-popup input[type="text"]:focus,
#vrp-recruitment-popup input[type="email"]:focus,
#vrp-recruitment-popup input[type="tel"]:focus,
#vrp-recruitment-popup select:focus,
#vrp-recruitment-popup textarea:focus {
    background: #fff;
    border-color: #1f1f1f;
    box-shadow: 0 0 0 3px rgb(31 31 31 / 12%);
    outline: none;
}

#vrp-recruitment-popup .evf-simple-registration .evf-simple-registration__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: #555;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

#vrp-recruitment-popup input[type="checkbox"] {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: #1f1f1f;
}

#vrp-recruitment-popup .evf-simple-registration__consent a,
#vrp-recruitment-popup .wpcf7-acceptance a {
    color: #1f1f1f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#vrp-recruitment-popup button[type="submit"],
#vrp-recruitment-popup input[type="submit"] {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    margin: 0;
    padding: 13px 24px;
    color: #fff;
    background: #1f1f1f;
    border: 1px solid #1f1f1f;
    border-radius: 4px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

#vrp-recruitment-popup button[type="submit"]:hover,
#vrp-recruitment-popup input[type="submit"]:hover {
    color: #1f1f1f;
    background: #fff;
}

#vrp-recruitment-popup .vrp-popup-dismiss {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 10px 0 0;
    padding: 8px 0;
    color: #555;
    background: none;
    border: 0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

#vrp-recruitment-popup button:focus-visible,
#vrp-recruitment-popup input[type="checkbox"]:focus-visible,
#vrp-recruitment-popup input[type="submit"]:focus-visible,
#vrp-recruitment-popup a:focus-visible {
    outline: 2px solid #1f1f1f;
    outline-offset: 3px;
}

#vrp-recruitment-popup .wpcf7 form > p {
    margin: 0 0 18px;
}

#vrp-recruitment-popup .wpcf7 label {
    font-size: 15px;
    font-weight: 600;
}

#vrp-recruitment-popup .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 400;
}

#vrp-recruitment-popup .wpcf7-list-item {
    margin: 0;
}

@keyframes vrp-popup-enter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    #vrp-recruitment-popup {
        width: calc(100% - 24px);
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 8px;
    }

    #vrp-recruitment-popup .vrp-popup-header {
        padding: 26px 22px 20px;
    }

    #vrp-recruitment-popup #vrp-popup-title {
        margin-right: 30px;
        font-size: 26px;
    }

    #vrp-recruitment-popup #vrp-popup-description {
        font-size: 15px;
    }

    #vrp-recruitment-popup .vrp-popup-close {
        top: 10px;
        right: 10px;
        width: 48px;
        height: 48px;
        min-height: 48px;
    }

    #vrp-recruitment-popup .vrp-popup-body {
        padding: 0 22px 18px;
    }

    #vrp-recruitment-popup .evf-simple-registration form {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

@media (max-height: 500px) {
    #vrp-recruitment-popup .vrp-popup-header {
        padding-top: 20px;
        padding-bottom: 12px;
    }

    #vrp-recruitment-popup .vrp-popup-eyebrow {
        margin-bottom: 8px;
    }

    #vrp-recruitment-popup #vrp-popup-title {
        margin-bottom: 8px;
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #vrp-recruitment-popup[open] {
        animation: none;
    }
}
