/* ==========================================================================
   Home CSS - Custom styles for ShopeeCashback Homepage
   Theme Color: var(--color-3) (Orange)
   Design constraints: No :root / CSS variables used.
   ========================================================================== */

/* Two-column layout */
.bv-home-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
    /* margin-bottom: 50px; */
}

.bv-home-left {
    flex: 0 0 calc(75% - 15px);
    max-width: calc(75% - 15px);
    width: 100%;
}

.bv-home-right {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    width: 100%;
}

/* Box Section base styles */
.box-section {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    margin-bottom: 30px;
}

/* Banner Component */
.bv-banner {
    margin-bottom: 30px;
}

.bv-banner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.bv-banner-content {
    flex: 1;
}

.bv-banner-graphic {
    flex: 0 0 38%;
    max-width: 38%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bv-banner-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Banner Texts */
.bv-banner-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 16px 0;
}

.bv-title-line-1 {
    display: block;
    color: #0f172a;
    /* Dark Navy */
}

.bv-title-line-2 {
    display: block;
    color: var(--color-3);
    /* Primary Orange */
    margin-top: 4px;
}

.bv-banner-subtitle {
    font-size: 15px;
    color: #4b5563;
    /* Cool Gray */
    line-height: 1.6;
    margin: 0 0 28px 0;
    font-weight: 400;
}

/* Conversion form */
.bv-convert-form {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    width: 100%;
}

.bv-input-group {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 18px;
    flex: 1;
    transition: all 0.25s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.bv-input-group:focus-within,
.bv-input-group:hover {
    border-color: var(--color-3);
    box-shadow: 0 0 0 4px rgba(253, 47, 1, 0.12), inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.bv-input-icon {
    color: #94a3b8;
    margin-right: 12px;
    font-size: 22px !important;
    font-weight: bold;
    transform: rotate(-45deg);
}

.bv-convert-input {
    border: none !important;
    background: transparent !important;
    font-size: 15px;
    color: #1e293b;
    width: 100%;
    font-weight: 500;
    padding: 0 !important;
    margin: 0 !important;
}

.bv-convert-input::placeholder {
    color: #94a3b8;
}

/* Conversion button */
.bv-btn-convert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--color-3);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 26px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(253, 47, 1, 0.15);
}

.bv-btn-convert:hover {
    background-color: #d92500;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(253, 47, 1, 0.25);
}

.bv-btn-convert:active {
    transform: scale(0.98);
}

.bv-btn-icon {
    font-size: 20px !important;
    font-weight: bold;
    transform: rotate(-45deg);
}

/* Bottom features row */
.bv-banner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-top: 8px;
}

.bv-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bv-feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 20px !important;
    color: var(--color-3);
    background-color: #fff5f3;
    flex-shrink: 0;
}

.bv-feat-text {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

/* Results Section Component */

.bv-results-header {
    margin-bottom: 24px;
}

.bv-results-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.bv-results-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.bv-badge-status {
    font-size: 12px;
    font-weight: 700;
    color: #e47b4e;
    background-color: #fdf7f0;
    border: 1px solid rgb(246 235 211);
    padding: 4px 12px;
    border-radius: 20px;
}

.bv-results-subtitle {
    font-size: 14px;
    color: #4b5563;
    font-weight: 600;
    margin: 0;
}

.bv-results-list {
    display: flex;
    flex-direction: column;
}

.bv-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #f1f5f9;
    gap: 20px;
}

.bv-result-item:first-child {
    padding-top: 0;
}

.bv-result-item:last-child {
    border-bottom: none;
    padding-bottom: 8px;
}

.bv-result-item-main {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.bv-result-img-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    flex-shrink: 0;
}

.bv-result-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.bv-result-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.bv-result-product-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bv-result-link {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    word-break: break-all;
    font-weight: 500;
    width: fit-content;
}

.bv-result-link:hover {
    color: var(--color-3);
    text-decoration: underline;
}

