@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;500;600;700&display=swap');

/* Main Variables definition for frontend themes */
:root {
    --aura-brand-color: #4f46e5;
    --aura-brand-color-hover: #4338ca;
}

/* Global typography override for login/register sections */
.auraportal-container,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-MyAccount-content,
.woocommerce-account {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #334155;
}

/* 1. Style Custom Shortcode Wrappers */
.auraportal-container {
    max-width: 480px;
    margin: 2rem auto;
    padding: 0;
    box-sizing: border-box;
}

.auraportal-container * {
    box-sizing: border-box;
}

.auraportal-form {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 16px -8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auraportal-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.08), 0 10px 20px -8px rgba(0, 0, 0, 0.08);
}

.auraportal-form h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #0f172a;
    text-align: center;
}

.auraportal-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
    margin: 0 0 2rem 0;
}

/* Form fields layout */
.auraportal-field-group,
.woocommerce-form-row {
    margin-bottom: 1.5rem !important;
    position: relative;
}

.auraportal-field-group label,
.woocommerce-form-row label {
    display: block;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.85rem !important;
    color: #475569 !important;
    letter-spacing: 0.2px;
}

/* 2. Styling native WooCommerce login/register forms */
.woocommerce form.login,
.woocommerce form.register {
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 16px !important;
    padding: 2.5rem !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03), 0 8px 16px -8px rgba(0, 0, 0, 0.03) !important;
    margin: 1.5rem 0 !important;
    box-sizing: border-box !important;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.woocommerce form.login:hover,
.woocommerce form.register:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.06), 0 10px 20px -8px rgba(0, 0, 0, 0.06) !important;
}

/* Title text for forms */
.woocommerce-MyAccount-content h2 {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 1rem !important;
}

/* Input Fields overrides (Shortcodes & WooCommerce) */
.auraportal-input,
.woocommerce-Input,
.woocommerce-Input--text,
.woocommerce form.login input[type="text"],
.woocommerce form.login input[type="password"],
.woocommerce form.register input[type="email"],
.woocommerce form.register input[type="text"],
.woocommerce form.register input[type="password"],
.woocommerce-select,
.auraportal-field-row select,
.auraportal-field-row textarea,
.woocommerce-account textarea {
    width: 100% !important;
    padding: 0.8rem 1.1rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.95rem !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background-color: #f8fafc !important;
    transition: all 0.2s ease !important;
    color: #0f172a !important;
    outline: none !important;
    box-sizing: border-box !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02) !important;
    height: auto !important;
}

.auraportal-input::placeholder,
.woocommerce-Input::placeholder {
    color: #94a3b8 !important;
}

.auraportal-input:focus,
.woocommerce-Input:focus,
.woocommerce-Input--text:focus,
.woocommerce form.login input[type="text"]:focus,
.woocommerce form.login input[type="password"]:focus,
.woocommerce form.register input[type="email"]:focus,
.woocommerce form.register input[type="password"]:focus,
.woocommerce-select:focus,
.auraportal-field-row select:focus,
.auraportal-field-row textarea:focus,
.woocommerce-account textarea:focus {
    border-color: var(--aura-brand-color, #4f46e5) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3.5px rgba(79, 70, 229, 0.08) !important;
}

/* Custom styling for select fields dropdown arrow */
.woocommerce-select,
.auraportal-field-row select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.1rem center !important;
    background-size: 1rem !important;
    padding-right: 2.5rem !important;
    height: 48px !important;
}

/* Custom styling for textareas */
.auraportal-field-row textarea,
.woocommerce-account textarea {
    min-height: 100px !important;
    resize: vertical !important;
}

