/* ==========================================================================
   Account & Customer Pages Stylesheet
   ========================================================================== */

/* Main Container */
.account-page-container {
    max-width: 1360px;
    width: 100%;
    margin: 16px auto 40px;
    padding: 0 16px;
    box-sizing: border-box;
}

.account-layout {
    width: 100%;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Account Sidebar
   -------------------------------------------------------------------------- */
.account-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.account-user-card {
    background: #ffffff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-radius: 4px;
    margin-bottom: 14px;
}

.user-avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f5ff;
    color: #2874f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-details {
    overflow: hidden;
}

.user-greeting {
    font-size: 11.5px;
    color: #717478;
    display: block;
}

.user-name {
    font-size: 15px;
    font-weight: 700;
    color: #212121;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plus-member-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
}

.account-nav-box {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-radius: 4px;
    overflow: hidden;
}

.nav-section {
    border-bottom: 1px solid #f0f0f0;
}

.nav-section:last-child {
    border-bottom: none;
}

.nav-heading-link {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    color: #212121;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    transition: background 0.15s;
}

.nav-heading-link:hover,
.nav-heading-link.active {
    background: #f4f8ff;
    color: #2874f0;
}

.nav-heading-link.active {
    border-left: 4px solid #2874f0;
}

.nav-heading-link .nav-arrow {
    margin-left: auto;
    font-size: 18px;
    color: #878787;
}

.nav-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 8px;
    color: #878787;
}

.nav-icon {
    display: flex;
    align-items: center;
    color: #2874f0;
    margin-right: 12px;
}

.nav-heading .nav-icon {
    margin-right: 0;
}

.nav-title {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #878787;
}

.nav-sub-list {
    list-style: none;
    margin: 0;
    padding: 0 0 8px 0;
}

.nav-sub-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px 9px 48px;
    font-size: 13.5px;
    color: #212121;
    text-decoration: none;
    transition: all 0.15s;
}

.nav-sub-list li a:hover {
    color: #2874f0;
    background: #fafafa;
}

.nav-sub-list li a.active {
    background: #f4f8ff;
    color: #2874f0;
    font-weight: 700;
}

.badge-pill {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 12px;
    background: #f0f0f0;
    color: #666;
}

.badge-plus {
    font-size: 10px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffe11b, #ff9f00);
    color: #111;
    padding: 2px 6px;
    border-radius: 3px;
}

.nav-section-logout {
    padding: 14px 16px;
}

.logout-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #878787;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s;
}

.logout-link:hover {
    color: #ef4444;
}

/* --------------------------------------------------------------------------
   Account Main Content Card
   -------------------------------------------------------------------------- */
.account-main-content {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-radius: 4px;
    padding: 24px 32px;
}

.account-section-header {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.account-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #212121;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-section-sub {
    font-size: 13px;
    color: #878787;
    margin-top: 4px;
}

/* Profile Form Elements */
.profile-info-block {
    margin-bottom: 32px;
}

.info-block-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}

.info-block-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #212121;
}

.edit-toggle-btn {
    font-size: 13px;
    font-weight: 700;
    color: #2874f0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.edit-toggle-btn:hover {
    text-decoration: underline;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 540px;
}

.form-field {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #878787;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
    background: #ffffff;
}

.form-input:focus {
    border-color: #2874f0;
    box-shadow: 0 0 0 2px rgba(40,116,240,0.1);
}

.form-input:disabled {
    background: #fafafa;
    color: #555;
    cursor: not-allowed;
}

.gender-select-wrap {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.gender-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #212121;
    cursor: pointer;
}

.save-btn-primary {
    background: #2874f0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.save-btn-primary:hover {
    background: #125ed6;
}

.cancel-btn-subtle {
    background: none;
    border: 1px solid #d1d5db;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 8px;
}

/* Address Cards */
.address-card-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
}

.address-item-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 16px 20px;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.address-item-card:hover {
    border-color: #b0c8f5;
    box-shadow: 0 2px 8px rgba(40,116,240,0.06);
}

.address-type-badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    background: #f0f0f0;
    color: #666;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
}

.address-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.address-person-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #212121;
}

.address-person-phone {
    font-size: 13.5px;
    color: #555;
}

.address-text {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.5;
    margin: 4px 0 10px;
}

.address-actions {
    display: flex;
    gap: 16px;
    font-size: 13px;
    font-weight: 700;
}

.address-actions button {
    background: none;
    border: none;
    color: #2874f0;
    cursor: pointer;
    padding: 0;
    font-weight: 700;
}

.address-actions button.delete-btn {
    color: #ef4444;
}

.btn-add-address {
    border: 1px dashed #2874f0;
    background: #f8fbff;
    color: #2874f0;
    font-weight: 700;
    font-size: 14px;
    width: 100%;
    padding: 14px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-add-address:hover {
    background: #eef5ff;
}

/* --------------------------------------------------------------------------
   Orders Page Specific Styles
   -------------------------------------------------------------------------- */
.orders-filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.order-search-input-wrap {
    flex: 1;
    min-width: 260px;
    position: relative;
}

.order-search-input-wrap input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13.5px;
}

