// Copyright (c) 2026 Atellagent, Inc. All rights reserved.
// This source code is proprietary and confidential. Unauthorized copying, distribution, or use is strictly prohibited.

.auth-surface {
    padding-top: 0;
    min-height: 100vh;
}

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

.auth-surface-header {
    padding: 1.5rem 2rem 0;
}

.auth-surface-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.auth-surface-brand .brand-mark {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
    flex: 0 0 auto;
}

.auth-surface-main {
    flex: 1;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.auth-shell-container {
    max-width: 520px;
    margin: 4rem auto;
    text-align: center;
}

.auth-shell-card {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(111, 146, 255, 0.22);
    background: rgba(14, 24, 48, 0.9);
    overflow: hidden;
}

.auth-shell-header {
    background: linear-gradient(135deg, #0b1221 0%, #1f2f58 100%);
    color: var(--text-primary);
    padding: 2.5rem 1.75rem 1.75rem;
    border-bottom: 1px solid rgba(111, 146, 255, 0.25);
}

.auth-shell-icon {
    font-size: 3.25rem;
    margin-bottom: 1rem;
    color: #fdbb2d;
}

.auth-shell-body {
    padding: 2.25rem 1.75rem 2rem;
}

.auth-shell-body .text-muted {
    color: rgba(206, 218, 255, 0.72) !important;
}

.auth-shell-info {
    background: rgba(9, 18, 40, 0.85);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(129, 158, 255, 0.22);
    padding: 1.15rem 1.25rem;
    margin: 0.75rem 0;
    text-align: left;
}

.auth-shell-info h6 {
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.auth-shell-info p {
    color: rgba(206, 218, 255, 0.72);
    margin: 0;
    font-size: 0.925rem;
}

.auth-shell-body .btn-primary {
    border-radius: 999px;
    background: linear-gradient(135deg, #5d8bff, #b68cff);
    border: none;
    box-shadow: 0 18px 36px rgba(93, 139, 255, 0.32);
}

.auth-shell-body .btn-outline-secondary {
    border-radius: 999px;
    border: 1px solid rgba(132, 164, 255, 0.32);
    color: var(--text-primary);
    background: rgba(12, 22, 48, 0.85);
}

.auth-shell-body .btn-outline-secondary:hover,
.auth-shell-body .btn-outline-secondary:focus {
    color: var(--text-primary);
    border-color: rgba(132, 164, 255, 0.48);
    background: rgba(18, 30, 60, 0.95);
}

.role-info {
    background: var(--secondary-gradient);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    margin: 1rem 0;
}

.role-badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    margin: 0.25rem;
}

.required-role {
    color: var(--text-danger, #dc3545);
    font-weight: 600;
}

@media (max-width: 576px) {
    .auth-surface-header {
        padding: 1.25rem 1rem 0;
    }

    .auth-surface-main {
        padding: 1.5rem 1rem 2.5rem;
    }

    .auth-shell-container {
        margin: 2.5rem auto;
    }

    .auth-shell-header {
        padding: 2rem 1.25rem 1.5rem;
    }

    .auth-shell-body {
        padding: 1.75rem 1.25rem;
    }
}
