/* Elementor Menu Cart Upsells - Custom Styling */

.craftria-upsells-section {
    background-color: #f7f9fc;
    padding: 20px;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    margin-top: 15px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* RTL / LTR Direction Handlers */
body.rtl .craftria-upsells-section {
    direction: rtl;
}
body:not(.rtl) .craftria-upsells-section {
    direction: ltr;
}

.craftria-upsells-header {
    margin-bottom: 15px;
}
body.rtl .craftria-upsells-header {
    text-align: right;
}
body:not(.rtl) .craftria-upsells-header {
    text-align: left;
}

.craftria-upsells-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.craftria-upsells-subtitle {
    font-size: 13px;
    color: #7a7a7a;
    margin: 0;
}

/* Slider / Carousel Wrapper */
.craftria-upsells-slider-wrapper {
    position: relative;
    width: 100%;
}

.craftria-upsells-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding-bottom: 12px;
}

/* Hide Scrollbar */
.craftria-upsells-slider::-webkit-scrollbar {
    display: none;
}
.craftria-upsells-slider {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Product Card */
.craftria-upsells-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body:not(.rtl) .craftria-upsells-card {
    flex-direction: row-reverse;
}

.craftria-upsells-card.loading {
    opacity: 0.6;
    pointer-events: none;
}

.craftria-upsells-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 12px;
    padding-right: 0;
}
body.rtl .craftria-upsells-card-content {
    text-align: right;
}
body:not(.rtl) .craftria-upsells-card-content {
    text-align: left;
}

.craftria-upsells-product-title {
    font-size: 14px;
    font-weight: 600;
    color: #2b2b2b;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.craftria-upsells-product-price {
    font-size: 13px;
    margin-bottom: 12px;
}

/* Price styles from WooCommerce inside our upsells */
.craftria-upsells-product-price del {
    color: #a0a0a0;
    font-size: 12px;
    text-decoration: line-through;
}
body.rtl .craftria-upsells-product-price del {
    margin-left: 6px;
    margin-right: 0;
}
body:not(.rtl) .craftria-upsells-product-price del {
    margin-right: 6px;
    margin-left: 0;
}

.craftria-upsells-product-price ins {
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
}

.craftria-upsells-product-price amount {
    font-weight: 700;
    color: #1a1a1a;
}

/* Quantity Selector & Add Button */
.craftria-upsells-actions {
    display: flex;
    align-items: center;
}

.craftria-qty-selector {
    display: flex;
    align-items: center;
    background: #f1f3f7;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 2px;
}

.craftria-qty-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    border-radius: 50%;
}

.craftria-qty-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.craftria-qty-val {
    min-width: 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #1a202c;
}

/* Add to Cart Button */
.craftria-add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    width: 100px;
}

.craftria-add-to-cart-btn:hover {
    background: #2b2b2b;
}

.craftria-add-to-cart-btn:active {
    transform: scale(0.96);
}


/* Image Wrapper with absolute trash icon */
.craftria-upsells-image-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.craftria-upsells-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Red trash remove button on top of image */
.craftria-remove-item-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    background: #ff3b30;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 2px 6px rgba(255, 59, 48, 0.3);
    transition: transform 0.2s, background 0.2s;
    padding: 0;
}

.craftria-remove-item-btn:hover {
    background: #e02d22;
    transform: scale(1.1);
}

/* Pagination Dots */
.craftria-upsells-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.craftria-upsells-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid #718096;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.craftria-upsells-dot.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    transform: scale(1.15);
}

