/* ==========================================================================
   1. REGISTRATION CARD CLOSURE & CONDENSING FIXES
   ========================================================================== */
.fs-auth-hidden { display: none !important; }

/* Elegant modern card architecture with smooth corners */
.woocommerce-account .u-columns.col2-set {
    display: flex !important;
    flex-direction: column !important;
    max-width: 440px !important;
    margin: 40px auto !important;
    background: #ffffff !important;
    padding: 35px 30px !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.04) !important;
    border: 1px solid #eaeaea !important;
}

.woocommerce-account .u-column1, 
.woocommerce-account .u-column2 { 
    width: 100% !important; 
    float: none !important;
}

/* Rounded luxury input parameters */
.woocommerce-account form .form-row input.input-text {
    border-radius: 12px !important;
    padding: 12px 16px !important;
    border: 1px solid #dcdcdc !important;
    font-size: 14px !important;
    transition: all 0.25s ease;
}
.woocommerce-account form .form-row input.input-text:focus {
    border-color: #ff5500 !important;
    box-shadow: 0 0 0 4px rgba(255, 85, 0, 0.08) !important;
    outline: none !important;
}

/* Premium Rounded Action Buttons */
.woocommerce-account button.button {
    border-radius: 12px !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    background-color: #ff5500 !important;
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.1) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.woocommerce-account button.button:hover {
    background-color: #e04b00 !important;
    box-shadow: 0 6px 16px rgba(255, 85, 0, 0.2) !important;
    transform: translateY(-1px);
}

.fs-toggle-wrapper {
    margin-top: 24px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.fs-toggle-link {
    color: #ff5500;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    margin-left: 4px;
}
.fs-toggle-link:hover {
    text-decoration: underline;
}

/* Compact Registration Terms Wrapper */
.fs-readmore-container {
    margin: 20px 0 10px 0;
    text-align: left;
}

.fs-readmore-trigger {
    background: #f7f7f9 !important;
    border: 1px solid #eef0f2 !important;
    color: #444 !important;
    padding: 11px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    transition: background 0.2s;
}
.fs-readmore-trigger:hover {
    background: #eeeeF2 !important;
}

.fs-readmore-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    background: #f9f9f9;
}

.fs-readmore-content.open {
    max-height: 130px !important;
    padding: 14px;
    margin-top: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow-y: auto !important;
    transition: max-height 0.3s ease-in-out;
}

/* ==========================================================================
   2. GOOGLE CONTINUANCE AUTH BUTTON UI
   ========================================================================== */
.fs-google-sso-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 20px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

.fs-google-sso-btn:hover {
    background-color: #f8f9fa;
    color: #111;
    border-color: #c3c6ca;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.fs-or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #b0b5bc;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 22px 0;
}
.fs-or-divider::before, .fs-or-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}
.fs-or-divider:not(:empty)::before { margin-right: 1.2em; }
.fs-or-divider:not(:empty)::after { margin-left: 1.2em; }

/* ==========================================================================
   3. ACCOUNT INTERFACE OVERHAUL & EXECUTIVE TIERS
   ========================================================================== */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 25% !important;
    float: left !important;
    margin-right: 3% !important;
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    border: 1px solid #eaeaea;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin-bottom: 6px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block !important;
    padding: 12px 18px !important;
    color: #444444 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    transition: all 0.2s ease;
}

/* Fixed: Styled seamlessly to prevent high-contrast dark button overlays */
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background-color: rgba(255, 85, 0, 0.06) !important;
    color: #ff5500 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background-color: rgba(255, 85, 0, 0.06) !important;
    color: #ff5500 !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 72% !important;
    float: left !important;
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #eaeaea;
    box-sizing: border-box;
}

/* Header showcase profile box layouts */
.fs-dashboard-hero {
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.fs-dashboard-profile-box {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 25px;
}

.fs-dashboard-avatar {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid #ff5500 !important;
    box-shadow: 0 6px 16px rgba(255, 85, 0, 0.15);
}

.fs-dashboard-welcome h2 {
    text-align: left !important;
    font-size: 24px !important;
    margin: 0 0 6px 0 !important;
    color: #111 !important;
}

.fs-dashboard-welcome p {
    margin: 0 !important;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Statistics Grid */
.fs-dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.fs-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    transition: transform 0.2s;
}
.fs-stat-card:hover {
    transform: translateY(-2px);
}

.fs-stat-card h3 {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin: 0 0 6px 0 !important;
    color: #111 !important;
}

.fs-stat-card p {
    margin: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #718096;
}

.fs-stat-card.current h3 { color: #ff5500 !important; }
.fs-stat-card.delivered h3 { color: #2ecc71 !important; }
.fs-stat-card.cart h3 { color: #3182ce !important; }

@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 20px;
    }
    .fs-dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   4. HEADER MINI-CART NOTIFICATION COUNT BADGE OVERRIDE
   ========================================================================== */
/* Targets the cart notification count indicator bubble */
.woocommerce-mini-cart__total,
[class*="cart-count"],
[class*="cart-contents"] .count,
.site-header [class*="badge"],
.ast-site-header-cart .ast-cart-number-media-default .ast-count {
    background-color: transparent !important;
    background: transparent !important;
    color: #111111 !important; /* Plain black number text */
    border: 2px solid #111111 !important; /* Clean plain black outline circle */
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
}