:root {
    --cw-primary: #0878ff;
    --cw-primary-dark: #075ed1;
    --cw-primary-light: #3b9cff;
    --cw-text: #1e293b;
    --cw-text-muted: #64748b;
    --cw-border: #e2e8f0;
}

/* 2026 application-aligned authentication details; the shell overrides follow the legacy rules below. */
.auth-brand-features { display: flex; gap: .75rem; margin-top: 2rem; }
.auth-brand-features span { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: .8rem; color: #58b5ff; background: rgba(255,255,255,.06); font-size: 1.25rem; }
.auth-card h2 { font-size: 1.85rem; color: #10203a; }
.auth-pricing-link { display: inline-flex; align-items: center; gap: .35rem; margin: .55rem 0; }

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 0;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    padding: 1rem;
    margin-block: auto;
}

.auth-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-brand h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    font-size: 0.9375rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.auth-card .card-body {
    padding: 2.5rem;
}

.auth-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cw-text);
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--cw-text);
    font-size: 0.875rem;
}

.form-control {
    border: 2px solid var(--cw-border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--cw-primary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

.form-control::placeholder {
    color: #94a3b8;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cw-primary) 0%, var(--cw-primary-dark) 100%);
    border: none;
    border-radius: 10px;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 14px 0 rgba(13, 148, 136, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(13, 148, 136, 0.5);
    background: linear-gradient(135deg, var(--cw-primary-light) 0%, var(--cw-primary) 100%);
}

.form-check-input:checked {
    background-color: var(--cw-primary);
    border-color: var(--cw-primary);
}

.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem;
    font-size: 0.875rem;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.auth-footer a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.auth-footer a:hover {
    text-decoration: none;
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--cw-text-muted);
    font-size: 0.8125rem;
}

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

.divider span {
    padding: 0 1rem;
}

@media (max-width: 360px), (max-height: 700px) {
    .auth-container {
        padding-top: 3.5rem;
        margin-block: 0;
    }

    .auth-brand {
        margin-bottom: 1rem;
    }

    .auth-card .card-body {
        padding: 1.5rem;
    }
}

/* Keep the new shell authoritative over the legacy component rules above. */
body { align-items: center; padding: 2rem; background: radial-gradient(circle at 18% 15%, rgba(8,120,255,.35), transparent 24rem), #061526; }
.auth-container { display: grid; grid-template-columns: minmax(18rem,.85fr) minmax(24rem,1.15fr); width: min(68rem,100%); max-width: none; padding: 0; margin: auto; overflow: hidden; border: 1px solid rgba(130,177,230,.28); border-radius: 1.35rem; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.38); }
.auth-brand { display: flex; min-height: 34rem; margin: 0; padding: 4rem 3rem; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; background: linear-gradient(150deg,#07182c,#0b2e58 68%,#0878ff); }
.auth-brand h1 { display:flex; align-items:center; gap:.7rem; margin:0; font-size:2rem; }
.auth-brand h1 i { color:#31a5ff; font-size:2.35rem; }
.auth-brand p { max-width:19rem; color:#b8cee7; font-size:1rem; line-height:1.65; }
.auth-card { display:flex; margin:0; border:0; border-radius:0; box-shadow:none; align-self:stretch; align-items:center; }
.auth-card .card-body { width:100%; padding:3.5rem clamp(2rem,6vw,5rem); }
.auth-footer { margin:1.5rem 0 0; padding:1.25rem 0 0; border-top:1px solid var(--cw-border); color:#63738d; }
.auth-footer a { color:#0878ff; }
@media (max-width:767.98px) { body{padding:1rem;align-items:flex-start}.auth-container{display:block;padding:0}.auth-brand{min-height:auto;margin:0;padding:2rem}.auth-brand-features{display:none}.auth-card .card-body{padding:2rem 1.35rem}.auth-footer{padding:1.25rem 0 0} }