.order-search-input-wrap .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #878787;
}

.order-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s, border-color 0.2s;
    background: #ffffff;
}

.order-card:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}

.order-card-grid {
    display: grid;
    grid-template-columns: 90px 1.8fr 1fr 1.4fr;
    gap: 18px;
    align-items: center;
}

.order-item-thumb {
    width: 80px;
    height: 90px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 6px;
}

.order-item-brand {
    font-size: 12px;
    font-weight: 700;
    color: #878787;
    text-transform: uppercase;
}

.order-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #212121;
    margin: 2px 0 6px;
    line-height: 1.4;
    text-decoration: none;
    display: block;
}

.order-item-title:hover {
    color: #2874f0;
}

.order-item-meta {
    font-size: 12.5px;
    color: #717478;
}

.order-price-val {
    font-size: 15px;
    font-weight: 700;
    color: #212121;
}

.order-status-block {
    display: flex;
    flex-direction: column;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.delivered {
    background: #388e3c;
}

.status-dot.in-transit {
    background: #2874f0;
}

.status-dot.cancelled {
    background: #ef4444;
}

.status-sub-text {
    font-size: 12px;
    color: #717478;
    margin-top: 4px;
    padding-left: 18px;
}

.order-action-links {
    margin-top: 8px;
    padding-left: 18px;
    display: flex;
    gap: 12px;
}

.order-action-link {
    font-size: 12.5px;
    font-weight: 700;
    color: #2874f0;
    text-decoration: none;
    cursor: pointer;
}

.order-action-link:hover {
    text-decoration: underline;
}

/* Order Tracker Modal */
.tracking-stepper {
    display: flex;
    justify-content: space-between;
    margin: 28px 0;
    position: relative;
}

.tracking-stepper::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
}

.track-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-bubble {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 700;
    font-size: 13px;
    color: #878787;
}

.track-step.done .step-bubble {
    background: #388e3c;
    border-color: #388e3c;
    color: #ffffff;
}

.track-step.active .step-bubble {
    background: #2874f0;
    border-color: #2874f0;
    color: #ffffff;
}

.step-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #212121;
}

.step-time {
    font-size: 11px;
    color: #878787;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Wishlist Page Specific Styles
   -------------------------------------------------------------------------- */
.wishlist-count-badge {
    font-size: 14px;
    color: #717478;
    font-weight: 500;
}

.wishlist-card {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    padding: 18px 12px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    position: relative;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.15s;
}

.wishlist-card:hover {
    background-color: #f8fafc;
}

.wishlist-card:last-child {
    border-bottom: none;
}

.wishlist-thumb {
    width: 110px;
    height: 120px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px;
}

.wishlist-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #212121;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}

.wishlist-item-title:hover {
    color: #2874f0;
}

.wishlist-rating-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #388e3c;
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 6px;
}

.wishlist-rating-count {
    font-size: 12px;
    color: #878787;
}

.wishlist-prices {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 8px 0;
}

.wishlist-current-price {
    font-size: 18px;
    font-weight: 700;
    color: #212121;
}

.wishlist-original-price {
    font-size: 13.5px;
    color: #878787;
    text-decoration: line-through;
}

.wishlist-discount {
    font-size: 13.5px;
    color: #388e3c;
    font-weight: 700;
}

.wishlist-stock-status {
    font-size: 12px;
    font-weight: 600;
}

.wishlist-stock-status.in {
    color: #388e3c;
}

.wishlist-stock-status.out {
    color: #ef4444;
}

.wishlist-item-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.btn-move-to-cart {
    background: #fb641b;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-move-to-cart:hover {
    background: #e45510;
}

.btn-delete-wishlist {
    background: none;
    border: none;
    color: #878787;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
}

.btn-delete-wishlist:hover {
    color: #ef4444;
}

/* --------------------------------------------------------------------------
   Plus Zone Page Specific Styles
   -------------------------------------------------------------------------- */
.plus-banner-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 8px;
    padding: 32px 36px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.plus-banner-hero::after {
    content: '⭐';
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 140px;
    opacity: 0.08;
    user-select: none;
}

.plus-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ffe11b, #ff9f00);
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.plus-title {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px;
}

.plus-subtitle {
    font-size: 14px;
    color: #94a3b8;
    max-width: 500px;
}

.plus-coin-balance-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 16px 24px;
    border-radius: 8px;
    text-align: center;
}

.coin-count-big {
    font-size: 32px;
    font-weight: 800;
    color: #ffe11b;
}

.coin-label {
    font-size: 12px;
    color: #cbd5e1;
    font-weight: 600;
}

.plus-perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.plus-perk-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px 16px;
    text-align: center;
}

.perk-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.perk-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.perk-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Rewards Page Specific Styles
   -------------------------------------------------------------------------- */
