/* Sign in / register — split layout */
.pb-auth {
    margin: 0;
    min-height: 100vh;
    font-family: var(--pb-font);
    color: var(--pb-text);
    background: var(--pb-bg);
}

.pb-auth-shell {
    display: grid;
    min-height: 100vh;
}

@media (min-width: 960px) {
    .pb-auth-shell {
        grid-template-columns: minmax(0, 1.05fr) minmax(380px, 520px);
    }
}

.pb-auth-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.75rem 1.5rem 2rem;
    color: #f8fafc;
    overflow: hidden;
    min-height: 280px;
}

@media (min-width: 960px) {
    .pb-auth-showcase {
        padding: 2.5rem 2.75rem 2.5rem;
        min-height: auto;
    }
}

.pb-auth-showcase__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.pb-auth-showcase__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        145deg,
        rgba(12, 18, 34, 0.92) 0%,
        rgba(12, 18, 34, 0.75) 45%,
        rgba(13, 148, 136, 0.35) 100%
    );
}

.pb-auth-showcase__inner {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.pb-auth-showcase__brand {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.pb-auth-showcase__brand .hs-tagline {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.58rem;
}

.pb-auth-showcase__brand .hs-brand-mark {
    color: #2dd4bf;
}

.pb-auth-showcase__brand-mark {
    flex-shrink: 0;
    margin-top: 0.05rem;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--pb-accent), #0891b2);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.pb-auth-showcase__eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.65);
}

.pb-auth-showcase__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.65rem, 3.5vw, 2.15rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.pb-auth-showcase__lead {
    margin: 0 0 1.75rem;
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(248, 250, 252, 0.82);
    max-width: 44ch;
}

.pb-auth-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.pb-auth-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(248, 250, 252, 0.9);
}

.pb-auth-features__icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    font-size: 0.95rem;
}

.pb-auth-features strong {
    display: block;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.pb-auth-features span {
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.72);
}

.pb-auth-showcase__foot {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    color: rgba(248, 250, 252, 0.55);
}

.pb-auth-showcase__foot a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pb-auth-panel {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-left: 1px solid var(--pb-border);
}

@media (max-width: 959px) {
    .pb-auth-panel {
        border-left: none;
        border-top: 1px solid var(--pb-border);
    }
}

.pb-auth-panel__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--pb-border);
}

.pb-auth-panel__top a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pb-muted);
    text-decoration: none;
}

.pb-auth-panel__top a:hover {
    color: var(--pb-accent);
}

.pb-auth-panel__top .pb-auth-panel__cta {
    color: var(--pb-accent);
}

.pb-auth-panel__main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 1.25rem 2.5rem;
}

.pb-auth-card {
    width: min(100%, 400px);
}

.pb-auth-card h1 {
    margin: 0 0 0.35rem;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pb-auth-card .pb-lead {
    margin: 0 0 1.5rem;
    color: var(--pb-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.pb-auth-card .pb-form-footer {
    margin-top: 1.35rem;
}

.pb-auth-trust {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.8rem;
    color: var(--pb-muted);
    display: grid;
    gap: 0.35rem;
}

.pb-auth-trust li::before {
    content: '✓ ';
    color: var(--pb-accent);
    font-weight: 700;
}

.pb-auth--login .pb-auth-showcase__bg {
    background-image: url('../assets/demo/02.jpg');
}

.pb-auth--register .pb-auth-showcase__bg {
    background-image: url('../assets/demo/04.jpg');
}

.pb-google-signin {
    display: flex;
    justify-content: stretch;
    margin-bottom: 0.25rem;
    min-height: 44px;
}

.pb-google-signin > div {
    width: 100% !important;
}

.pb-google-signin[hidden] {
    display: none !important;
}

.pb-auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.15rem 0 1.25rem;
    color: var(--pb-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pb-auth-divider::before,
.pb-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--pb-border);
}
