#oaModal .modal-content
{
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}

#oaModal .oa-header
{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}

#oaModal .oa-header-ico
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--s-primary-color, #b71c1c);
    background: #f5f5f6;
    background: color-mix(in srgb, var(--s-primary-color, #b71c1c) 10%, #fff);
}

#oaModal .oa-header-ico svg
{
    display: block;
}

#oaModal .oa-header-text
{
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

#oaModal .oa-header .modal-title
{
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    color: #222;
}

#oaModal .oa-header .btn-close
{
    margin: 0 0 0 auto;
    align-self: flex-start;
}

#oaModal .oa-body
{
    padding: 20px;
}

.oa-form .oa-intro
{
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f7f7f8;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.oa-form .oa-field
{
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.oa-form .oa-label
{
    display: block;
    float: none;
    width: auto;
    margin: 0 0 6px;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
}

.oa-form .oa-input
{
    position: relative;
}

.oa-form .oa-input-ico
{
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #9a9aa2;
    pointer-events: none;
    transition: color .15s ease;
}

.oa-form .oa-control
{
    height: 48px;
    padding: 0 14px 0 42px;
    border: 1px solid #dcdce1;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    color: #222;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.oa-form .oa-control::placeholder
{
    color: #a5a5ad;
}

.oa-form .oa-control:focus
{
    border-color: var(--s-primary-color, #b71c1c);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--s-primary-color, #b71c1c) 18%, transparent);
    outline: 0;
}

.oa-form .oa-hint
{
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #888;
}

.oa-form .oa-input:focus-within .oa-input-ico
{
    color: var(--s-primary-color, #b71c1c);
}

.oa-form .oa-methods
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.oa-form .oa-method
{
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.oa-form .oa-method-input
{
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    opacity: 0;
}

.oa-form .oa-method-box
{
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 10px 12px;
    border: 1px solid #dcdce1;
    border-radius: 10px;
    background: #fff;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.oa-form .oa-method:hover .oa-method-box
{
    border-color: #b5b5bd;
}

.oa-form .oa-method-ico
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f3f3f5;
    color: #666;
    transition: color .15s ease, background-color .15s ease;
}

.oa-form .oa-method-name
{
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    color: #333;
}

.oa-form .oa-method-check
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 1px solid #cfcfd6;
    border-radius: 50%;
    color: transparent;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.oa-form .oa-method-input:checked + .oa-method-box
{
    border-color: var(--s-primary-color, #b71c1c);
    background: #fafafa;
    background: color-mix(in srgb, var(--s-primary-color, #b71c1c) 5%, #fff);
}

.oa-form .oa-method-input:checked + .oa-method-box .oa-method-ico
{
    color: var(--s-primary-color, #b71c1c);
    background: #fff;
}

.oa-form .oa-method-input:checked + .oa-method-box .oa-method-check
{
    border-color: var(--s-primary-color, #b71c1c);
    background: var(--s-primary-color, #b71c1c);
    color: #fff;
}

.oa-form .oa-method-input:focus-visible + .oa-method-box
{
    outline: 2px solid var(--s-primary-color, #b71c1c);
    outline-offset: 2px;
}

.oa-form .oa-error
{
    margin: 0 0 14px;
    padding: 10px 12px;
    border-left: 3px solid #c62828;
    border-radius: 8px;
    background: #fdecea;
    font-size: 13px;
    line-height: 1.4;
    color: #b71c1c;
}

.oa-form .oa-error:empty
{
    display: none;
}

.oa-form .oa-submit
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: normal;
}

.oa-form .oa-submit svg
{
    flex: 0 0 auto;
    transition: transform .2s ease;
}

.oa-form .oa-submit:hover svg
{
    transform: translateX(3px);
}

.oa-form .oa-submit:disabled
{
    opacity: .65;
    cursor: wait;
}

.oa-form .oa-legal
{
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f2;
    text-align: center;
}

.oa-form .oa-legal .recaptcha-notice
{
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
    color: #999;
}

.oa-form .oa-legal .recaptcha-notice a
{
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 575px)
{
    #oaModal .oa-header
    {
        padding: 14px 16px;
    }

    #oaModal .oa-body
    {
        padding: 16px;
    }

    .oa-form .oa-control
    {
        font-size: 16px;
    }
}
