/*
 * ============================================================
 * Ahmadiyad - Premium Women's Undergarments E-Commerce
 * Developed by: Etarnity Global Innovation
 * Website: https://etarnity.com
 * ============================================================
 */

/* ============================================================
 * AUTH PAGES — Login & Sign Up
 * Centered card, clean minimal design
 * ============================================================ */

.auth-section {
    min-height: calc(100vh - var(--navbar-height, 68px));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px 60px;
}

.auth-container {
    width: 100%;
    max-width: 460px;
}

/* --- Back to Home --- */
.auth-back-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #999;
    text-decoration: none;
    margin-bottom: 24px;
    transition: var(--transition);
}

.auth-back-home:hover {
    color: var(--secondary);
}

/* --- Auth Card --- */
.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* --- Brand --- */
.auth-brand {
    text-align: center;
    margin-bottom: 32px;
}

.auth-brand-name {
    font-family: var(--brand-font);
    font-size: 36px;
    color: var(--text);
    text-decoration: none;
    display: block;
    line-height: 1.2;
}

.auth-brand-tagline {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

/* --- Form Title --- */
.auth-form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.auth-form-subtitle {
    font-size: 13px;
    color: #999;
    margin-bottom: 28px;
}

/* --- Field --- */
.auth-field {
    margin-bottom: 18px;
    min-width: 0;
}

.auth-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.auth-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    height: 46px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: var(--white);
}

.auth-input-wrap:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(213, 0, 109, 0.08);
}

.auth-input-wrap i {
    font-size: 16px;
    color: #bbb;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.auth-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: 14px;
    color: var(--text);
    background: transparent;
    min-width: 0;
}

.auth-input-wrap input::placeholder {
    color: #ccc;
}

/* Password toggle */
.auth-toggle-pass {
    background: none;
    border: none;
    color: #bbb;
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.auth-toggle-pass:hover {
    color: var(--secondary);
}

/* --- Row (2 columns) --- */
.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* --- Extras (remember + forgot) --- */
.auth-extras {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.auth-remember input {
    display: none;
}

.auth-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
}

.auth-remember input:checked + .auth-checkbox-custom {
    background: var(--secondary);
    border-color: var(--secondary);
}

.auth-remember input:checked + .auth-checkbox-custom::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.auth-forgot {
    font-size: 12px;
    font-weight: 500;
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.auth-forgot:hover {
    text-decoration: underline;
}

/* --- Submit Button --- */
.auth-submit-btn {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}

.auth-submit-btn:hover {
    background: var(--secondary);
    box-shadow: 0 6px 20px rgba(213, 0, 109, 0.3);
    transform: translateY(-1px);
}

.auth-submit-btn:active {
    transform: translateY(0) scale(0.98);
}

/* --- Divider --- */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 16px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
}

.auth-divider span {
    font-size: 12px;
    color: #bbb;
    font-weight: 500;
}

/* --- Google Button --- */
.auth-google-btn {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--white);
    color: var(--text);
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.auth-google-btn:hover {
    border-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* --- Switch --- */
.auth-switch {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.auth-switch a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Removed Same As Button Styles */

/* Register card slightly larger padding */
.auth-card--register {
    padding: 36px 32px;
}



