/* ============================================
   Auth Pages Styles (Login / Register)
   ============================================ */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--gray-50);
    padding: 40px 24px;
}

.auth-header {
    margin-bottom: 40px;
}

.auth-card {
    background: white;
    width: 100%;
    max-width: 440px;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 40px;
}

.auth-card h1 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 8px;
    text-align: center;
}

.auth-sub {
    font-size: .9rem;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Fields (Extends from checkout logic basically) */
.ck-field label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.ck-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: .95rem;
    font-family: var(--font-body);
    transition: all .2s;
}
.ck-field input:focus {
    outline: none;
    border-color: var(--green-400);
    box-shadow: 0 0 0 3px rgba(16,185,129,.1);
}
.ck-field .optional {
    color: var(--gray-400);
    font-weight: 400;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    margin-top: 4px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    cursor: pointer;
}

.forgot-link {
    color: var(--green-600);
    font-weight: 600;
}
.forgot-link:hover {
    text-decoration: underline;
}

.auth-btn {
    margin-top: 12px;
    padding: 14px;
    font-size: 1rem;
    justify-content: center;
}

.auth-btn svg {
    margin-left: 6px;
    width: 18px;
    height: 18px;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: .9rem;
    color: var(--gray-500);
    border-top: 1px solid var(--gray-100);
    padding-top: 24px;
}

.auth-footer a {
    color: var(--green-600);
    font-weight: 700;
}
.auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 500px) {
    .auth-card {
        padding: 30px 20px;
    }
}
