/* ==========================================================================
   Молвест — форма заявки на партнёрство
   partner-form.css
   Все селекторы изолированы префиксом .pf- (ничего не ломает стили сайта)
   ========================================================================== */

/* --- Шрифты (на сайте уже лежат в /assets/fonts) -------------------------- */
@font-face {
    font-family: 'Onest PF';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/Onest-Regular..ttf') format('truetype');
}

@font-face {
    font-family: 'Onest PF';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/Onest-Medium..ttf') format('truetype');
}

@font-face {
    font-family: 'Onest PF';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/Onest-SemiBold..ttf') format('truetype');
}

@font-face {
    font-family: 'Onest PF';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/Onest-Bold..ttf') format('truetype');
}

/* --- Токены --------------------------------------------------------------- */
.pf-modal {
    /* Тема: синяя, фон — фирменный #3d52a1.
       Тёмный вариант — класс .pf-modal--dark (см. конец файла). */
    --pf-panel: #3d52a1;
    /* фон окна */
    --pf-surface: #34478f;
    /* фон блока «Сообщение» */
    --pf-surface-soft: rgba(255, 255, 255, 0.12);
    /* селект «Способ связи» */
    --pf-autofill: #3d52a1;
    /* фон автозаполнения Chrome */

    /* Акцент (квадрат у кнопки «Отправить») */
    --pf-accent: #c31327;
    --pf-accent-hover: #dc1a31;
    --pf-accent-ink: #ffffff;
    /* цвет стрелки внутри квадрата */

    --pf-text: #ffffff;
    --pf-muted: rgba(255, 255, 255, 0.72);
    --pf-placeholder: rgba(255, 255, 255, 0.72);
    --pf-line: rgba(255, 255, 255, 0.22);
    --pf-line-hover: rgba(255, 255, 255, 0.42);
    --pf-error: #ffd2d2;

    --pf-font: 'Onest PF', 'Onest-Regular', -apple-system, BlinkMacSystemFont,
        'Segoe UI', Roboto, Arial, sans-serif;
    --pf-radius: 8px;
    --pf-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    position: fixed;
    inset: 0;
    z-index: 9990;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;

    font-family: var(--pf-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--pf-text);
    text-align: left;
    letter-spacing: normal;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--pf-ease), visibility 0.3s var(--pf-ease);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.pf-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* --- Подложка ------------------------------------------------------------- */
.pf-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 12, 0.55);
    -webkit-backdrop-filter: blur(18px) saturate(0.9);
    backdrop-filter: blur(18px) saturate(0.9);
    opacity: 0;
    transition: opacity 0.4s var(--pf-ease);
}

.pf-modal.is-open .pf-modal__backdrop {
    opacity: 1;
}

/* --- Окно ----------------------------------------------------------------- */
.pf-modal__dialog {
    position: relative;
    display: flex;
    flex-direction: column;

    width: min(1080px, 100%);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--pf-radius);
    background: var(--pf-panel);
    box-shadow:
        0 40px 120px -20px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    overflow: hidden;

    transform: translateY(18px) scale(0.995);
    transition: transform 0.45s var(--pf-ease);
}

.pf-modal.is-open .pf-modal__dialog {
    transform: none;
}

/* --- Кнопка «закрыть» ----------------------------------------------------- */
.pf-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;

    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;

    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s, transform 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.pf-modal__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.pf-modal__close:active {
    transform: scale(0.94);
}

.pf-modal__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.pf-modal__close svg {
    display: block;
    width: 26px;
    height: 26px;
}

/* --- Прокручиваемое тело -------------------------------------------------- */
.pf-modal__body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 44px 28px 28px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.pf-modal__body::-webkit-scrollbar {
    width: 6px;
}

.pf-modal__body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* --- Шапка ---------------------------------------------------------------- */
.pf-modal__head {
    padding-right: 54px;
}

.pf-modal__title {
    margin: 0 0 26px;
    font-family: var(--pf-font);
    /* !important — сайт задаёт h2 { font-size: ... !important } */
    font-size: clamp(26px, 3.35vw, 48px) !important;
    text-transform: none;
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.022em;
    color: var(--pf-text);
}

.pf-modal__subtitle {
    margin: 0;
    font-size: clamp(14px, 1.25vw, 18px) !important;
    line-height: 1.4;
    color: var(--pf-muted);
}

/* --- Форма ---------------------------------------------------------------- */
.pf-form {
    margin-top: clamp(30px, 4.2vw, 58px);
}

