/* --- AUTH PAGE LAYOUT --- */
.auth-body{
    background:var(--bg-soft);
    display:flex;
    flex-direction:column;
    min-height:100vh;
}

.auth-card{
    width:100%;
    max-width:520px;
    margin:70px auto;
    padding:40px;
    background:var(--white);
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
    text-align:center;
}

.auth-header { margin-bottom: 30px; }
.auth-header h2 { font-size: 1.8rem; color: var(--dark); margin-bottom: 10px; }
.auth-header p { color: var(--gray-text); font-size: 0.95rem; }

.auth-form{
    display:flex;
    flex-direction:column;
    gap:18px;
    text-align:left;
}

.auth-form div{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.auth-form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 5px;
    display: block;
}

.auth-form input{
    width:100%;
    box-sizing:border-box;
    padding:12px 15px;
    border:1px solid #e5e7eb;
    border-radius:6px;
    font-size:1rem;
    transition:.3s;
}

.auth-form input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.auth-btn {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.auth-btn:hover { background-color: var(--primary-dark); }
.auth-btn:disabled { background-color: #9ca3af; cursor: not-allowed; }

.auth-footer {
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--gray-text);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.error-msg {
    color: #ef4444;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: none; /* Hidden by default */
    background: #fef2f2;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #fee2e2;
}