/* Viewport Vertical and Horizontal Midpoint Alignment Wrapper */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 65px);
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* Glassmorphic Board Structure */
.auth-card {
    background: rgba(8, 10, 18, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 3rem 2.5rem; /* Even, high-end outer perimeter frame padding */
    width: 100%;
    max-width: 440px;
    box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.8),
                0 0 40px -10px var(--blue-tint-subtle);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.auth-header h2 {
    color: var(--text-primary);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
}

.input-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

/* Clean, Edge-to-Edge Left Aligned Input Fields */
.input-wrapper input {
    width: 100%;
    background: rgba(4, 5, 9, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.75rem; /* Symmetrical inner spacing, text is flush left */
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    text-align: left; 
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-wrapper input:focus {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(10, 12, 22, 0.8);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.06);
}

/* Primary Form Action Button */
.btn-submit {
    margin-top: 0.5rem;
    background-color: var(--accent-pure);
    color: #030408;
    border: 1px solid var(--accent-pure);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.btn-submit:hover {
    background-color: #f1f5f9;
    border-color: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.12);
}

/* Switch Form Option Links */
.auth-footer {
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}