.pf-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Ловушка для спам-ботов — человек её не видит и не может заполнить */
.pf-hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- Сетка полей ---------------------------------------------------------- */
.pf-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--pf-line);
}

.pf-field {
    position: relative;
    min-width: 0;
    padding: 18px 0 24px;
    border-bottom: 1px solid var(--pf-line);
    transition: border-color 0.3s var(--pf-ease);
}

.pf-field:nth-child(2n) {
    padding-left: 22px;
    border-left: 1px solid var(--pf-line);
}

.pf-field:hover {
    border-color: var(--pf-line-hover);
}

/* Аккуратная подсветка линии при фокусе */
.pf-field::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.55);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s var(--pf-ease);
    pointer-events: none;
}

.pf-field:focus-within::after {
    transform: scaleX(1);
}

.pf-field__input {
    display: block;
    width: 100%;
    height: 30px;
    margin: 0;
    padding: 0;
    font-family: var(--pf-font);
    font-size: clamp(16px, 1.45vw, 21px);
    font-weight: 400;
    line-height: 30px;
    color: var(--pf-text);
    background: transparent;
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    transition: color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.pf-field__input::placeholder {
    color: var(--pf-placeholder);
    opacity: 1;
    transition: color 0.25s;
}

.pf-field__input:hover::placeholder {
    color: #fff;
}

.pf-field__input:focus::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

/* убираем жёлтый автозаполнитель Chrome */
.pf-field__input:-webkit-autofill,
.pf-field__input:-webkit-autofill:hover,
.pf-field__input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 100px var(--pf-autofill) inset !important;
    -webkit-text-fill-color: #fff !important;
}

/* --- Способ связи --------------------------------------------------------- */
.pf-field--channel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pf-field--channel:focus-within::after {
    transform: scaleX(1);
}

.pf-channel__label {
    font-size: clamp(16px, 1.45vw, 21px);
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.pf-select {
    position: relative;
    flex: 0 0 auto;
}

.pf-select__control {
    width: 100%;
    min-width: 152px;
    height: 48px;
    margin: 0;
    padding: 0 44px 0 16px;

    font-family: var(--pf-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 46px;
    color: var(--pf-text);

    background: var(--pf-surface-soft);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    outline: 0;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.pf-select__control:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.pf-select__control:focus-visible {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.pf-select__control option {
    color: var(--pf-text);
    background: var(--pf-panel);
}

.pf-select__arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 12px;
    height: 12px;
    margin-top: -3px;
    color: rgba(255, 255, 255, 0.75);
    pointer-events: none;
    transform: translateY(-50%);
}

/* --- Сообщение + подвал формы -------------------------------------------- */
.pf-message {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    background: var(--pf-surface);
    border-radius: 6px;
}

.pf-message__input {
    display: block;
    width: 100%;
    height: 196px;
    min-height: 132px;
    margin: 0;
    padding: 22px 24px 10px;

    font-family: var(--pf-font);
    font-size: clamp(16px, 1.45vw, 21px);
    font-weight: 400;
    line-height: 1.35;
    color: var(--pf-text);

    background: transparent;
    border: 0;
    border-radius: 6px 6px 0 0;
    outline: 0;
    resize: none;
    transition: background-color 0.2s;
}

.pf-message__input::placeholder {
    color: var(--pf-placeholder);
    opacity: 1;
    transition: color 0.25s;
}

.pf-message__input:hover::placeholder {
    color: #fff;
}

.pf-message__input:focus::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.pf-message__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 17px 24px 21px;
    border-top: 1px solid var(--pf-line);
}

/* --- Чекбокс согласия ----------------------------------------------------- */
.pf-consent {
    position: relative;
    min-width: 0;
}

.pf-checkbox {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
}

.pf-consent__label {
    position: relative;
    display: block;
    padding-left: 34px;
    margin: 0;
    font-size: 13px !important;
    line-height: 1.35;
    color: var(--pf-muted);
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.pf-consent__label::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    background: transparent;
    transition: background-color 0.2s, border-color 0.2s;
}

.pf-consent__label::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 1px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l3 3 6.6-7' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.15s, transform 0.2s var(--pf-ease);
}

.pf-checkbox:checked+.pf-consent__label::before {
    background: #fff;
    border-color: #fff;
}

.pf-checkbox:checked+.pf-consent__label::after {
    opacity: 1;
    transform: scale(1);
}

.pf-checkbox:focus-visible+.pf-consent__label::before {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.pf-consent__label a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    transition: color 0.2s;
}

.pf-consent__label a:hover {
    color: #fff;
}

.pf-consent__br {
    display: block;
}

/* --- Кнопка отправки ------------------------------------------------------ */
.pf-submit {
    display: inline-flex;
    transition: opacity 0.25s var(--pf-ease);
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    font-family: var(--pf-font);
    background: transparent;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.pf-submit__text {
    font-size: clamp(20px, 1.9vw, 28px);
    line-height: 1;
    letter-spacing: -0.015em;
    color: var(--pf-text);
    white-space: nowrap;
}

.pf-submit__arrow {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 6px;
    background: var(--pf-accent);
    color: var(--pf-accent-ink);
    transition: background-color 0.25s, transform 0.25s var(--pf-ease);
}

.pf-submit__arrow svg {
    display: block;
    width: 11px;
    height: 19px;
    margin-left: 2px;
}

.pf-submit:not([disabled]):hover .pf-submit__arrow {
    background: var(--pf-accent-hover);
    transform: translateX(3px);
}

.pf-submit:not([disabled]):active .pf-submit__arrow {
    transform: translateX(1px) scale(0.97);
}

.pf-submit:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
    border-radius: 4px;
}

.pf-submit[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
}

.pf-submit.is-loading {
    cursor: progress;
    opacity: 0.65;
    pointer-events: none;
}

.pf-submit.is-loading .pf-submit__arrow svg {
    animation: pf-spin 0.9s linear infinite;
}

@keyframes pf-spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Ошибки --------------------------------------------------------------- */
.pf-field__error {
    margin: 0;
    font-size: 0;
    line-height: 0;
    color: var(--pf-error);
    opacity: 0;
    transition: opacity 0.2s;
}

.pf-field__error.is-visible {
    margin-top: 8px;
    font-size: 12px !important;
    line-height: 1.3;
    opacity: 1;
}

.pf-field.is-invalid {
    border-color: rgba(255, 210, 210, 0.6);
}

.pf-field.is-invalid::after {
    background: rgba(255, 210, 210, 0.85);
    transform: scaleX(1);
}

.pf-field.is-invalid .pf-field__input::placeholder {
    color: rgba(255, 210, 210, 0.9);
}

.pf-form__error {
    display: none;
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--pf-error);
}