.bv-result-item-meta {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;
}

.bv-result-commission {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
}

.bv-comm-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    justify-content: flex-end;
}

.bv-comm-icon {
    color: #ff2a74;
    font-size: 16px !important;
}

.bv-comm-values {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.bv-comm-amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-3);
}

.bv-comm-badge {
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
    background-color: #f0fdf4;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(22, 163, 74, 0.15);
}

.bv-btn-login-to-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1.5px solid var(--color-3);
    color: var(--color-3);
    background-color: transparent;
    font-weight: 700;
    font-size: 14.5px;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.bv-btn-login-to-buy span {
    font-size: 16px !important;
}

.bv-btn-login-to-buy:hover {
    background-color: rgba(253, 47, 1, 0.05);
    color: var(--color-3);
    box-shadow: 0 4px 12px rgba(253, 47, 1, 0.08);
}

.bv-btn-login-to-buy:active {
    transform: scale(0.98);
}

.bv-results-more {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.bv-btn-more-results {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #2b6cb0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.bv-btn-more-results span {
    font-size: 18px !important;
}

.bv-btn-more-results:hover {
    background-color: #f8fafc;
    border-color: #cbd5e0;
    color: #1a365d;
}

/* Steps Guide Component */

.bv-steps-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    margin: 0 0 24px 0;
    letter-spacing: 0.5px;
}

.bv-steps-container {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    gap: 15px;
}

.bv-step-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.bv-step-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bv-step-1-bg {
    background-color: #eff6ff;
}

.bv-step-2-bg {
    background-color: #fef2f2;
}

.bv-step-3-bg {
    background-color: #fff7ed;
}

.bv-step-icon-blue {
    color: #2563eb;
    font-size: 24px !important;
}

.bv-step-icon-red {
    color: #dc2626;
    font-size: 24px !important;
}

.bv-step-icon-orange {
    color: #ea580c;
    font-size: 24px !important;
}

.bv-step-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bv-step-title-text {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
}

.bv-step-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.bv-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    flex-shrink: 0;
}

.bv-step-arrow span {
    font-size: 20px !important;
    font-weight: bold;
}

/* Benefits Section Component */
.bv-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.bv-benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.bv-benefit-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bv-benefit-blue {
    background-color: #eff6ff;
    color: #2563eb;
}

.bv-benefit-blue span {
    color: #2563eb;
    font-size: 22px !important;
}

.bv-benefit-orange {
    background-color: #fff5f2;
    color: #ea580c;
}

.bv-benefit-orange span {
    color: #ea580c;
    font-size: 22px !important;
}

.bv-benefit-green {
    background-color: #f0fdf4;
    color: #16a34a;
}

.bv-benefit-green span {
    color: #16a34a;
    font-size: 22px !important;
}

.bv-benefit-purple {
    background-color: #faf5ff;
    color: #7c3aed;
}

.bv-benefit-purple span {
    color: #7c3aed;
    font-size: 22px !important;
}

.bv-benefit-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bv-benefit-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
}

.bv-benefit-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

/* Quick Guide Sidebar Widget */
.bv-guide-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 24px 0;
}

.bv-guide-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bv-guide-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.bv-guide-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff5f2;
    color: var(--color-3);
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}

.bv-guide-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bv-guide-step-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
}

.bv-guide-step-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

.bv-btn-guide-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1.5px solid var(--color-3);
    color: var(--color-3);
    background-color: transparent;
    font-weight: 700;
    font-size: 14px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.bv-btn-guide-detail:hover {
    background-color: rgba(253, 47, 1, 0.05);
    color: var(--color-3);
    box-shadow: 0 4px 12px rgba(253, 47, 1, 0.06);
}

.bv-btn-guide-detail:active {
    transform: scale(0.98);
}

/* FAQ Sidebar Widget */
.bv-faq-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
}

