/* Seller tabs styling: give inactive tabs a gentle secondary background and keep active tab prominent */
.seller-tabs .nav-link {
    border: none;
    margin: 4px;
    padding: 10px 18px;
    border-radius: 12px;
    background-color: #dee2e6;
    color: #333;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.seller-tabs .nav-link:hover {
    background-color: #adb5bd;
    color: #000;
}

.seller-tabs .nav-link.active {
    /* background-color: #0d6efd; */
    background-color: #6262A6;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(var(--theme-color), 0.4);
}

.tab-pane {
    margin-top: 20px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product option pill: adjust layout when only two icons are present */
.product-box .product-image .product-option.two-options {
    justify-content: center !important;
}

.product-box .product-image .product-option.two-options li {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

.product-box .product-image .product-option.two-options li a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-box .product-image .product-option.two-options li+li:after {
    left: 0 !important;
}

/* Product option pill for product-box-3: adjust layout when only two icons are present */

.product-box-3 .product-image .product-option.two-options {
    justify-content: center !important;
}

.product-box-3 .product-image .product-option.two-options li {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

.product-box-3 .product-image .product-option.two-options li a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-box-3 .product-image .product-option.two-options li+li:after {
    left: 0 !important;
}

/* Customer authentication pages */
.customer-auth-page {
    position: relative;
    overflow: hidden;
    padding: 48px 0 72px;
    background: linear-gradient(135deg, #f7fbf8 0%, #ffffff 48%, #f5f7fb 100%);
}

.customer-auth-page::after {
    display: none;
}

.customer-auth-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    gap: 40px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}

.customer-auth-visual {
    position: relative;
    min-height: 560px;
    padding: 42px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(13, 148, 96, 0.95), rgba(3, 84, 75, 0.95));
    color: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.customer-auth-visual::before {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    pointer-events: none;
}

.customer-auth-visual-content {
    position: relative;
    z-index: 1;
    max-width: 440px;
}

.customer-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.customer-auth-visual h2 {
    color: #fff;
    font-size: 38px;
    line-height: 1.15;
    margin-bottom: 14px;
}

.customer-auth-visual p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.7;
    max-width: 390px;
}

.customer-auth-visual img {
    position: absolute;
    right: 20px;
    bottom: 12px;
    width: min(62%, 430px);
    max-height: 330px;
    object-fit: contain;
    filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.22));
}

.customer-auth-benefits {
    position: absolute;
    left: 42px;
    right: 42px;
    bottom: 42px;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.customer-auth-benefits span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

.customer-auth-benefits i {
    color: #d9f99d;
}

.customer-auth-form-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 8px;
    padding: 34px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
}

.customer-auth-form-card .log-in-title {
    margin-bottom: 22px;
}

.customer-auth-form-card .log-in-title h3 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.customer-auth-form-card .log-in-title h4,
.customer-auth-form-card .log-in-title h5 {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.customer-auth-form-card .theme-form-floating .form-control {
    min-height: 56px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    border-radius: 8px;
    box-shadow: none;
}

.customer-auth-form-card .theme-form-floating .form-control:focus {
    border-color: var(--theme-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(13, 148, 96, 0.12);
}

.customer-auth-form-card .form-text-error {
    margin-top: 7px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
}

.customer-auth-form-card .alert {
    border-radius: 8px;
    border: 0;
    font-size: 14px;
}

.customer-auth-form-card .forgot-box {
    gap: 14px;
}

.customer-auth-form-card .remember-box label,
.customer-auth-form-card .forgot-password {
    font-size: 14px !important;
    line-height: 1.5;
}

.customer-auth-form-card .remember-box a,
.customer-auth-form-card .forgot-password,
.customer-auth-link {
    color: var(--theme-color);
    font-weight: 700;
}

.customer-auth-form-card .btn-animation {
    min-height: 50px;
    border-radius: 8px;
    font-weight: 700;
}

.customer-auth-form-card .other-log-in h6 {
    background: #fff !important;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.customer-auth-form-card .log-in-button ul {
    padding-left: 0;
}

.customer-auth-form-card .google-button {
    min-height: 50px;
    border: 1px solid #e2e8f0;
    border-radius: 8px !important;
    background: #fff !important;
    font-weight: 700;
}

.customer-auth-form-card .sign-up-box {
    padding-top: 18px;
    border-top: 1px solid #eef2f7;
}

.customer-auth-form-card .sign-up-box h4 {
    display: inline;
    margin-right: 6px;
}

.customer-auth-form-card .sign-up-box a {
    display: inline !important;
    color: var(--theme-color);
    font-weight: 800;
}

@media (max-width: 991px) {
    .customer-auth-card {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .customer-auth-visual {
        display: none;
    }
}

@media (max-width: 575px) {
    .customer-auth-page {
        padding: 28px 0 48px;
    }

    .customer-auth-form-card {
        padding: 24px 18px;
    }

    .customer-auth-form-card .log-in-title h3 {
        font-size: 24px;
    }

    .customer-auth-form-card .forgot-box {
        align-items: flex-start;
    }
}

.customer-auth-page .row {
    align-items: center;
}

.customer-auth-page .image-contain.customer-auth-visual {
    display: block;
}

.customer-auth-page .log-in-box.customer-auth-form-card {
    background: #fff;
}