/* Layout Fixes for Elementor Menu Cart side drawer on frontend */
.elementor-menu-cart--cart-type-side-cart .elementor-menu-cart__main {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.elementor-menu-cart--cart-type-side-cart .widget_shopping_cart_content {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    height: calc(100% - 60px) !important; /* Exclude close button height */
    overflow: hidden !important;
}

.elementor-menu-cart--cart-type-side-cart .elementor-menu-cart__products {
    flex-grow: 1 !important;
    overflow-y: auto !important;
}

.elementor-menu-cart--cart-type-side-cart .elementor-menu-cart__subtotal,
.elementor-menu-cart--cart-type-side-cart .elementor-menu-cart__footer-buttons {
    flex-shrink: 0 !important;
}

/* Ensure buttons are at the bottom */
.elementor-menu-cart--cart-type-side-cart .elementor-menu-cart__footer-buttons {
    margin-top: auto !important;
}

/* Styling for trash remove button overlay on top of the product image */
.elementor-menu-cart__product-image {
    position: relative !important;
    overflow: visible !important;
}

.elementor-menu-cart__product-image .elementor-menu-cart__product-remove {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    left: auto !important;
    bottom: auto !important;
    width: 28px !important;
    height: 28px !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%23ff3b30'%3E%3Cpath d='M135.2 17.7C140.6 6.8 151.7 0 163.8 0H284.2c12.1 0 23.2 6.8 28.6 17.7L320 32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 96 0 81.7 0 64S14.3 32 32 32h96l7.2-14.3zM32 128H416V448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V128zm96 64c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16z'/%3E%3C/svg%3E") !important;
    background-size: 12px 14px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    z-index: 10 !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.elementor-menu-cart__product-image .elementor-menu-cart__product-remove:hover {
    transform: scale(1.1) !important;
    background-color: #fcfcfc !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
}

.elementor-menu-cart__product-image .elementor-menu-cart__product-remove::before,
.elementor-menu-cart__product-image .elementor-menu-cart__product-remove::after {
    display: none !important;
}

.elementor-menu-cart__product-image .elementor-menu-cart__product-remove > a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 12 !important;
}

/* Login & Register Tabs - Custom Styling */
.craftria-auth-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 45px 40px;
    font-family: 'Tajawal', 'Montserrat', sans-serif;
    /* direction set dynamically via PHP */
    box-sizing: border-box;
}
.craftria-auth-container.rtl {
    direction: rtl;
    text-align: right;
}
.craftria-auth-container.ltr {
    direction: ltr;
    text-align: left;
}

.craftria-auth-container * {
    box-sizing: border-box;
}
.craftria-auth-header {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    position: relative;
}
.craftria-auth-header.hidden {
    display: none;
}
.craftria-auth-tab-link {
    background: none !important;
    border: none !important;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    font-family: inherit;
    transition: all 0.3s;
    box-shadow: none !important;
}
.craftria-auth-tab-link:hover {
    box-shadow: none !important;
    background: #ffffff;
}
.craftria-auth-tab-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.craftria-auth-tab-link.active::after {
    width: 35px;
    box-shadow: none !important;
}

.craftria-auth-greeting {
    text-align: center;
    margin-bottom: 35px;
}
.craftria-auth-greeting h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 32px;
    font-weight: 600;
}
.craftria-auth-greeting p {
    margin: 0;
    color: #8e8e93;
    font-size: 14px;
}

.craftria-auth-tab-content {
    display: none;
    animation: craftriaAuthFadeIn 0.4s ease;
}
.craftria-auth-tab-content.active {
    display: block;
}
@keyframes craftriaAuthFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.craftria-auth-form-group {
    margin-bottom: 24px;
}
.craftria-auth-form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 14px;
    color: #ffffff;
}
.craftria-auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border-input);
    background-color: var(--bg-input);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s;
    height: 52px;
}
.craftria-auth-input-wrapper:focus-within {
    border-color: #ffffff;
}
.craftria-auth-input-field {
    flex: 1;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    color: #ffffff;
    background: transparent;
    font-family: inherit;
}
.craftria-auth-input-field:focus {
    outline: none;
}
.craftria-auth-input-field::placeholder {
    color: #636366;
    font-size: 14px;
}

.craftria-auth-pass-toggle {
    padding: 0 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #8e8e93;
    transition: color 0.2s;
}
.craftria-auth-pass-toggle:hover {
    color: #ffffff;
}
.craftria-auth-pass-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.craftria-auth-form-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 24px;
    font-size: 13px;
}
.craftria-auth-forgot-link {
    text-decoration: none;
    font-weight: 500;
    color: #8e8e93;
    cursor: pointer;
    transition: color 0.2s;
}
.craftria-auth-forgot-link:hover {
    color: #ffffff;
}
.craftria-auth-back-login {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-weight: 500;
    color: #8e8e93;
    cursor: pointer;
    transition: color 0.2s;
}
.craftria-auth-back-login:hover {
    color: #ffffff;
}

.craftria-auth-submit-btn {
    width: 100%;
    border: none;
    height: 52px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: block;
    background-color: #ffffff;
    color: #000000;
}
.craftria-auth-submit-btn:hover {
    background-color: #e6e6e6;
    transform: translateY(-1px);
}
.craftria-auth-submit-btn:active {
    transform: translateY(0);
}