/* Custom file upload field styling */
.auraportal-field-row input[type="file"] {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem !important;
    border: 1.5px dashed #cbd5e1 !important;
    background-color: #f8fafc !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.auraportal-field-row input[type="file"]:hover {
    border-color: var(--aura-brand-color, #4f46e5) !important;
    background-color: #ffffff !important;
}

/* Checkbox remember element styling (Dynamic Custom Checkbox) */
/* Checkbox remember element styling (Dynamic Custom Checkbox) */
.auraportal-remember,
.woocommerce-form-login__rememberme,
.woocommerce-form__label-for-checkbox.checkbox,
.woocommerce-form__label-for-checkbox {
    display: inline-flex !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
    cursor: pointer !important;
    color: #475569 !important;
    font-size: 0.875rem !important;
    margin-top: 0.5rem !important;
    margin-bottom: 1.25rem !important;
    user-select: none;
}

.auraportal-remember input[type="checkbox"],
.woocommerce-form-login__rememberme input[type="checkbox"],
.woocommerce-form__label-for-checkbox input[type="checkbox"],
.auraportal-field-row input[type="checkbox"] {
    margin: 3px 0 0 0 !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-color: #f1f5f9 !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 4px !important;
    width: 18px !important;
    height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    transition: all 0.15s ease !important;
    flex-shrink: 0 !important;
}

.auraportal-remember input[type="checkbox"]:checked,
.woocommerce-form-login__rememberme input[type="checkbox"]:checked,
.woocommerce-form__label-for-checkbox input[type="checkbox"]:checked,
.auraportal-field-row input[type="checkbox"]:checked {
    background-color: var(--aura-brand-color, #4f46e5) !important;
    border-color: var(--aura-brand-color, #4f46e5) !important;
}

.auraportal-remember input[type="checkbox"]:checked::after,
.woocommerce-form-login__rememberme input[type="checkbox"]:checked::after,
.woocommerce-form__label-for-checkbox input[type="checkbox"]:checked::after,
.auraportal-field-row input[type="checkbox"]:checked::after {
    content: "" !important;
    display: block !important;
    width: 4px !important;
    height: 8px !important;
    border: solid #ffffff !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
    margin-bottom: 2px !important;
}

/* Primary Button Overrides (Shortcodes & WooCommerce) */
.auraportal-submit-btn,
.woocommerce-button,
.woocommerce-Button,
.woocommerce form.login button[type="submit"],
.woocommerce form.register button[type="submit"] {
    width: 100% !important;
    padding: 0.85rem !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    background-color: var(--aura-brand-color, #4f46e5) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 10px -1px rgba(79, 70, 229, 0.25) !important;
    height: auto !important;
    text-shadow: none !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

.auraportal-submit-btn:hover,
.woocommerce-button:hover,
.woocommerce-Button:hover,
.woocommerce form.login button[type="submit"]:hover,
.woocommerce form.register button[type="submit"]:hover {
    background-color: var(--aura-brand-color-hover, #4338ca) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 16px -1px rgba(79, 70, 229, 0.3) !important;
    color: #ffffff !important;
}

.auraportal-submit-btn:active,
.woocommerce-button:active,
.woocommerce form.login button[type="submit"]:active,
.woocommerce form.register button[type="submit"]:active {
    transform: translateY(0) !important;
}

.auraportal-submit-btn:disabled,
.woocommerce-Button:disabled,
.woocommerce-button:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* 3. Password Visibility eye toggle */
.password-input,
.pass-field-container {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.password-input input[type="password"],
.pass-field-container .auraportal-input,
.woocommerce-form-row input[type="password"] {
    padding-right: 2.75rem !important;
}

.password-input .show-password-input,
.password-input .auraportal-eye-toggle,
.pass-field-container .show-password-input,
.pass-field-container .auraportal-eye-toggle {
    position: absolute !important;
    right: 0.85rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #94a3b8 !important;
    padding: 0 !important;
    font-size: 1.25rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.15s ease !important;
    z-index: 9 !important;
    margin: 0 !important;
    height: auto !important;
    width: auto !important;
}

.password-input .show-password-input:hover,
.password-input .auraportal-eye-toggle:hover,
.pass-field-container .show-password-input:hover,
.pass-field-container .auraportal-eye-toggle:hover {
    color: #475569 !important;
}

/* WooCommerce row specific adjustments */
.woocommerce form.login p.form-row:has(input[type="password"]),
.woocommerce form.register p.form-row:has(input[type="password"]) {
    position: relative !important;
}



.aura-strength-meter {
    margin-top: 0.5rem;
}

.aura-strength-bar {
    height: 6px;
    width: 0;
    background-color: #e2e8f0;
    border-radius: 9999px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s ease;
}

.aura-strength-bar.very-weak {
    background-color: #ef4444 !important; /* Red */
}

.aura-strength-bar.weak {
    background-color: #f97316 !important; /* Orange */
}

.aura-strength-bar.medium {
    background-color: #f59e0b !important; /* Amber */
}

.aura-strength-bar.strong {
    background-color: #10b981 !important; /* Emerald */
}

.aura-strength-text {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
    display: block;
}

/* Inline Validation Indicator */
.aura-validation-indicator {
    display: block;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.aura-validation-indicator.checking {
    color: #3b82f6;
}

.aura-validation-indicator.valid {
    color: #10b981;
}

.aura-validation-indicator.invalid {
    color: #ef4444;
}

/* 5. WooCommerce Notices & Alerts */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.auraportal-message-box {
    padding: 1rem 1.25rem !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.4 !important;
    border: 1px solid transparent !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

/* Error banner */
.woocommerce-error,
.auraportal-message-box.error-notice {
    background-color: #fef2f2 !important;
    border: 1px solid #fca5a5 !important;
    border-left: 4px solid #ef4444 !important;
    color: #991b1b !important;
}

.woocommerce-error li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Success banner */
.woocommerce-message,
.auraportal-message-box.success-notice {
    background-color: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    border-left: 4px solid #10b981 !important;
    color: #065f46 !important;
}

/* Meta links rows styling */
.auraportal-meta-row,
.woocommerce-LostPassword {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0 !important;
    font-size: 0.875rem !important;
}

.auraportal-link,
.woocommerce-LostPassword a,
.woocommerce-form-login__rememberme a {
    color: var(--aura-brand-color, #4f46e5) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.auraportal-link:hover,
.woocommerce-LostPassword a:hover {
    text-decoration: underline !important;
}

/* Loading Spinner */
.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: aura-spin 0.8s linear infinite;
}

@keyframes aura-spin {
    to { transform: rotate(360deg); }
}

/* Footer links text */
.auraportal-footer-text {
    text-align: center;
    margin: 1.5rem 0 0 0;
    font-size: 0.875rem;
    color: #64748b;
}

.auraportal-footer-text a {
    color: var(--aura-brand-color, #4f46e5);
    text-decoration: none;
    font-weight: 600;
}

.auraportal-footer-text a:hover {
    text-decoration: underline;
}

/* Already logged in welcome card */
.auraportal-logged-in-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    max-width: 420px;
    margin: 2rem auto;
    font-family: 'Outfit', sans-serif;
}

.auraportal-avatar {
    margin-bottom: 1.5rem;
}

.auraportal-avatar img {
    border-radius: 50%;
    border: 3px solid #f1f5f9;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.auraportal-logged-in-card h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.auraportal-logged-in-card p {
    color: #64748b;
    margin: 0 0 2rem 0;
    font-size: 0.95rem;
}

.auraportal-card-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.auraportal-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.auraportal-btn.primary-btn {
    background-color: var(--aura-brand-color, #4f46e5);
    color: #ffffff;
}

.auraportal-btn.primary-btn:hover {
    background-color: var(--aura-brand-color-hover, #4338ca);
}

.auraportal-btn.secondary-btn {
    background-color: #f1f5f9;
    color: #475569;
}

.auraportal-btn.secondary-btn:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

/* 6. Apply glassmorphism blur ONLY to active login popups and modal backdrops (prevents blurring page section background images) */
.auraportal-modal-backdrop,
.login-popup-backdrop,
.woo-login-popup-backdrop,
body.modal-open .modal-backdrop,
.mfp-bg.mfp-ready {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    background-color: rgba(15, 23, 42, 0.45) !important;
    transition: all 0.3s ease !important;
}

/* 6b. Flatsome Header Account Dropdown Rounded Corners & Shadow */
.nav-dropdown,
.account-dropdown .nav-dropdown,
.account-dropdown .nav-dropdown-default,
ul.my-account-menu {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.08), 0 10px 15px -8px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
    background: var(--aura-woo-sidebar-bg, #ffffff) !important;
}

/* ==========================================
   7. Logged-in WooCommerce My Account Upgrades
   ========================================== */

/* Account Layout Grid container */
.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin: 2rem 0;
    align-items: flex-start;
}

@media(max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Sidebar Navigation panel container */
.woocommerce-MyAccount-navigation {
    flex: 0 0 260px !important;
    background: var(--aura-woo-sidebar-bg, #ffffff) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 1.25rem !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.02), 0 8px 16px -8px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

@media(max-width: 768px) {
    .woocommerce-MyAccount-navigation {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    border: none !important;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

/* Tab Links general styling */
.woocommerce-MyAccount-navigation ul li a,
.woocommerce-MyAccount-navigation-link a,
.account-dropdown li a,
.my-account-dropdown li a,
ul.my-account-menu li a,
.account-item .nav-dropdown li a,
.account-dropdown a[href*="wishlist"],
.account-dropdown a[href*="tinvwl"],
.my-account-dropdown a[href*="wishlist"],
.my-account-dropdown a[href*="tinvwl"],
ul.my-account-menu a[href*="wishlist"],
ul.my-account-menu a[href*="tinvwl"],
.account-item a[href*="wishlist"],
.account-item a[href*="tinvwl"],
.nav-dropdown a[href*="wishlist"],
.nav-dropdown a[href*="tinvwl"] {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.85rem !important;
    padding: 0.85rem 1.1rem !important;
    color: var(--aura-woo-sidebar-text, #64748b) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: transparent !important;
    border: none !important;
    text-transform: capitalize !important;
    letter-spacing: 0.3px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    box-shadow: none !important;
}

/* Tab hover styling */
.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation-link a:hover,
.account-dropdown li a:hover,
.my-account-dropdown li a:hover,
ul.my-account-menu li a:hover,
.account-item .nav-dropdown li a:hover,
.account-dropdown a[href*="wishlist"]:hover,
.account-dropdown a[href*="tinvwl"]:hover,
.my-account-dropdown a[href*="wishlist"]:hover,
.my-account-dropdown a[href*="tinvwl"]:hover,
ul.my-account-menu a[href*="wishlist"]:hover,
ul.my-account-menu a[href*="tinvwl"]:hover,
.account-item a[href*="wishlist"]:hover,
.account-item a[href*="tinvwl"]:hover,
.nav-dropdown a[href*="wishlist"]:hover,
.nav-dropdown a[href*="tinvwl"]:hover {
    color: var(--aura-woo-sidebar-hover-text, var(--aura-brand-color, #4f46e5)) !important;
    background-color: var(--aura-woo-sidebar-hover-bg, #f8fafc) !important;
    padding-left: 1.35rem !important;
}

/* Active tab style overlay pill */
.woocommerce-MyAccount-navigation-link.is-active a,
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.active a,
.woocommerce-MyAccount-navigation ul li.current a {
    background: var(--aura-woo-sidebar-hover-bg, var(--aura-brand-color, #4f46e5)) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.15) !important;
}

.woocommerce-MyAccount-navigation-link.is-active a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a:hover,
.woocommerce-MyAccount-navigation ul li.active a:hover,
.woocommerce-MyAccount-navigation ul li.current a:hover {
    color: #ffffff !important;
    background: var(--aura-brand-color, #4f46e5) !important;
    padding-left: 1.1rem !important;
}

/* Tab Icons enqueuing (Dashicons) */
.woocommerce-MyAccount-navigation-link a::before,
.woocommerce-MyAccount-navigation ul li a::before,
.account-dropdown a[href*="wishlist"]::before,
.account-dropdown a[href*="tinvwl"]::before,
.my-account-dropdown a[href*="wishlist"]::before,
.my-account-dropdown a[href*="tinvwl"]::before,
ul.my-account-menu a[href*="wishlist"]::before,
ul.my-account-menu a[href*="tinvwl"]::before,
.account-item .nav-dropdown li a::before,
.account-item a[href*="wishlist"]::before,
.account-item a[href*="tinvwl"]::before,
.nav-dropdown a[href*="wishlist"]::before,
.nav-dropdown a[href*="tinvwl"]::before {
    font-family: 'fl-icons', 'dashicons' !important;
    font-size: 1.2rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    line-height: 24px !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    opacity: 0.85 !important;
    visibility: visible !important;
    position: static !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    order: -1 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
}

/* Clear vertical lines and redundant theme icons */
.woocommerce-MyAccount-navigation-link::after,
.woocommerce-MyAccount-navigation ul li::after,
.woocommerce-MyAccount-navigation-link a::after,
.woocommerce-MyAccount-navigation ul li a::after {
    display: none !important;
    content: none !important;
}

/* Specific Tab icons assignments */
.woocommerce-MyAccount-navigation-link--dashboard a::before {
    content: "\f226" !important; /* admin-generic / meter dashboard */
}
.woocommerce-MyAccount-navigation-link--orders a::before {
    content: "\f174" !important; /* cart / basket */
}
.woocommerce-MyAccount-navigation-link--downloads a::before {
    content: "\f316" !important; /* download */
}
.woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: "\f102" !important; /* location-alt */
}
.woocommerce-MyAccount-navigation-link--payment-methods a::before {
    content: "\f110" !important; /* credit-card */
}
.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: "\f111" !important; /* admin-users / profile */
}
.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: "\f182" !important; /* exit / signout */
}

/* Wishlist Tab icons assignments */
.woocommerce-MyAccount-navigation-link--wishlist a::before,
.woocommerce-MyAccount-navigation-link--yith-my-wishlist a::before,
.woocommerce-MyAccount-navigation-link--yith-wishlist a::before,
.woocommerce-MyAccount-navigation-link--tinv_wishlist a::before,
.woocommerce-MyAccount-navigation-link--tinvwl a::before,
.woocommerce-MyAccount-navigation ul li[class*="wishlist"] a::before,
.account-dropdown a[href*="wishlist"]::before,
.account-dropdown a[href*="tinvwl"]::before,
.my-account-dropdown a[href*="wishlist"]::before,
.my-account-dropdown a[href*="tinvwl"]::before,
ul.my-account-menu a[href*="wishlist"]::before,
ul.my-account-menu a[href*="tinvwl"]::before,
.account-item a[href*="wishlist"]::before,
.account-item a[href*="tinvwl"]::before,
.nav-dropdown a[href*="wishlist"]::before,
.nav-dropdown a[href*="tinvwl"]::before {
    content: "\f487" !important; /* heart */
}

/* Subscriptions Tab icons assignments */
.woocommerce-MyAccount-navigation-link--subscriptions a::before,
.woocommerce-MyAccount-navigation-link--subscription a::before,
.woocommerce-MyAccount-navigation ul li[class*="subscription"] a::before {
    content: "\f463" !important; /* update / refresh */
}

/* Memberships Tab icons assignments */
.woocommerce-MyAccount-navigation-link--memberships a::before,
.woocommerce-MyAccount-navigation-link--membership a::before,
.woocommerce-MyAccount-navigation ul li[class*="membership"] a::before {
    content: "\f326" !important; /* awards / shield */
}

/* Bookings Tab icons assignments */
.woocommerce-MyAccount-navigation-link--bookings a::before,
.woocommerce-MyAccount-navigation-link--booking a::before,
.woocommerce-MyAccount-navigation ul li[class*="booking"] a::before {
    content: "\f508" !important; /* calendar */
}

/* Account Details Area Content */
.woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

/* Welcome Card paragraph restyle */
.woocommerce-MyAccount-content p:first-of-type {
    font-size: 1.1rem !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
}

.woocommerce-MyAccount-content p:first-of-type strong {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* Welcome Profile avatar widget on the dashboard content */
.woocommerce-MyAccount-content .row.user-profile-details,
.woocommerce-MyAccount-content p:has(.avatar) {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

.woocommerce-MyAccount-content img.avatar {
    border-radius: 50% !important;
    border: 3px solid #f1f5f9 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04) !important;
    width: 60px !important;
    height: 60px !important;
    float: none !important;
    margin: 0 !important;
}

/* Hide broken theme/WooCommerce dashboard paragraph link icons */
.woocommerce-MyAccount-content p a::before,
.woocommerce-MyAccount-content p a i,
.woocommerce-MyAccount-content a[href*="wishlist"] i,
.woocommerce-MyAccount-content a[href*="tinvwl"] i,
.woocommerce-MyAccount-content a[href*="wishlist"]::after,
.woocommerce-MyAccount-content a[href*="tinvwl"]::after {
    display: none !important;
}

/* Dashboard Action Cards / Grid links */
.woocommerce-MyAccount-content .row,
.woocommerce-MyAccount-content .links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
}

/* Action Card buttons templates style */
.woocommerce-MyAccount-content a.button,
.woocommerce-MyAccount-content .row a,
.woocommerce-MyAccount-content .links a,
.woocommerce-MyAccount-content a[href*="wishlist"],
.woocommerce-MyAccount-content a[href*="tinvwl"] {
    flex: 1 1 180px;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 1.5rem 1rem !important;
    text-align: center !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    box-shadow: 0 4px 8px -2px rgba(0,0,0,0.02) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    box-sizing: border-box !important;
    text-transform: uppercase;
}

/* Prepend dashicons on action buttons inside the dashboard */
.woocommerce-MyAccount-content a.button::before,
.woocommerce-MyAccount-content .row a::before,
.woocommerce-MyAccount-content .links a::before,
.woocommerce-MyAccount-content a[href*="wishlist"]::before,
.woocommerce-MyAccount-content a[href*="tinvwl"]::before {
    font-family: 'dashicons' !important;
    font-size: 2rem !important;
    width: 32px;
    height: 32px;
    line-height: 32px;
    display: block;
    color: var(--aura-brand-color, #4f46e5);
    transition: transform 0.2s ease;
}

/* Specific Icon assignments based on text values */
.woocommerce-MyAccount-content a[href*="orders"]::before {
    content: "\f174" !important; /* basket */
}
.woocommerce-MyAccount-content a[href*="downloads"]::before {
    content: "\f316" !important; /* download */
}
.woocommerce-MyAccount-content a[href*="edit-address"]::before {
    content: "\f102" !important; /* marker */
}
.woocommerce-MyAccount-content a[href*="payment-methods"]::before {
    content: "\f110" !important; /* credit-card */
}
.woocommerce-MyAccount-content a[href*="edit-account"]::before {
    content: "\f111" !important; /* user */
}
.woocommerce-MyAccount-content a[href*="wishlist"]::before,
.woocommerce-MyAccount-content a[href*="tinvwl"]::before {
    content: "\f487" !important; /* heart */
}
.woocommerce-MyAccount-content a[href*="subscription"]::before {
    content: "\f463" !important; /* update / refresh */
}
.woocommerce-MyAccount-content a[href*="membership"]::before {
    content: "\f326" !important; /* shield / award */
}
.woocommerce-MyAccount-content a[href*="booking"]::before {
    content: "\f508" !important; /* calendar */
}

/* Hover effect on Action buttons cards */
.woocommerce-MyAccount-content a.button:hover,
.woocommerce-MyAccount-content .row a:hover,
.woocommerce-MyAccount-content .links a:hover {
    border-color: var(--aura-brand-color, #4f46e5) !important;
    background-color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px -3px rgba(79, 70, 229, 0.08) !important;
    color: var(--aura-brand-color, #4f46e5) !important;
}

.woocommerce-MyAccount-content a.button:hover::before,
.woocommerce-MyAccount-content .row a:hover::before,
.woocommerce-MyAccount-content .links a:hover::before {
    transform: scale(1.1);
}

/* ==========================================
   8. General Form Improvements & Responsive Layouts
   ========================================== */

/* Set login forms wrapper to full width */
#customer_login,
.woocommerce .col2-set {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    /* Main WooCommerce accounts columns */
    .woocommerce-account .woocommerce {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Force login/register container full-width and remove desktop float constraints */
    #customer_login,
    .woocommerce .col2-set {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        gap: 1.5rem !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .woocommerce .col2-set .col-1,
    .woocommerce .col2-set .col-2,
    #customer_login .col-1,
    #customer_login .col-2 {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin: 0 0 1.5rem 0 !important;
        padding: 0 !important;
    }

    /* Reduce form cards inner padding on smaller mobile viewports */
    .woocommerce form.login,
    .woocommerce form.register,
    .auraportal-form {
        padding: 1.5rem 1.25rem !important;
        margin: 1rem 0 !important;
        border-radius: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Add side spacing for custom shortcode wrapper container */
    .auraportal-container {
        padding: 0 1rem !important;
        margin: 1.5rem auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Logged in welcome profile badge mobile adjustments */
    .auraportal-logged-in-card {
        padding: 2rem 1.25rem !important;
        margin: 1.5rem auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Stack buttons on logged in welcome card */
    .auraportal-card-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .auraportal-btn {
        width: 100%;
        text-align: center;
    }

    /* Stack inline inputs if floats exist */
    .woocommerce-form-row--first,
    .woocommerce-form-row--last,
    .form-row-first,
    .form-row-last {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
    }
}

/* ==========================================
   9. Search Form & Header Search Customization (Flatsome Theme & Universal)
   ========================================== */

/* ==========================================
   9. Search Form & Header Search Customization (Flatsome Theme & Universal)
   ========================================== */

/* Preserve header menu search trigger button/icon background (prevents unwanted white rectangle background) */
body.auraportal-search-styled .header-search > a:not(.button),
body.auraportal-search-styled .header-search-link,
body.auraportal-search-styled .header-search-icon,
body.auraportal-search-styled li.header-search > a,
body.auraportal-search-styled li.header-search-item > a,
body.auraportal-search-styled .header-nav .header-search > a,
body.auraportal-search-styled .nav > li.header-search > a,
body.auraportal-search-styled .header-search > a.circle {
    background-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Search input field background, text color, border color, and border radius across Form, Dropdown, and Lightbox/Pop-up modes */
body.auraportal-search-styled form.searchform .flex-row,
body.auraportal-search-styled form.searchform input[type="search"],
body.auraportal-search-styled form.searchform input[type="text"],
body.auraportal-search-styled form.searchform input.search-field,
body.auraportal-search-styled .searchform input[type="search"],
body.auraportal-search-styled .searchform input[type="text"],
body.auraportal-search-styled .searchform input.search-field,
body.auraportal-search-styled .header-search-form input,
body.auraportal-search-styled .searchform-wrapper input,
body.auraportal-search-styled .nav-dropdown-search input,
body.auraportal-search-styled #search-lightbox input,
body.auraportal-search-styled .search-popup input {
    background-color: var(--aura-search-input-bg, #ffffff) !important;
    color: var(--aura-search-input-text, #0f172a) !important;
    border-color: var(--aura-search-input-border, #cbd5e1) !important;
    border-radius: var(--aura-search-border-radius, 12px) !important;
}

/* Focus state for search input fields */
body.auraportal-search-styled form.searchform input:focus,
body.auraportal-search-styled .searchform input:focus,
body.auraportal-search-styled .header-search-form input:focus,
body.auraportal-search-styled .searchform-wrapper input:focus,
body.auraportal-search-styled .nav-dropdown-search input:focus,
body.auraportal-search-styled #search-lightbox input:focus,
body.auraportal-search-styled .search-popup input:focus {
    border-color: var(--aura-brand-color, #4f46e5) !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

/* Search input placeholder color */
body.auraportal-search-styled form.searchform input::placeholder,
body.auraportal-search-styled .searchform input::placeholder,
body.auraportal-search-styled .header-search-form input::placeholder,
body.auraportal-search-styled .searchform-wrapper input::placeholder,
body.auraportal-search-styled .nav-dropdown-search input::placeholder,
body.auraportal-search-styled #search-lightbox input::placeholder,
body.auraportal-search-styled .search-popup input::placeholder {
    color: var(--aura-search-input-text, #0f172a) !important;
    opacity: 0.65 !important;
}

body.auraportal-search-styled form.searchform input::-webkit-input-placeholder,
body.auraportal-search-styled .searchform input::-webkit-input-placeholder,
body.auraportal-search-styled .header-search-form input::-webkit-input-placeholder,
body.auraportal-search-styled .searchform-wrapper input::-webkit-input-placeholder,
body.auraportal-search-styled .nav-dropdown-search input::-webkit-input-placeholder,
body.auraportal-search-styled #search-lightbox input::-webkit-input-placeholder,
body.auraportal-search-styled .search-popup input::-webkit-input-placeholder {
    color: var(--aura-search-input-text, #0f172a) !important;
    opacity: 0.65 !important;
}

body.auraportal-search-styled form.searchform input::-moz-placeholder,
body.auraportal-search-styled .searchform input::-moz-placeholder,
body.auraportal-search-styled .header-search-form input::-moz-placeholder,
body.auraportal-search-styled .searchform-wrapper input::-moz-placeholder,
body.auraportal-search-styled .nav-dropdown-search input::-moz-placeholder,
body.auraportal-search-styled #search-lightbox input::-moz-placeholder,
body.auraportal-search-styled .search-popup input::-moz-placeholder {
    color: var(--aura-search-input-text, #0f172a) !important;
    opacity: 0.65 !important;
}

/* Search category select dropdown filter */
body.auraportal-search-styled form.searchform select,
body.auraportal-search-styled .searchform select,
body.auraportal-search-styled .searchform-categories select {
    background-color: var(--aura-search-input-bg, #ffffff) !important;
    color: var(--aura-search-input-text, #0f172a) !important;
    border-color: var(--aura-search-input-border, #cbd5e1) !important;
    border-radius: var(--aura-search-border-radius, 12px) !important;
}

/* Search submit button background & border */
body.auraportal-search-styled form.searchform button[type="submit"],
body.auraportal-search-styled form.searchform .submit-button,
body.auraportal-search-styled form.searchform .ux-search-submit,
body.auraportal-search-styled form.searchform button.button,
body.auraportal-search-styled form.searchform button.circle,
body.auraportal-search-styled .searchform button[type="submit"],
body.auraportal-search-styled .searchform .submit-button,
body.auraportal-search-styled .searchform .ux-search-submit,
body.auraportal-search-styled .searchform button.button,
body.auraportal-search-styled .searchform button.circle,
body.auraportal-search-styled .header-search-form button,
body.auraportal-search-styled .searchform-wrapper button,
body.auraportal-search-styled .nav-dropdown-search button,
body.auraportal-search-styled #search-lightbox button,
body.auraportal-search-styled .search-popup button {
    background-color: var(--aura-search-btn-bg, #4f46e5) !important;
    border-color: var(--aura-search-btn-bg, #4f46e5) !important;
    color: var(--aura-search-btn-text, #ffffff) !important;
}

/* Icon & SVG inside search submit button — WHITE on solid button background */
body.auraportal-search-styled form.searchform button i,
body.auraportal-search-styled form.searchform button svg,
body.auraportal-search-styled form.searchform button .icon-search,
body.auraportal-search-styled .searchform button i,
body.auraportal-search-styled .searchform button svg,
body.auraportal-search-styled .searchform button .icon-search,
body.auraportal-search-styled .header-search-form button i,
body.auraportal-search-styled .header-search-form button svg,
body.auraportal-search-styled .searchform-wrapper button i,
body.auraportal-search-styled .nav-dropdown-search button i,
body.auraportal-search-styled #search-lightbox button i,
body.auraportal-search-styled .search-popup button i {
    color: var(--aura-search-btn-text, #ffffff) !important;
    fill: var(--aura-search-btn-text, #ffffff) !important;
}

/* Plain / transparent search buttons & fallback icon visibility */
body.auraportal-search-styled form.searchform button.plain,
body.auraportal-search-styled form.searchform button.transparent,
body.auraportal-search-styled .searchform button.plain,
body.auraportal-search-styled .searchform button.transparent {
    background-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

body.auraportal-search-styled form.searchform button.plain i,
body.auraportal-search-styled form.searchform button.transparent i,
body.auraportal-search-styled .searchform button.plain i,
body.auraportal-search-styled .searchform button.transparent i {
    color: var(--aura-search-btn-bg, var(--aura-search-input-text, #0f172a)) !important;
    fill: var(--aura-search-btn-bg, var(--aura-search-input-text, #0f172a)) !important;
}

/* Header Dropdown Search Container & Full Page Lightbox Modal */
body.auraportal-search-styled .search-dropdown,
body.auraportal-search-styled .header-search-dropdown .nav-dropdown,
body.auraportal-search-styled .nav-dropdown-search,
body.auraportal-search-styled .search-popup,
body.auraportal-search-styled #search-lightbox,
body.auraportal-search-styled .search-lightbox,
body.auraportal-search-styled #search-lightbox .searchform-wrapper {
    background-color: var(--aura-search-dropdown-bg, #ffffff) !important;
    border-color: var(--aura-search-input-border, #cbd5e1) !important;
}

/* Live Search Autocomplete Dropdown Container */
body.auraportal-search-styled .live-search-results,
body.auraportal-search-styled .autocomplete-suggestions,
body.auraportal-search-styled .ux-search-results,
body.auraportal-search-styled ul.ajax-search-results,
body.auraportal-search-styled .search-results-ajax {
    background-color: var(--aura-search-dropdown-bg, #ffffff) !important;
    border-color: var(--aura-search-input-border, #cbd5e1) !important;
}

/* Live Search Result Items & Links */
body.auraportal-search-styled .live-search-results a,
body.auraportal-search-styled .autocomplete-suggestion,
body.auraportal-search-styled .autocomplete-suggestion .title,
body.auraportal-search-styled .autocomplete-suggestion .search-name {
    color: var(--aura-search-input-text, #0f172a) !important;
}

/* Live Search Result Item Hover State */
body.auraportal-search-styled .autocomplete-suggestion:hover,
body.auraportal-search-styled .autocomplete-suggestion.selected,
body.auraportal-search-styled .live-search-results li:hover,
body.auraportal-search-styled .live-search-results a:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

/* Live Search Item Price / Meta */
body.auraportal-search-styled .autocomplete-suggestion .price,
body.auraportal-search-styled .autocomplete-suggestion .amount,
body.auraportal-search-styled .live-search-results .price {
    color: var(--aura-search-input-text, #0f172a) !important;
    opacity: 0.75 !important;
}