.bv-faq-list {
    list-style-type: disc;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bv-faq-list li {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.45;
    font-weight: 500;
}

.bv-link-faq-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2b6cb0;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bv-link-faq-detail span {
    font-size: 16px !important;
    transition: transform 0.2s ease;
}

.bv-link-faq-detail:hover {
    color: #1a365d;
}

.bv-link-faq-detail:hover span {
    transform: translateX(3px);
}

/* Cashback Wallet Sidebar Widget */
.bv-wallet-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
    text-align: center;
}

.bv-wallet-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.bv-wallet-lock-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #fff5f2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bv-wallet-lock-icon {
    color: var(--color-3);
    font-size: 32px !important;
}

.bv-wallet-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    width: 100%;
}

.bv-wallet-desc {
    font-size: 13.5px;
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.bv-btn-wallet-login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--color-3);
    color: #ffffff;
    font-weight: 700;
    font-size: 14.5px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.bv-btn-wallet-login:hover {
    background-color: #e02800;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(253, 47, 1, 0.2);
}

.bv-btn-wallet-login:active {
    transform: scale(0.98);
}

.bv-wallet-footer {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.bv-link-register {
    color: #2b6cb0;
    font-weight: 700;
    text-decoration: none;
}

.bv-link-register:hover {
    text-decoration: underline;
    color: #1a365d;
}

/* Zalo Support Sidebar Widget */
.bv-support-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.bv-support-desc {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.bv-support-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bv-btn-zalo-join {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    background-color: #0068ff;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    text-align: center;
    cursor: pointer;
}

.bv-btn-zalo-join:hover {
    background-color: #0056d6;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 104, 255, 0.2);
}

.bv-btn-zalo-join:active {
    transform: scale(0.98);
}

.bv-zalo-logo {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.bv-zalo-logo:hover {
    transform: rotate(8deg) scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .box-section {
        padding: 20px 16px;
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .bv-home-left,
    .bv-home-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .bv-home-layout {
        gap: 0px;
        margin-top: 15px;
    }

    /* Side-by-side title and graphic on mobile (matching Image 3) */
    .bv-banner-row {
        flex-direction: row;
        gap: 16px;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .bv-banner-content {
        flex: 0 0 65%;
        max-width: 65%;
    }

    .bv-banner-graphic {
        flex: 0 0 30%;
        max-width: 30%;
    }

    .bv-banner-img {
        max-height: 100px;
        width: auto;
        max-width: 100%;
        margin: 0 0 0 auto;
    }

    .bv-banner-title {
        font-size: 24px;
        text-align: left;
        margin: 0;
        line-height: 1.35;
        margin-bottom: 15px;
    }

    .bv-banner-subtitle {
        display: none;
        /* hidden on mobile matching mockup */
    }

    .bv-convert-form {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 10px;
    }

    .bv-input-group {
        padding: 10px 14px;
    }

    .bv-btn-convert {
        width: 100%;
        padding: 12px;
    }

    /* 4-column horizontal features grid with icon on top and text on bottom */
    .bv-banner-features {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        justify-content: stretch;
        width: 100%;
        margin-top: 16px;
    }

    .bv-feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    .bv-feat-icon {
        margin-bottom: 2px;
    }

    .bv-feat-text {
        font-weight: 700;
        color: #1e293b;
        line-height: 1.3;
        text-align: center;
    }

    /* Results mobile adjustments */
    .bv-result-item {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px 0;
    }

    .bv-result-item:first-child {
        padding-top: 0;
    }

    .bv-result-item:last-child {
        padding-bottom: 0;
    }

    .bv-result-item-main {
        width: 100%;
        gap: 16px;
    }

    .bv-result-img-wrapper {
        width: 60px;
        height: 60px;
    }

    .bv-result-info {
        gap: 4px;
    }

    .bv-result-product-title {
        font-size: 14px;
        line-height: 1.4;
    }

    .bv-result-link {
        display: none;
        /* hidden on mobile matching mockup */
    }

    .bv-result-item-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        width: 100%;
    }

    .bv-result-commission {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        width: 100%;
    }

    .bv-comm-label {
        margin-bottom: 0;
        justify-content: flex-start;
    }

    .bv-comm-values {
        justify-content: flex-end;
        gap: 8px;
    }

    .bv-comm-amount {
        font-size: 16px;
    }

    .bv-btn-login-to-buy {
        width: 100%;
        text-align: center;
        padding: 9px 12px;
    }

    /* Steps Mobile styles (matching Image 7) */
    .bv-steps-container {
        gap: 8px;
    }

    .bv-step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .bv-step-icon-wrap {
        width: 50px;
        height: 50px;
    }

    .bv-step-icon-wrap span {
        font-size: 20px !important;
    }

    .bv-step-text-wrap {
        align-items: center;
    }

    .bv-step-title-text {
        font-size: 12px;
        font-weight: 700;
        text-align: center;
    }

    .bv-step-desc {
        display: none;
        /* hidden on mobile matching mockup */
    }

    .bv-desktop-only {
        display: none !important;
    }

    .bv-step-arrow {
        margin-top: -24px;
        /* align arrow vertically with icons */
    }

    .bv-step-arrow span {
        font-size: 16px !important;
    }

    /* Benefits mobile adjustments */
    .bv-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Wallet mobile adjustments (matching Image 12) */
    .bv-wallet-title {
        text-align: left;
        margin-bottom: 16px;
    }

    .bv-wallet-body {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
    }

    .bv-wallet-lock-wrap {
        width: auto;
        height: auto;
        background-color: transparent;
        border-radius: 0;
        margin-top: 4px;
    }

    .bv-wallet-lock-icon {
        font-size: 28px !important;
    }

    .bv-wallet-content {
        align-items: flex-start;
        text-align: left;
        gap: 12px;
    }

    .bv-wallet-desc {
        /* font-size: 13px; */
        line-height: 1.4;
    }

    .bv-btn-wallet-login {
        width: auto;
        padding: 10px 20px;
        font-size: 13.5px;
    }

    .bv-wallet-footer {
        font-size: 12.5px;
    }
}

@media (max-width: 768px) {
    .bv-banner-content {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .bv-banner-graphic {
        display: none;
    }
}

@media (max-width: 576px) {
    .bv-banner-title {
        font-size: 19px;
    }

    .bv-banner-img {
        max-height: 80px;
    }

    .bv-banner-features {
        gap: 12px;
    }

    /* Benefits mobile adjustments */
    .bv-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bv-feat-text {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .box-section {
        padding: 20px 12px;
    }

    .bv-feat-text {
        font-size: 10px;
    }
}

.bv-wallet-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px 15px;
}

.bv-wallet-widget-header .bv-wallet-title {
    margin-bottom: 0;
}

.bv-wallet-widget-header .bv-link-detail {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
}

.bv-wallet-logged-in-body {
    display: block;
}

.bv-wallet-logged-in-body .wallet-balance-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

.bv-wallet-logged-in-body .wallet-balance-amount {
    font-size: 24px;
    font-weight: bold;
    color: #ee4d2d;
    margin-bottom: 16px;
}

.bv-wallet-logged-in-body .wallet-actions {
    display: flex;
    gap: 8px;
}

.bv-wallet-logged-in-body .bv-btn-withdraw {
    /* flex: 1; */
    text-align: center;
    background-color: #ee4d2d;
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #ee4d2d;
}

.bv-wallet-logged-in-body .bv-btn-history {
    flex: 1;
    text-align: center;
    background-color: #fff;
    color: #374151;
    padding: 8px 10px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #d1d5db;
}

/* ==========================================================================
   Login Modal Styles
   ========================================================================== */
.bv-login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bv-login-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.bv-login-modal-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 40px;
    max-width: 480px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.bv-login-modal-overlay.open .bv-login-modal-card {
    transform: scale(1);
    opacity: 1;
}

.bv-login-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.bv-login-modal-close:hover {
    color: #111827;
    background-color: #f3f4f6;
    transform: rotate(90deg);
}

.bv-login-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin: 0 0 8px 0;
}

.bv-login-modal-subtitle {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.bv-login-modal-fast-title {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-align: center;
    margin-bottom: 16px;
}

.bv-login-modal-social-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.bv-login-modal-zalo-wrapper {
    position: relative;
    flex: 1.2;
}

.bv-login-modal-zalo-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4d00;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(255, 77, 0, 0.2);
}

.bv-login-modal-btn-zalo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #0068ff;
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    height: 48px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    width: 100%;
}

.bv-login-modal-btn-zalo:hover {
    background-color: #0056d6;
    transform: translateY(-1px);
}

.bv-login-modal-btn-zalo:active {
    transform: translateY(0);
}

.bv-login-modal-btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #ffffff;
    color: #374151 !important;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    height: 48px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
}

.bv-login-modal-btn-social:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.bv-login-modal-btn-social:active {
    transform: translateY(0);
}

.bv-login-modal-social-icon-svg {
    width: 20px;
    height: 20px;
    display: block;
}

.bv-login-modal-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 24px;
}

.bv-login-modal-divider::before,
.bv-login-modal-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.bv-login-modal-divider span {
    padding: 0 12px;
    font-weight: 500;
}

.bv-login-modal-form-group {
    margin-bottom: 16px;
}

.bv-login-modal-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    padding: 0 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 48px;
}