/* Or Separator */
.craftria-auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 28px 0;
    color: #8e8e93;
}
.craftria-auth-separator::before,
.craftria-auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #2d2d30;
}
.craftria-auth-separator:not(:empty)::before {
    margin-left: 15px;
}
.craftria-auth-separator:not(:empty)::after {
    margin-right: 15px;
}
.craftria-auth-separator span {
    font-size: 13px;
    font-weight: 500;
    color: #8e8e93;
}

/* Google Button */
.craftria-auth-google-btn {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    font-family: inherit;
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-input);
    border-radius: 8px;
}
.craftria-auth-google-btn svg {
    width: 20px;
    height: 20px;
}
.craftria-auth-google-btn:hover {
    background-color: #202024;
    border-color: #3a3a3c;
    transform: translateY(-1px);
}

.craftria-auth-footer-toggle {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #8e8e93;
}
.craftria-auth-footer-toggle span {
    margin-left: 5px;
    margin-right: 5px;
}
.craftria-auth-toggle-link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}
.craftria-auth-toggle-link:hover {
    opacity: 0.8;
}

/* Twilio OTP Specific Styling Overrides */
.craftria-auth-toggle-method {
    transition: color 0.2s ease;
}
.craftria-auth-toggle-method:hover {
    color: #ffffff !important;
}
.craftria-auth-send-otp-btn {
    transition: all 0.2s ease !important;
}
.craftria-auth-send-otp-btn:hover {
    background-color: #2a2a2c !important;
    border-color: #3a3a3c !important;
    color: #ffffff !important;
}

/* AJAX Error Message Box Styles */
.craftria-auth-error-msg {
    background-color: rgba(255, 69, 58, 0.08);
    border: 1px solid rgba(255, 69, 58, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ff453a;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
    font-family: inherit;
    animation: craftriaErrorFadeIn 0.3s ease;
}
@keyframes craftriaErrorFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1024px) {
    .craftria-auth-container input[type="text"], 
    .craftria-auth-container input[type="number"], 
    .craftria-auth-container input[type="email"], 
    .craftria-auth-container input[type="url"], 
    .craftria-auth-container input[type="password"], 
    .craftria-auth-container input[type="search"], 
    .craftria-auth-container input[type="reset"], 
    .craftria-auth-container input[type="tel"], 
    .craftria-auth-container input[type="date"], 
    .craftria-auth-container select {
        height: 50px;
    }
}