.rewards-header-card {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border-radius: 8px;
    padding: 24px 28px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.reward-item-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.reward-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.reward-card-top {
    padding: 16px 18px;
    background: #f8fafc;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reward-brand {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.reward-coin-cost {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 800;
    color: #b45309;
    background: #fef3c7;
    padding: 2px 8px;
    border-radius: 12px;
}

.reward-card-body {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.reward-offer-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px;
}

.reward-offer-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 14px;
    flex: 1;
}

.reward-code-box {
    background: #f1f5f9;
    border: 1px dashed #94a3b8;
    border-radius: 4px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.btn-copy-code {
    background: #2874f0;
    color: #ffffff;
    border: none;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    cursor: pointer;
}

.btn-claim-reward {
    width: 100%;
    background: #2874f0;
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-claim-reward:hover {
    background: #125ed6;
}

/* --------------------------------------------------------------------------
   Gift Cards Page Specific Styles
   -------------------------------------------------------------------------- */
.gift-card-preview-wrap {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    padding: 24px;
    color: #ffffff;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 20px rgba(37,99,235,0.25);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.gift-card-preview-wrap.theme-birthday {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.gift-card-preview-wrap.theme-anniversary {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.gift-card-preview-wrap.theme-festive {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.gift-card-preview-wrap.theme-generic {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.gift-card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gift-card-brand {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.gift-card-val-display {
    font-size: 26px;
    font-weight: 800;
}

.gift-card-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.gift-card-recipient-text {
    font-size: 13px;
    opacity: 0.9;
}

.gift-card-chip {
    width: 40px;
    height: 28px;
    background: #ffd700;
    border-radius: 4px;
    opacity: 0.8;
}

.denominations-grid {
    display: flex;
    gap: 10px;
    margin: 10px 0 16px;
    flex-wrap: wrap;
}

.denom-btn {
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    border-radius: 4px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.denom-btn:hover,
.denom-btn.active {
    border-color: #2874f0;
    background: #f0f5ff;
    color: #2874f0;
}

/* --------------------------------------------------------------------------
   Auth (Login / Sign Up) Split Screen
   -------------------------------------------------------------------------- */
.auth-page-wrapper {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-radius: 4px;
    display: flex;
    overflow: hidden;
    min-height: 560px;
    box-sizing: border-box;
}

.auth-sidebar-brand {
    width: 380px;
    flex-shrink: 0;
    background: #2874f0;
    padding: 48px 36px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
}

.auth-brand-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.2;
}

.auth-brand-sub {
    font-size: 15px;
    color: #dbecff;
    line-height: 1.5;
}

.auth-brand-illu {
    margin-top: auto;
    text-align: center;
    opacity: 0.9;
}

.auth-form-container {
    flex: 1;
    min-width: 0;
    padding: 48px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.auth-tab-switch {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 24px;
}

.auth-tab-btn {
    flex: 1;
    padding: 12px;
    text-align: center;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 700;
    color: #878787;
    cursor: pointer;
    position: relative;
}

.auth-tab-btn.active {
    color: #2874f0;
}

.auth-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2874f0;
}

.auth-terms-note {
    font-size: 12px;
    color: #878787;
    line-height: 1.5;
    margin: 18px 0;
}

.auth-terms-note a {
    color: #2874f0;
    text-decoration: none;
}

.btn-auth-submit {
    background: #fb641b;
    color: #ffffff;
    border: none;
    padding: 12px;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    transition: background 0.2s;
}

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

.btn-auth-secondary {
    background: #ffffff;
    color: #2874f0;
    border: 1px solid #e0e0e0;
    padding: 12px;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-auth-secondary:hover {
    background: #f8fbff;
}

/* --------------------------------------------------------------------------
   Google Sign-In & Auth Enhancements
   -------------------------------------------------------------------------- */
.google-auth-box {
    margin: 0 0 20px 0;
    width: 100%;
}

.google-btn-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
}

.google-btn-wrapper > div {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.btn-google-native {
    width: 100%;
    max-width: 360px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    color: #3c4043;
    font-size: 14px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(60,64,67,0.08);
    transition: background-color 0.2s, box-shadow 0.2s, border-color 0.2s;
    margin: 0 auto;
}

.btn-google-native:hover {
    background-color: #f8fafd;
    border-color: #c2c7d0;
    box-shadow: 0 1px 3px rgba(60,64,67,0.15);
}

.btn-google-native svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.auth-divider-wrap {
    display: flex;
    align-items: center;
    margin: 20px 0;
    width: 100%;
}

.auth-divider-line {
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider-text {
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    color: #878787;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-alert {
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 16px;
    display: none;
    align-items: center;
    gap: 8px;
}

.auth-alert.show {
    display: flex;
}

.auth-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.auth-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
}

.auth-alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

.btn-auth-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}



/* Responsive queries */
@media (max-width: 960px) {
    .account-layout {
        flex-direction: column;
    }
    .account-sidebar {
        width: 100%;
    }
    .plus-perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .order-card-grid {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }
    .auth-page-wrapper {
        flex-direction: column;
        margin: 16px;
    }
    .auth-sidebar-brand {
        width: 100%;
        padding: 24px;
    }
}
