/* Sign-in page (ported from pages/login.php, rounds #725/#1029-#1031). */
.login-wrap { min-height: calc(100vh - 220px); display: flex; align-items: center; padding: 2.5rem 0; }
/* Round #1029 (owner): two halves — Google + Banner A (468/320 code) on the left, Telegram /
   FaucetPay + the Rectangle on the right; they stack below 992px. Banner B floats at the bottom. */
.login-card { max-width: 1040px; margin: 0 auto; border-radius: 24px; }
.login-card .card-body { padding: 2.5rem 2.5rem 2rem; }
.login-split { display: grid; grid-template-columns: 480px auto minmax(300px, 1fr); gap: 0 2rem; align-items: start; }
.login-half { min-width: 0; }
.login-half-right { align-self: center; }   /* the shorter half sits level with the middle of the left one */
.login-half > .login-ad:first-child, .login-half > .login-btn + .login-ad { margin-bottom: 0; }
.login-vor { display: flex; flex-direction: column; align-items: center; align-self: stretch; gap: .5rem;
             color: var(--text-muted); font-size: .8rem; }
.login-vor::before, .login-vor::after { content: ''; flex: 1; width: 1px; background: var(--border); }
@media (max-width: 991.98px) {
    .login-card { max-width: 560px; }
    .login-split { grid-template-columns: 1fr; }
    .login-vor { flex-direction: row; align-self: auto; margin: 1.25rem 0; }
    .login-vor::before, .login-vor::after { width: auto; height: 1px; }
}
/* Floating Banner B: bottom centre, as wide as the screen allows up to 728 (the fit script scales it). */
.login-wrap { padding-bottom: 7rem; }
.login-float { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 1040;
               width: min(728px, calc(100vw - 16px)); padding: 6px 0 0; }
.login-float > .nxc-slot { margin: 0; }
.login-float-x { position: absolute; top: -22px; right: 0; width: 26px; height: 26px; border-radius: 50%;
                 border: 1px solid var(--border); background: var(--surface); color: var(--text);
                 font-size: .8rem; line-height: 1; display: flex; align-items: center; justify-content: center;
                 box-shadow: var(--shadow-sm); cursor: pointer; }
.login-logo {
    width: 64px; height: 64px; margin: 0 auto; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-light); box-shadow: var(--shadow-sm);
}
.login-narrow { max-width: 440px; margin: 0 auto; }
.login-btn {
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    width: 100%; padding: .75rem 1rem; border-radius: var(--radius-pill);
    font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1rem;
    border: 1px solid var(--border); background: var(--surface); color: var(--text);
    text-decoration: none; transition: all .2s ease;
}
.login-btn:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-1px); color: var(--text); }
.login-btn .g-logo { width: 20px; height: 20px; }
.login-or { display: flex; align-items: center; gap: .75rem; color: var(--text-muted); font-size: .8rem; margin: 1.25rem 0; }
.login-or::before, .login-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.login-tg { min-height: 44px; display: flex; justify-content: center; }
.login-fp-label { font-family: 'Nunito', sans-serif; font-weight: 800; }
.login-tip {
    border: 0; background: none; padding: 0 .15rem; color: var(--text-muted);
    font-size: .85rem; line-height: 1; vertical-align: baseline; cursor: help;
}
.login-tip:hover, .login-tip:focus { color: var(--primary); }
/* Ads: same rhythm as the card's own sections, set off by hairlines so they sit in the card, not on it. */
.login-ad { padding: 1.25rem 0; margin: 1.25rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.login-ad > .nxc-slot { margin: 0 auto; }
.login-foot { border-top: 1px solid var(--border); margin-top: 1.5rem; padding-top: 1rem; }
.login-ad-rect { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }   /* the terms line's own hairline closes it */
@media (max-width: 575.98px) {
    .login-card .card-body { padding: 1.75rem 1.25rem 1.5rem; }
    .login-ad { margin: 1rem -1.25rem; padding: 1rem 0; }   /* phones: banners use the card's full width */
}