/* Fix for cart slider drawer cutting off on the right in LTR (English) */
body:not(.rtl) .elementor-menu-cart__container {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

body:not(.rtl) .elementor-menu-cart--cart-type-side-cart.elementor-menu-cart--shown .elementor-menu-cart__main {
    right: 0 !important;
    left: auto !important;
    transform: translateX(0) !important;
}

/* Ensure main cart items have the image on the left and text on the right in both Arabic (RTL) and English (LTR) */
body.rtl .elementor-menu-cart__product {
    direction: ltr !important;
}
body.rtl .elementor-menu-cart__product-name,
body.rtl .elementor-menu-cart__product-price {
    text-align: right !important;
}
/* ==========================================
   Cart Slider Header Bar
   ========================================== */
/* Hide Elementor's default close button completely */
.elementor-menu-cart__close-button {
    display: none !important;
}

/* Custom Cart Slider Header Bar */
.craftria-custom-cart-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #292c33 !important;
    padding: 16px 20px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    flex-shrink: 0 !important;
    direction: rtl !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Cart title + icon */
.craftria-cart-header-title {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    font-family: 'Tajawal', 'Cairo', sans-serif !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Shopping Cart icon wrapper */
.craftria-cart-icon-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.craftria-cart-header-title svg {
    width: 20px !important;
    height: 20px !important;
    fill: #ffffff !important;
    flex-shrink: 0 !important;
}

/* Cart item count badge */
.craftria-cart-header-title .craftria-cart-count {
    background: #ffffff !important;
    color: #292c33 !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    width: 15px !important;
    height: 15px !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: -6px !important;
    right: -7px !important;
    line-height: 1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
}

/* X close button */
.craftria-cart-close-x {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #f1f3f7 !important;
    color: #6A7282 !important;
    font-size: 30px !important;
    font-weight: 300 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.craftria-cart-close-x:hover {
    background: #e4e7eb !important;
    color: #1f2937 !important;
    transform: scale(1.04) !important;
}

/* Adjust the main container to account for the header */
.elementor-menu-cart--cart-type-side-cart .widget_shopping_cart_content {
    height: calc(100% - 67px) !important; /* Adjust for header height */
}

/* Facebook Button Styling */
.craftria-auth-facebook-btn {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    font-family: inherit;
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-input);
    border-radius: 8px;
}
.craftria-auth-facebook-btn svg {
    width: 20px;
    height: 20px;
}
.craftria-auth-facebook-btn:hover {
    background-color: #202024;
    border-color: #3a3a3c;
    transform: translateY(-1px);
}

/* Default styles for OTP buttons */
.craftria-auth-send-otp-btn,
.craftria-auth-resend-reset-otp-btn {
    background-color: #1e1e20;
    color: #ffffff;
    border: 1px solid #2d2d30;
}

/* Success Message default style */
.craftria-auth-success-msg {
    background-color: rgba(52, 199, 89, 0.08);
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: #34c759;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
    font-family: inherit;
    animation: craftriaErrorFadeIn 0.3s ease;
}

/* ==========================================
   Light Mode Overrides for Auth Tabs Widget
   ========================================== */
.light-mode .craftria-auth-container {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

.light-mode .craftria-auth-greeting h3 {
    color: var(--text-primary) !important;
}

.light-mode .craftria-auth-greeting p {
    color: var(--text-secondary) !important;
}

.light-mode .craftria-auth-form-group label {
    color: var(--text-primary) !important;
}

.light-mode .craftria-auth-input-wrapper {
    background-color: var(--bg-input) !important;
    border-color: var(--border-input) !important;
}

.light-mode .craftria-auth-input-wrapper:focus-within {
    border-color: var(--text-primary) !important;
}

.light-mode .craftria-auth-input-field {
    color: var(--text-primary) !important;
}

.light-mode .craftria-auth-input-field::placeholder {
    color: var(--text-muted) !important;
}

.light-mode .craftria-auth-pass-toggle {
    color: var(--text-muted) !important;
}

.light-mode .craftria-auth-pass-toggle:hover {
    color: var(--text-primary) !important;
}

.light-mode .craftria-auth-forgot-link,
.light-mode .craftria-auth-back-login {
    color: var(--text-secondary) !important;
}

.light-mode .craftria-auth-forgot-link:hover,
.light-mode .craftria-auth-back-login:hover {
    color: var(--text-primary) !important;
}

.light-mode .craftria-auth-submit-btn {
    background-color: var(--text-primary) !important;
    color: var(--bg-primary) !important;
}

.light-mode .craftria-auth-submit-btn:hover {
    background-color: var(--text-secondary) !important;
}

.light-mode .craftria-auth-separator {
    color: var(--text-muted) !important;
}

.light-mode .craftria-auth-separator::before,
.light-mode .craftria-auth-separator::after {
    border-bottom-color: var(--border-color) !important;
}

.light-mode .craftria-auth-separator span {
    color: var(--text-muted) !important;
}

.light-mode .craftria-auth-google-btn,
.light-mode .craftria-auth-facebook-btn {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-input) !important;
}

.light-mode .craftria-auth-google-btn:hover,
.light-mode .craftria-auth-facebook-btn:hover {
    background-color: var(--border-color) !important;
    border-color: var(--text-muted) !important;
}

.light-mode .craftria-auth-footer-toggle {
    color: var(--text-secondary) !important;
}

.light-mode .craftria-auth-toggle-link {
    color: var(--text-primary) !important;
}

.light-mode .craftria-auth-toggle-link:hover {
    opacity: 0.8;
}

.light-mode .craftria-auth-send-otp-btn,
.light-mode .craftria-auth-resend-reset-otp-btn {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-input) !important;
}

.light-mode .craftria-auth-send-otp-btn:hover,
.light-mode .craftria-auth-resend-reset-otp-btn:hover {
    background-color: var(--border-color) !important;
    border-color: var(--text-muted) !important;
}

.light-mode .craftria-auth-error-msg {
    background-color: rgba(255, 69, 58, 0.1) !important;
    border-color: rgba(255, 69, 58, 0.2) !important;
    color: #d32f2f !important;
}

.light-mode .craftria-auth-success-msg {
    background-color: rgba(52, 199, 89, 0.1) !important;
    border-color: rgba(52, 199, 89, 0.2) !important;
    color: #2e7d32 !important;
}
