/* RocketStock auth shell */

.auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-primary, 'Avenir', 'Helvetica Neue', Arial, sans-serif);
    background: var(--surface-main, #FFFFFF);
}

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

.auth-brand-panel {
    flex: 1;
    background: var(--surface-soft, #FFD9BF);
    color: var(--text-primary, #1A1A1A);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.auth-brand-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--action-primary, #FF6600);
}

.auth-brand-panel::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -8%;
    width: 55%;
    height: 55%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 102, 0, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 70% 60%, rgba(255, 179, 128, 0.35) 0%, transparent 50%);
    pointer-events: none;
}

.auth-brand-content {
    position: relative;
    z-index: 1;
    max-width: 420px;
}

.auth-brand-logo {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary, #1A1A1A);
}

.auth-brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--action-primary, #FF6600);
    flex-shrink: 0;
}

.auth-tagline {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: var(--text-primary, #1A1A1A);
}

.auth-tagline-accent {
    color: var(--action-primary, #FF6600);
}

.auth-subtext {
    color: var(--text-muted, #697E70);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.auth-network-svg {
    width: 100%;
    max-width: 320px;
    opacity: 0.65;
}

.auth-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-width: 560px;
    background: var(--surface-main, #FFFFFF);
}

.auth-form-panel-wide {
    max-width: none;
    align-items: stretch;
    padding: 2rem 3rem;
}

.auth-top-nav {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.auth-top-nav .btn-auth-nav {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 179, 128, 0.6);
    color: var(--text-primary, #1A1A1A);
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    text-decoration: none;
}

.auth-top-nav .btn-auth-nav:hover {
    background: #fff;
    color: var(--action-primary, #FF6600);
}

.auth-form-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(26, 26, 26, 0.06);
    border: 1px solid rgba(255, 179, 128, 0.35);
    padding: 2rem;
}

.auth-form-card-wide {
    max-width: 720px;
}

.auth-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #1A1A1A);
    margin-bottom: 0.35rem;
}

.auth-form-subtitle {
    color: var(--text-muted, #697E70);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.auth-form-card .form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary, #1A1A1A);
}

.auth-form-card .form-control {
    border-radius: 8px;
    border-color: #FFB380;
    padding: 0.6rem 0.85rem;
}

.auth-form-card .form-control:focus {
    border-color: var(--action-primary, #FF6600);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
}

.btn-brand-cta {
    background: var(--action-primary, #FF6600);
    border: none;
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.65rem 1.25rem;
    transition: background 0.15s, transform 0.15s;
}

.btn-brand-cta:hover {
    background: var(--action-primary-hover, #FF8C40);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-brand {
    border: 2px solid var(--color-orange-50, #FFB380);
    color: var(--text-primary, #1A1A1A);
    background: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.55rem 1.15rem;
}

.btn-outline-brand:hover {
    background: var(--surface-soft, #FFD9BF);
    color: var(--text-primary, #1A1A1A);
}

.auth-link {
    color: var(--action-primary, #FF6600);
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    color: var(--action-primary-hover, #FF8C40);
    text-decoration: underline;
}

.plan-card-inner {
    border-radius: 12px !important;
    transition: all 0.2s;
    cursor: pointer;
    border-color: #FFB380 !important;
}

.plan-card-inner.selected,
.plan-card:hover .plan-card-inner {
    border-color: var(--action-primary, #FF6600) !important;
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
}

.plan-card-inner.plan-paid.selected {
    border-color: var(--action-primary, #FF6600) !important;
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.25);
}

.plan-badge-free {
    background: var(--color-green, #697E70) !important;
}

.plan-badge-paid {
    background: var(--action-primary, #FF6600) !important;
}

@media (max-width: 991px) {
    .auth-shell {
        flex-direction: column;
    }

    .auth-brand-panel {
        min-height: auto;
        padding: 2.5rem 1.5rem 2rem;
    }

    .auth-tagline {
        font-size: 1.5rem;
    }

    .auth-network-svg {
        display: none;
    }

    .auth-form-panel {
        max-width: none;
        padding: 1.5rem;
    }

    .auth-form-panel-wide {
        padding: 1.5rem;
    }
}

@media (min-width: 992px) {
    .auth-shell-auth-only .auth-brand-panel {
        max-width: 45%;
    }
}
