/*
 * TRIỆT ĐỂ hết giật layout:
 * - html luôn overflow-y: scroll → cột scrollbar không bao giờ biến mất
 * - khi mở modal: KHÔNG overflow:hidden / KHÔNG padding-right / KHÔNG body fixed
 * - JS chỉ chặn wheel/touchmove ngoài vùng cuộn trong popup
 */
html {
    overflow-y: scroll;
}

html.ola-cauth-lock,
body.ola-cauth-lock {
    overscroll-behavior: none;
}

.ola-cauth-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Popup đăng nhập / đăng ký / hồ sơ — P1 */
.ola-cauth-modal {
    --cauth-green: #15803d;
    --cauth-green-dark: #166534;
    --cauth-green-soft: rgba(21, 128, 61, 0.1);
    --cauth-text: #0f172a;
    --cauth-muted: #64748b;
    --cauth-border: #e2e8f0;
    --cauth-input-bg: #f8fafc;
    --cauth-radius: 14px;
    --cauth-font: var(--p1-font-sans, 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
    position: fixed;
    inset: 0;
    z-index: 100100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: var(--cauth-font);
}

    .ola-cauth-modal.is-open {
        display: flex;
    }

        .ola-cauth-modal.is-open .ola-cauth-modal__dialog {
            animation: olaCauthSlideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
        }

@keyframes olaCauthSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ola-cauth-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(4px);
}

.ola-cauth-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: min(92vh, 720px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--cauth-radius);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06), 0 24px 48px -12px rgba(15, 23, 42, 0.28);
}

.ola-cauth-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}

    .ola-cauth-modal__close:hover {
        background: #e2e8f0;
        color: var(--cauth-text);
    }

    .ola-cauth-modal__close:focus-visible {
        outline: 2px solid var(--cauth-green);
        outline-offset: 2px;
    }

/* Tabs */
.ola-cauth-tabs {
    display: flex;
    flex-shrink: 0;
    gap: 0;
    padding: 20px 24px 0;
    border-bottom: 1px solid var(--cauth-border);
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.ola-cauth-tab {
    flex: 1;
    border: none;
    background: none;
    padding: 12px 8px 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--cauth-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
}

    .ola-cauth-tab:hover {
        color: #334155;
    }

    .ola-cauth-tab.is-active {
        color: var(--cauth-green);
        border-bottom-color: var(--cauth-green);
    }

/* Scrollable body */
.ola-cauth-body {
    padding: 20px 24px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .ola-cauth-body::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }

#olaCauthAuthWrap.ola-cauth-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}

.ola-cauth-sub {
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--cauth-muted);
    margin: 0 0 14px;
}

/* Google OAuth (P1 popup — không qua B2C) */
.ola-cauth-social {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 4px;
}

.ola-cauth-google-row {
    margin: 0 0 4px;
}

.ola-cauth-google-btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #dadce0;
    background: #fff;
    color: #3c4043;
    font-family: var(--cauth-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.06);
}

.ola-cauth-google-btn__icon-wrap {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .ola-cauth-google-btn__icon,
    .ola-cauth-google-btn__icon-wrap img {
        display: block;
        width: 20px !important;
        height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
        min-width: 0;
        flex: 0 0 20px;
        object-fit: contain;
    }

.ola-cauth-google-btn__text {
    flex: 0 1 auto;
    white-space: nowrap;
}

.ola-cauth-google-btn:hover {
    background: #f8f9fa;
    border-color: #c6c9cc;
    box-shadow: 0 2px 6px rgba(60, 64, 67, 0.1);
}

.ola-cauth-google-btn:active {
    transform: scale(0.985);
    background: #f1f3f4;
}

.ola-cauth-google-btn:focus-visible {
    outline: 2px solid #4285f4;
    outline-offset: 2px;
}

.ola-cauth-google-btn.is-loading {
    pointer-events: none;
    opacity: 0.88;
    cursor: wait;
}

.ola-cauth-google-btn.is-loading .ola-cauth-google-btn__icon,
.ola-cauth-google-btn.is-loading .ola-cauth-google-btn__icon-wrap {
    display: none;
}

.ola-cauth-google-spin {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(66, 133, 244, 0.25);
    border-top-color: #4285f4;
    border-radius: 50%;
    animation: ola-cauth-spin 0.65s linear infinite;
}

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

.ola-cauth-divider {
    position: relative;
    border: none;
    height: 1px;
    margin: 20px 0 18px;
    background: linear-gradient(90deg, transparent, var(--cauth-border) 12%, var(--cauth-border) 88%, transparent);
}

    .ola-cauth-divider::after {
        content: 'hoặc';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0 12px;
        background: #fff;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: lowercase;
        color: var(--cauth-muted);
    }

.ola-cauth-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--cauth-text);
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