.pf-form__error.is-visible {
    display: block;
    font-size: 13px !important;
}

.pf-form__error a {
    color: inherit;
    text-decoration: underline;
}

/* --- Экран «спасибо» ------------------------------------------------------ */
.pf-success {
    display: none;
    padding: clamp(24px, 5vw, 56px) 0 clamp(28px, 4vw, 48px);
    text-align: center;
}

.pf-success.is-visible {
    display: block;
    animation: pf-fade-up 0.45s var(--pf-ease) both;
}

@keyframes pf-fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.pf-success__icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto clamp(20px, 2.6vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.pf-success__icon svg {
    display: block;
    width: 30px;
    height: 30px;
    color: #fff;
}

.pf-success__title {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.2vw, 32px) !important;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.pf-success__text {
    max-width: 34em;
    margin: 0 auto clamp(22px, 2.6vw, 30px);
    font-size: 15px !important;
    line-height: 1.5;
    color: var(--pf-muted);
}

.pf-success__text a {
    color: var(--pf-text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pf-success__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 28px;
    font-family: var(--pf-font);
    font-size: 15px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.pf-success__close:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
}

.pf-success__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* --- Блокировка скролла страницы ----------------------------------------- */
html.pf-lock,
html.pf-lock body {
    overflow: hidden !important;
}

html.pf-lock body {
    padding-right: var(--pf-sbw, 0px);
}

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (min-width: 821px) and (max-height: 860px) {
    .pf-modal__body {
        padding: 30px 26px 22px;
    }

    .pf-modal__head {
        padding-right: 48px;
    }

    .pf-modal__title {
        margin-bottom: 16px;
        font-size: clamp(26px, 2.7vw, 38px) !important;
        line-height: 1.05;
    }

    .pf-form {
        margin-top: 30px;
    }

    .pf-field {
        padding: 12px 0 15px;
    }

    .pf-message__input {
        height: 148px;
    }

    .pf-message__footer {
        padding: 14px 24px 16px;
    }

    .pf-submit__arrow {
        width: 46px;
        height: 46px;
    }

    .pf-submit__text {
        font-size: 24px;
    }
}

@media (max-width: 1024px) {
    .pf-modal__body {
        padding: 34px 22px 22px;
    }

    .pf-message__footer {
        gap: 20px;
        padding: 16px 20px 18px;
    }

    .pf-submit__arrow {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 820px) {
    .pf-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .pf-modal__dialog {
        max-height: calc(100dvh - 24px);
        border-radius: 12px;
    }

    .pf-modal__body {
        padding: 24px 18px 16px;
    }

    .pf-modal__head {
        padding-right: 42px;
    }

    .pf-modal__close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
    }

    .pf-modal__title {
        margin-bottom: 10px;
        font-size: clamp(23px, 6.4vw, 32px) !important;
        line-height: 1.08;
    }

    .pf-form {
        margin-top: 16px;
    }

    .pf-fields {
        grid-template-columns: 1fr;
        border-top: 1px solid var(--pf-line);
    }

    .pf-field {
        padding: 12px 0 14px;
        border-bottom: 1px solid var(--pf-line);
    }

    .pf-field:nth-child(2n) {
        padding-left: 0;
        border-left: 0;
    }

    .pf-field--channel {
        padding: 14px 0;
    }

    .pf-select__control {
        height: 44px;
        min-width: 140px;
    }

    .pf-message {
        margin-top: 16px;
    }

    .pf-message__input {
        height: 94px;
        padding: 14px 16px 6px;
        font-size: 16px;
    }

    .pf-message__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 14px 16px 14px;
    }

    .pf-consent__label {
        padding-left: 32px;
        font-size: 12px !important;
    }

    .pf-consent__br {
        display: inline;
    }

    .pf-submit {
        justify-content: space-between;
        width: 100%;
    }

    .pf-submit__text {
        font-size: 22px;
    }

    .pf-submit__arrow {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 400px) {
    .pf-field--channel {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pf-select,
    .pf-select__control {
        width: 100%;
    }
}

/* --- Уважаем «уменьшение движения» --------------------------------------- */
@media (prefers-reduced-motion: reduce) {

    .pf-modal,
    .pf-modal__backdrop,
    .pf-modal__dialog,
    .pf-field::after,
    .pf-submit__arrow,
    .pf-success.is-visible {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Опционально: тёмная тема (как в исходном макете).
   Чтобы вернуть — добавьте класс: <div class="pf-modal pf-modal--dark">
   ========================================================================== */
.pf-modal--dark {
    --pf-panel: #121212;
    --pf-surface: #222222;
    --pf-surface-soft: rgba(255, 255, 255, 0.07);
    --pf-autofill: #1e1e1e;
    --pf-muted: rgba(255, 255, 255, 0.6);
    --pf-placeholder: rgba(255, 255, 255, 0.78);
    --pf-line: rgba(255, 255, 255, 0.16);
    --pf-line-hover: rgba(255, 255, 255, 0.3);
    --pf-error: #ff7b7b;
}

.pf-modal--dark .pf-modal__dialog {
    border-color: rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
        rgba(18, 18, 18, 0.86);
    -webkit-backdrop-filter: blur(60px) saturate(120%);
    backdrop-filter: blur(60px) saturate(120%);
    box-shadow:
        0 40px 120px -20px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pf-modal--dark .pf-field.is-invalid {
    border-color: rgba(255, 107, 107, 0.55);
}

.pf-modal--dark .pf-field.is-invalid::after {
    background: rgba(255, 107, 107, 0.7);
}

.pf-modal--dark .pf-field.is-invalid .pf-field__input::placeholder {
    color: rgba(255, 140, 140, 0.8);
}

.pf-modal--dark .pf-select__control option {
    background: #232323;
}



.pf-modal--blue {
    --pf-panel: #3d52a1;
    --pf-surface: #34478f;
    --pf-surface-soft: rgba(255, 255, 255, 0.12);
    --pf-autofill: #3d52a1;
    --pf-text: #ffffff;
    --pf-muted: rgba(255, 255, 255, 0.72);
    --pf-placeholder: rgba(255, 255, 255, 0.72);
    --pf-line: rgba(255, 255, 255, 0.22);
    --pf-line-hover: rgba(255, 255, 255, 0.42);
    --pf-error: #ffd2d2;
}

.pf-modal--blue .pf-modal__dialog {
    background: var(--pf-panel);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}