.bv-login-modal-input-wrap:focus-within {
    border-color: #ff4d00;
    box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.bv-login-modal-input-wrap .material-symbols-outlined {
    color: #9ca3af;
    font-size: 20px;
    margin-right: 10px;
    user-select: none;
}

.bv-login-modal-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0;
    font-size: 14px;
    color: #111827;
    background: transparent;
    height: 100%;
    width: 100%;
}

.bv-login-modal-input-wrap input::placeholder {
    color: #9ca3af;
}

.bv-login-modal-toggle-password {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: color 0.2s;
}

.bv-login-modal-toggle-password:hover {
    color: #4b5563;
}

.bv-login-modal-toggle-password .material-icons-outlined {
    margin-right: 0;
}

.bv-login-modal-remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.bv-login-modal-remember-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
    user-select: none;
}

.bv-login-modal-remember-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ff4d00;
    cursor: pointer;
}

.bv-login-modal-forgot-link {
    font-size: 13px;
    color: #0068ff;
    text-decoration: none;
    font-weight: 500;
}

.bv-login-modal-forgot-link:hover {
    text-decoration: underline;
}

.bv-login-modal-btn-submit {
    width: 100%;
    background-color: #ff4d00;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    height: 48px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.15);
}

.bv-login-modal-btn-submit:hover {
    background-color: #e64500;
}

.bv-login-modal-btn-submit:active {
    transform: scale(0.99);
}

.bv-login-modal-btn-submit:disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}

.bv-login-modal-register-prompt {
    font-size: 14px;
    text-align: center;
    color: #4b5563;
    margin-top: 20px;
}

.bv-login-modal-register-prompt a {
    color: #0068ff;
    text-decoration: none;
    font-weight: 600;
}

.bv-login-modal-register-prompt a:hover {
    text-decoration: underline;
}

.bv-login-modal-secure-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    margin-top: 24px;
    border-top: 1px solid #f3f4f6;
    padding-top: 16px;
}

.bv-login-modal-secure-footer .material-symbols-outlined {
    font-size: 16px;
    color: #9ca3af;
}

.bv-login-modal-error-alert {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #b91c1c;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.5;
}

body.stop-scroll {
    overflow: hidden;
}

@media (max-width: 576px) {
    .bv-login-modal-card {
        padding: 30px 24px;
    }
    
    .bv-login-modal-social-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .bv-login-modal-zalo-wrapper {
        flex: auto;
    }
}