/* Fields — chỉ label trực tiếp của .ola-cauth-field */
.ola-cauth-field {
    margin-bottom: 16px;
}

    .ola-cauth-field > label {
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #475569;
        margin-bottom: 8px;
    }

        .ola-cauth-field > label .req {
            color: #dc2626;
            font-weight: 700;
        }

    .ola-cauth-field input,
    .ola-cauth-field select {
        width: 100%;
        box-sizing: border-box;
        border: 1px solid var(--cauth-border);
        border-radius: 10px;
        padding: 11px 14px;
        font-size: 15px;
        line-height: 1.4;
        color: var(--cauth-text);
        background: var(--cauth-input-bg);
        transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
        font-family: inherit;
    }

    .ola-cauth-field select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-color: var(--cauth-input-bg);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 14px center;
        background-size: 12px 8px;
        padding-right: 40px;
        cursor: pointer;
    }

    .ola-cauth-field select:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

        .ola-cauth-field input::placeholder {
            color: #94a3b8;
            font-weight: 400;
        }

        .ola-cauth-field input:hover,
        .ola-cauth-field select:hover {
            border-color: #cbd5e1;
            background-color: #fff;
        }

        .ola-cauth-field input:focus,
        .ola-cauth-field select:focus {
            outline: none;
            border-color: var(--cauth-green);
            background-color: #fff;
            box-shadow: 0 0 0 3px var(--cauth-green-soft);
        }

.ola-cauth-pw-wrap {
    position: relative;
}

    .ola-cauth-pw-wrap input {
        padding-right: 44px;
    }

.ola-cauth-pw-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--cauth-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s;
}

    .ola-cauth-pw-toggle:hover {
        color: var(--cauth-text);
        background: rgba(15, 23, 42, 0.05);
    }

/* Checkbox — hàng ngang, không uppercase */
.ola-cauth-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 18px;
    padding: 2px 0;
}

.ola-cauth-check__input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--cauth-green);
    cursor: pointer;
}

.ola-cauth-check__label {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    user-select: none;
    line-height: 1.4;
}

.ola-cauth-row-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: start;
}

    .ola-cauth-row-2 > .ola-cauth-field {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        position: relative;
    }

    .ola-cauth-row-2 .select2-container,
    .ola-cauth-row-2 .ola-loc-select2.select2-container {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        box-sizing: border-box;
    }

.ola-cauth-msg {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 14px;
    padding: 11px 14px;
    border-radius: 10px;
    display: none;
}

    .ola-cauth-msg.is-error {
        display: block;
        background: #fef2f2;
        color: #b91c1c;
        border: 1px solid #fecaca;
    }

    .ola-cauth-msg.is-success {
        display: block;
        background: #f0fdf4;
        color: var(--cauth-green-dark);
        border: 1px solid #bbf7d0;
    }

/* Màn hình sau đăng ký — hướng dẫn kích hoạt email */
.ola-cauth-register-success {
    text-align: center;
    padding: 8px 4px 4px;
}

.ola-cauth-register-success__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: var(--cauth-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.ola-cauth-register-success__title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.ola-cauth-register-success__lead {
    margin: 0 0 6px;
    font-size: 14px;
    color: #64748b;
}

.ola-cauth-register-success__email {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 700;
    color: #0b57d0;
    word-break: break-all;
}

.ola-cauth-register-success__text {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    text-align: left;
}

.ola-cauth-register-success__note {
    margin: 0 0 18px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    text-align: left;
}

    .ola-cauth-register-success__note i {
        margin-right: 4px;
    }

.ola-cauth-register-success__resend {
    margin-bottom: 16px !important;
}

.ola-cauth-register-success .ola-cauth-btn {
    margin-top: 0;
}

/* Nút chính */
.ola-cauth-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 2px;
    width: 100%;
}

