/* Integration of the reference authentication card with the local PHP form. */
html.tipobet-ui-modern .login-page { min-width: 0; }
html.tipobet-ui-modern .login-page .au-shell { width: 100%; max-width: 1200px; min-width: 0; padding: 20px 16px 40px; }
html.tipobet-ui-modern .login-page .au-card__head { padding-bottom: 24px; }
html.tipobet-ui-modern .login-page .au-aside__link { text-align: center; }
html.tipobet-ui-modern .login-page .au-main { min-width: 0; }
html.tipobet-ui-modern .login-page .au-row { gap: 12px; flex-wrap: wrap; }
html.tipobet-ui-modern .login-page .au-check { cursor: pointer; }
html.tipobet-ui-modern .login-page .au-check input { accent-color: #0f853d; }
html.tipobet-ui-modern .login-page .au-submit { min-width: 140px; }
html.tipobet-ui-modern .login-page .au-submit:disabled { cursor: wait; opacity: .7; }
.login-password { position: relative; }
html.tipobet-ui-modern .login-page .login-password input { padding-right: 48px; }
.login-password button { position: absolute; top: 0; right: 0; width: 44px; height: 100%; border: 0; border-radius: 0 12px 12px 0; background: transparent; color: #6a7a88; cursor: pointer; }
.login-forgot { border: 0; padding: 0; background: transparent; cursor: pointer; text-align: left; }
.login-help { margin: 0; padding: 12px; border: 1px solid #d5e0ea; border-radius: 10px; background: #f4faf6; font-size: 13px; color: #243443; }
.login-help a { color: #0c7434; text-decoration: underline; }
html.tipobet-ui-modern .login-page .login-error { margin: 0; padding: 12px; border: 1px solid #edc9cf; border-radius: 10px; background: #fff5f5; }
html.tipobet-ui-modern .login-page [hidden] { display: none !important; }
.login-page button:focus-visible, .login-page a:focus-visible { outline: 2px solid #0f853d; outline-offset: 3px; }
html.tipobet-ui-modern .login-page.isMobile #login-main { padding-top: 72px; min-height: calc(100vh - 58px); }
html.tipobet-ui-modern .login-page .au-shell--mobile { max-width: 440px; padding: 8px 14px 28px; }
html.tipobet-ui-modern .login-page .au-shell--mobile .au-layout { grid-template-columns: minmax(0,1fr); }
html.tipobet-ui-modern .login-page .au-shell--mobile .au-main { padding: 20px 18px 24px; }
html.tipobet-ui-modern .login-page .au-shell--mobile .au-card__head { padding: 0 0 24px; }
html.tipobet-ui-modern .login-page .au-shell--mobile .au-title { font-size: 22px; }
html.tipobet-ui-modern .login-page .au-shell--mobile .au-aside { border-left: 0; border-top: 1px solid #e2e8ef; padding: 18px; gap: 10px; }
html.tipobet-ui-modern .login-page .au-shell--mobile .au-submit { width: 100%; }
html.tipobet-ui-modern .login-page .au-shell--mobile .au-actions { display: block; padding-top: 4px; }
html.tipobet-ui-modern .login-page .au-shell--mobile .form-control { font-size: 16px; }
@media (max-width: 360px) {
    html.tipobet-ui-modern .login-page .au-shell--mobile .au-main { padding: 18px 14px; }
    html.tipobet-ui-modern .login-page .au-shell--mobile .au-title { font-size: 20px; }
}

/* --- Google ile Giriş button --- */
html.tipobet-ui-modern .login-page .au-social,
.au-page-root--modern .au-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    margin-bottom: 4px;
    border: 1px solid #e2b4b4;
    border-radius: 12px;
    background: #fff;
    color: #c1392b !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
html.tipobet-ui-modern .login-page .au-social:hover,
html.tipobet-ui-modern .login-page .au-social:focus-visible {
    border-color: #d98b8b;
    background: #fff7f6;
    box-shadow: 0 2px 10px rgba(193, 57, 43, .08);
    outline: none;
}
html.tipobet-ui-modern .login-page .au-social__icon { display: inline-flex; }
html.tipobet-ui-modern .login-page .au-social__icon svg { display: block; }

/* --- Cloudflare Turnstile style verification --- */
html.tipobet-ui-modern .login-page .au-turnstile,
.au-page-root--modern .au-turnstile {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    min-height: 66px;
    padding: 12px 14px;
    border: 1px solid #d7dde3;
    border-radius: 6px;
    background: #fafafa;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s ease, background-color .15s ease;
}
html.tipobet-ui-modern .login-page .au-turnstile:focus-visible { outline: 2px solid #0f853d; outline-offset: 2px; }
html.tipobet-ui-modern .login-page .au-turnstile.is-verified { background: #f4faf6; border-color: #bfe0ca; }
html.tipobet-ui-modern .login-page .au-turnstile__box {
    position: relative;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border: 2px solid #c3ccd4;
    border-radius: 50%;
    background: #fff;
    transition: background-color .2s ease, border-color .2s ease;
}
html.tipobet-ui-modern .login-page .au-turnstile__spinner {
    position: absolute;
    inset: -2px;
    border: 2px solid transparent;
    border-top-color: #f6821f;
    border-radius: 50%;
    opacity: 0;
    animation: au-ts-spin .7s linear infinite;
}
html.tipobet-ui-modern .login-page .au-turnstile.is-loading .au-turnstile__spinner { opacity: 1; }
html.tipobet-ui-modern .login-page .au-turnstile.is-loading .au-turnstile__box { border-color: transparent; }
html.tipobet-ui-modern .login-page .au-turnstile__tick {
    position: absolute;
    inset: 0;
    margin: auto;
    opacity: 0;
    transform: scale(.6);
    transition: opacity .18s ease, transform .18s ease;
}
html.tipobet-ui-modern .login-page .au-turnstile.is-verified .au-turnstile__box { background: #0f853d; border-color: #0f853d; }
html.tipobet-ui-modern .login-page .au-turnstile.is-verified .au-turnstile__tick { opacity: 1; transform: scale(1); }
html.tipobet-ui-modern .login-page .au-turnstile__label { flex: 1 1 auto; color: #1a2736; font-size: 13px; font-weight: 500; line-height: 1.25; }
html.tipobet-ui-modern .login-page .au-turnstile.is-verified .au-turnstile__label { font-weight: 600; }
html.tipobet-ui-modern .login-page .au-turnstile__brand { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1px; }
html.tipobet-ui-modern .login-page .au-turnstile__cf { display: block; }
html.tipobet-ui-modern .login-page .au-turnstile__brandtext { display: flex; flex-direction: column; align-items: center; color: #6a7a88; font-size: 10px; font-weight: 600; line-height: 1.1; }
html.tipobet-ui-modern .login-page .au-turnstile__brandtext small { font-size: 9px; font-weight: 500; }
@keyframes au-ts-spin { to { transform: rotate(360deg); } }

html.tipobet-ui-modern .login-page .au-shell--mobile .au-turnstile { max-width: 100%; }
html.tipobet-ui-modern .login-page .au-footer-link__sub { display: inline-block; }
