/* Minimal standalone defaults. Keep this file; put your brand CSS after it. */
:root {
    --ywa-brand: #3d44ec;
    --ywa-border: #d7daec;
    --ywa-error: #c72535;
    --fluentform-primary: #1a7efb;
    --fluentform-secondary: #606266;
    --fluentform-danger: #f56c6c;
    --fluentform-border-color: #dadbdd;
    --fluentform-border-radius: 7px;
    --fluentform-input-select-height: auto;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #202238;
    background: #fff;
    font-family: system-ui, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--ywa-brand);
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.ff-default .ff-el-form-control:focus {
    background-color: #fff;
    border-color: var(--color-blue);
    color: var(--fluentform-secondary);
    outline: none;
}

/* Required for conditions even if a later brand stylesheet uses display:flex. */
[hidden] {
    display: none !important;
}

.navigation {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navigation .logo-wrapper {
    max-width: 160px;
}

.navigation>.navigation-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-marker-none {
    list-style: none;
    padding-left: 0;
}

.is-layout-flex {
    display: flex;
    gap: 16px;
}

.is-vertical {
    flex-direction: column;
}

.is-content-justification-center {
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.has-text-align-center {
    text-align: center;
}

.is-vertical.is-content-justification-center {
    align-items: center;
}

.border-wrapper {
    flex-basis: 100%;
}

.frm-fluent-form {
    width: 100%;
}

.frm-fluent-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.ff_screen_reader_title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.ff-el-group,
.ywa-field {
    margin-bottom: 18px;
    min-width: 0;
}

.ff-el-input--label,
.ywa-label {
    display: block;
    margin-bottom: 7px;
    font-weight: 500;
}

.ff-el-is-required>label::after {
    content: ' *';
    color: var(--ywa-error);
}

.ywa-required {
    color: var(--ywa-error);
}

.ff-el-form-control,
.ywa-input {
    display: block;
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--ywa-border);
    border-radius: 7px;
    color: #202238;
}

textarea.ywa-input {
    resize: vertical;
    min-height: 100px;
}

.ff-el-help-message,
.ywa-hint {
    font-size: 13px;
    color: #525870;
    font-weight: 400;
}

.yokweb-access-types .ff-el-input--content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.yokweb-access-types .ff-el-form-check {
    margin: 0;
}

.yokweb-access-types .ff-el-form-check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--ywa-border);
    border-radius: 7px;
    cursor: pointer;
    height: 100%;
}

.ff-el-form-check-input {
    accent-color: var(--ywa-brand);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ff-repeater-container {
    margin-top: 30px;
}

.ff-repeater-container>.ff-el-input--label {
    font-size: 21px;
}

.ff_repeater_cont_row {
    display: flex;
    gap: 14px;
    padding: 20px;
    margin-top: 14px;
    border: 1px solid var(--ywa-border);
    border-radius: 9px;
}

.ff_repeater_cont_row>.ff-t-cell {
    flex: 1;
    min-width: 0;
}

.ff-el-repeat-buttons-list {
    display: flex;
    gap: 8px;
}

.repeat-plus,
.repeat-minus {
    background: transparent;
    color: var(--ywa-brand);
    border: 0;
    padding: 3px;
}

.repeat-plus svg,
.repeat-minus svg {
    fill: currentColor;
}

.ywa-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ywa-wide {
    grid-column: 1 / -1;
}

.ywa-password {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ywa-reveal {
    background: #f0f1fe;
    border: 1px solid #c5c7f9;
    border-radius: 6px;
    padding: 9px 12px;
}

.ff-btn,
.global-button {
    display: inline-block;
    padding: 12px 20px;
    border: 1px solid var(--ywa-brand);
    border-radius: 7px;
    background: #fff;
    color: var(--ywa-brand);
    text-decoration: none;
}

.button-blue,
.ff-btn-next,
.ff-btn-submit {
    color: #fff;
    background: var(--ywa-brand);
}

.ff-inner_submit_container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
}

.ywa-preview {
    margin: 22px 0;
    padding: 14px 18px;
    border: 1px solid #c5c7f9;
    border-radius: 8px;
    background: #f0f1fe;
    color: #3d44ec;
    font-size: 14px;
    line-height: 1.6;
}

.ywa-result {
    color: #202238;
    overflow-wrap: anywhere;
}

.ywa-result button {
    margin-top: 12px;
}

.ywa-step-status {
    font-weight: 600;
}

.ywa-delivery-notice {
    font-size: 14px;
}

.ywa-field-error,
.ff-errors-in-stack {
    color: var(--ywa-error);
    width: 630px;
}

.ywa-field-error:empty {
    display: none;
}

[aria-invalid="true"] {
    border-color: var(--ywa-error);
}

@media (max-width: 640px) {

    .ywa-fields,
    .yokweb-access-types .ff-el-input--content {
        grid-template-columns: 1fr;
    }

    .ff_repeater_cont_row {
        flex-direction: column;
        padding: 14px;
    }

    .mobile-direction-column {
        flex-direction: column;
    }

    .is-content-justification-center {
        flex-wrap: nowrap;
    }

}