@media (min-width: 400px) {
    .ola-cauth-actions {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .ola-cauth-actions .ola-cauth-btn,
    .ola-cauth-actions .ola-cauth-google-btn {
        margin-top: 0;
        width: 100%;
        min-height: 48px;
    }

    .ola-cauth-actions .ola-cauth-google-btn__text {
        font-size: 13px;
    }
}

.ola-cauth-field input.is-readonly,
.ola-cauth-field input[readonly] {
    background: #eef2f7;
    color: #334155;
    cursor: default;
}

.ola-cauth-btn {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 13px 18px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    background: #e2e8f0;
    color: #94a3b8;
    margin-top: 2px;
    transition: background 0.2s, color 0.2s, transform 0.1s, box-shadow 0.2s;
}

    .ola-cauth-btn:not(:disabled) {
        background: var(--cauth-green);
        color: #fff;
        box-shadow: 0 4px 14px rgba(21, 128, 61, 0.35);
    }

        .ola-cauth-btn:not(:disabled):hover {
            background: var(--cauth-green-dark);
            box-shadow: 0 6px 18px rgba(21, 128, 61, 0.4);
        }

        .ola-cauth-btn:not(:disabled):active {
            transform: translateY(1px);
            box-shadow: 0 2px 8px rgba(21, 128, 61, 0.3);
        }

    .ola-cauth-btn:disabled {
        cursor: not-allowed;
    }

.ola-cauth-link-row {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
}

    .ola-cauth-link-row a {
        color: var(--cauth-green);
        text-decoration: none;
        font-weight: 600;
    }

        .ola-cauth-link-row a:hover {
            text-decoration: underline;
            color: var(--cauth-green-dark);
        }

.ola-cauth-terms {
    text-align: center;
    font-size: 12px;
    line-height: 1.55;
    color: var(--cauth-muted);
    margin: 14px 0 0;
}

    .ola-cauth-terms a {
        color: var(--cauth-green);
        font-weight: 600;
        text-decoration: none;
    }

        .ola-cauth-terms a:hover {
            text-decoration: underline;
        }

.ola-cauth-panel {
    display: none;
}

    .ola-cauth-panel.is-active {
        display: block;
    }

/* Profile panel phải là flex (không bị .ola-cauth-panel.is-active → block ghi đè) */
#olaCauthProfileWrap.ola-cauth-panel.is-active,
.ola-cauth-profile.ola-cauth-panel.is-active {
    display: flex;
}

/* Hồ sơ — header + meta 2 cột + CTA gọn */
.ola-cauth-profile {
    --profile-pad: 14px 16px;
    --profile-gap: 14px;
    box-sizing: border-box;
    flex-direction: column;
    gap: var(--profile-gap);
    padding-top: 24px;
}

.ola-cauth-profile__identity {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 14px 14px 14px 12px;
    min-width: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef4ff 100%);
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ola-cauth-profile__identity-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.ola-cauth-profile__identity-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ola-cauth-profile__hint {
    font-size: 12px;
    font-weight: 500;
    color: var(--cauth-muted);
    line-height: 1.2;
}

.ola-cauth-profile__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #fff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(29, 78, 216, 0.08);
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.ola-cauth-profile__cta i {
    font-size: 10px;
    opacity: .85;
}

.ola-cauth-profile__cta:hover,
.ola-cauth-profile__cta:focus {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e40af;
    text-decoration: none;
}

.ola-cauth-profile__avatar-wrap {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px #c7d7fe;
}

    .ola-cauth-profile__avatar-wrap[hidden] {
        display: none !important;
    }

.ola-cauth-profile__avatar {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
    aspect-ratio: 1 / 1 !important;
    border: none;
    background: #e2e8f0;
    display: block;
    box-sizing: border-box;
}

.ola-cauth-profile__name {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 160px;
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.ola-cauth-profile__meta {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 4px 0;
    background: #fff;
    border: 1px solid var(--cauth-border);
    border-radius: 14px;
    overflow: hidden;
}

.ola-cauth-profile__row {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 10px 12px;
    align-items: start;
    width: 100%;
    margin: 0;
    padding: 11px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.ola-cauth-profile__row:last-child {
    border-bottom: none;
}

.ola-cauth-profile__row dt {
    display: block;
    margin: 0;
    padding: 2px 0 0;
    border: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--cauth-muted);
    line-height: 1.35;
}

.ola-cauth-profile__row dd {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    text-align: left;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.ola-cauth-profile__actions {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    margin: 2px 0 0;
    padding: 0;
}

.ola-cauth-profile__actions .ola-cauth-btn {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    border-radius: 12px;
    text-decoration: none;
}

.ola-cauth-profile__actions .ola-cauth-btn--danger {
    height: 40px;
    font-size: 13px;
    background: #fff;
    border: 1px solid #fecdd3;
    color: #be123c;
}

.ola-cauth-profile__actions .ola-cauth-btn--danger:hover,
.ola-cauth-profile__actions .ola-cauth-btn--danger:focus {
    background: #fff1f2;
    border-color: #fda4af;
    color: #9f1239;
}

@media (max-width: 380px) {
    .ola-cauth-profile__identity {
        flex-wrap: wrap;
    }

    .ola-cauth-profile__cta {
        width: 100%;
    }

    .ola-cauth-profile__row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .ola-cauth-profile__name {
        max-width: 180px;
    }
}

/* Select2 trong popup — đồng bộ ola-location-select.css (khớp input cauth) */
.ola-cauth-modal .ola-cauth-field .select2-container {
    width: 100% !important;
    display: block !important;
}

.ola-cauth-modal .ola-cauth-field .select2-container .select2-selection--single {
    min-height: 44px !important;
    border: 1px solid var(--cauth-border) !important;
    border-radius: 10px !important;
    background: var(--cauth-input-bg) !important;
    display: flex !important;
    align-items: center !important;
}

.ola-cauth-modal .ola-cauth-field .select2-selection--single .select2-selection__rendered {
    line-height: 42px !important;
    padding-left: 14px !important;
    padding-right: 40px !important;
    font-size: 15px !important;
    color: var(--cauth-text) !important;
}

.ola-cauth-modal .ola-cauth-field .select2-selection__placeholder {
    color: #94a3b8 !important;
}

.ola-cauth-modal .ola-cauth-field .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
    right: 8px !important;
}

.ola-cauth-modal .ola-cauth-field .select2-container--open .select2-selection--single,
.ola-cauth-modal .ola-cauth-field .select2-container--focus .select2-selection--single {
    border-color: var(--cauth-green) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px var(--cauth-green-soft) !important;
}

.ola-cauth-modal .ola-cauth-field select.select2-hidden-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    background-image: none !important;
}

.ola-cauth-btn--outline {
    background: #fff !important;
    color: #334155 !important;
    border: 1px solid var(--cauth-border) !important;
    box-shadow: none !important;
}

    .ola-cauth-btn--outline:hover {
        background: #f8fafc !important;
        border-color: #cbd5e1 !important;
    }

.ola-cauth-btn--danger {
    background: #fff !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
    box-shadow: none !important;
}

    .ola-cauth-btn--danger:hover {
        background: #fef2f2 !important;
    }

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

    .ola-cauth-modal__dialog {
        max-height: 94vh;
        border-radius: var(--cauth-radius) var(--cauth-radius) 0 0;
    }

    .ola-cauth-body {
        padding: 16px 18px 22px;
    }

    .ola-cauth-tabs {
        padding: 16px 18px 0;
    }

    .ola-cauth-row-2 {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .ola-cauth-row-2 > .ola-cauth-field {
        margin-bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ola-cauth-modal.is-open .ola-cauth-modal__dialog {
        animation: none;
    }
}