/* ==================== AUTHENTICATION PAGE STYLES ==================== */
.auth-section-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 15px;
    min-height: 60vh;
}

.auth-card {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #eaeaea;
}

/* Tab Headers */
.auth-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
}

.auth-tab-btn {
    flex: 1;
    padding: 16px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab-btn.active {
    background: #ffffff;
    color: #2b2b2b;
    border-bottom: 3px solid #529633; /* Change accent color as per your brand */
}

/* Form Body */
.auth-body {
    padding: 30px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 24px;
}

/* Form Fields */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    color: #495057;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: #529633;
}

.form-row-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #495057;
    cursor: pointer;
}

.forgot-link {
    color: #529633;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    background: #212529;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.auth-submit-btn:hover {
    background: #529633;
}


/* Wishlist button styling */
.wishlist-toggle-btn {
    background: #ffffff;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.wishlist-toggle-btn:hover {
    transform: scale(1.1);
}

/* When item is saved, turn the FontAwesome icon red */
.wishlist-toggle-btn.active i {
    color: #ff4757;
}

/* If you are using solid vs regular icons, this ensures it fills or colors correctly */
.wishlist-toggle-btn.active i.fa-regular,
.wishlist-toggle-btn.active i.fa-solid {
    color: #ff4757;
}