@import '_content/BlazorDateRangePicker/BlazorDateRangePicker.iitr8bszy4.bundle.scp.css';
@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* /Components/Pages/Shopedia/_OfferCard.razor.rz.scp.css */
/* Kartu penawaran Shopedia */
.shopedia-card[b-6he9l2mrgo] {
    position: relative;
    padding-bottom: 1px; /* ruang untuk tombol di bawah kartu */
}

    .shopedia-card .card[b-6he9l2mrgo] {
        border-radius: .25rem;
        border: 1px solid #e5e5e5;
        transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    }

    .shopedia-card:hover .card[b-6he9l2mrgo] {
        transform: translateY(-2px);
        box-shadow: 0 2px 8px rgba(0,0,0,.15);
        border-color: #ee4d2d; /* warna oranye khas Shopedia */
        z-index: 2;
    }

/* Area gambar dengan tinggi berbasis persentase lebar kartu */
.ratio-half[b-6he9l2mrgo] {
    position: relative;
    width: 100%;
    padding-top: 15%; /* tinggi area gambar = 15% dari lebar kontainer */
    overflow: hidden;
}

/* Isi kontainer memenuhi area agar bisa terpotong (clipped) */
.ratio-half > *[b-6he9l2mrgo] {
    position: absolute;
    inset: 0;
}

/* Posisi gambar di bawah agar pemotongan dominan terjadi dari atas */
.ratio-half img[b-6he9l2mrgo] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom; /* prioritaskan bagian bawah terlihat */
}

/* Tombol produk serupa */
.shopedia-more-btn[b-6he9l2mrgo] {
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: 0; 
    margin-top: 0;
    height: 30px;
    line-height: 30px;
    background: #ee4d2d;
    color: #fff;
    font-size: .85rem;
    text-align: center;
    border-radius: 0 0 .25rem .25rem;
    border: 1px solid #ee4d2d;
    opacity: 0;
    pointer-events: none;
    transition: opacity .12s ease;
    z-index: 5; /* pastikan di atas kartu lain */
}

    /* Tampilkan tombol saat hover pada kartu atau tombol itu sendiri */
    .shopedia-card:hover .shopedia-more-btn[b-6he9l2mrgo],
    .shopedia-more-btn:hover[b-6he9l2mrgo] {
        opacity: 1;
        pointer-events: auto;
    }

/* Pemotongan teks dua baris */
.line-clamp-2[b-6he9l2mrgo] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Harga utama */
.price-main[b-6he9l2mrgo] {
    color: #ee4d2d;
    font-weight: 600;
    font-size: 1.05rem;
}

/* Badge bintang */
.badge-star[b-6he9l2mrgo] {
    background: #fb6433;
    font-size: .625rem;
    color: #fff;
}

/* Badge "Pilih Lokal" */
.badge-pilih-lokal[b-6he9l2mrgo] {
    display: inline-block;
    font-size: .625rem;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 2px;
    border: 1px solid #ee4d2d;
    color: #ee4d2d;
    white-space: nowrap; /* cegah teks terbungkus */
    max-width: max-content;
}

/* Teks ekstra kecil */
.text-xs[b-6he9l2mrgo] {
    font-size: .75rem;
}


/* Pembungkus agar badge MT & AT sejajar rapi */
.transmission-badges[b-6he9l2mrgo] {
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
    margin-bottom: 4px;
}

/* Gaya dasar badge transmisi */
.badge-trans[b-6he9l2mrgo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 2px 6px;
    font-size: .625rem;
    font-weight: 600;
    border-radius: 3px;
    line-height: 1;
    white-space: nowrap;
    transition: .15s;
}

    /* Transmisi otomatis (AT) */
    .badge-trans.at[b-6he9l2mrgo] {
        background: #ffffff;
        border: 1px solid #ee4d2d;
        color: #ee4d2d;
    }

    /* Transmisi manual (MT) */
    .badge-trans.mt[b-6he9l2mrgo] {
        background: #ffffff;
        border: 1px solid #007bff;
        color: #007bff;
    }


/* Badge jenis sewa */
.rental-type-badges[b-6he9l2mrgo] {
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
}

/* Gaya dasar badge sewa */
.badge-rental[b-6he9l2mrgo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 2px 6px;
    font-size: .625rem;
    font-weight: 600;
    border-radius: 3px;
    line-height: 1;
    white-space: nowrap;
    transition: .15s;
}

    /* Hijau lembut – PerDay */
    .badge-rental.perday[b-6he9l2mrgo] {
        background: #d9f5e5;
        border-color: #86d3ac;
        color: #0c8a58;
    }

    /* Biru lembut – DropOff */
    .badge-rental.dropoff[b-6he9l2mrgo] {
        background: #e2eeff;
        border-color: #7fb3ff;
        color: #1a6ed8;
    }

    /* Efek hover untuk badge transmisi & sewa */
    .badge-trans:hover[b-6he9l2mrgo],
    .badge-rental:hover[b-6he9l2mrgo] {
        filter: brightness(1.05);
        transform: translateY(-1px);
        box-shadow: 0 1px 4px rgba(0,0,0,.12);
    }
/* /Components/Pages/Shopedia/_OfferTable.razor.rz.scp.css */
/*_VehicleResult.razor.css*/
.shopedia-card[b-vt1h6swnqo] {
    position: relative;
    padding-bottom: 1px; /* ruang buat tombol di bawah card */
}

    .shopedia-card .card[b-vt1h6swnqo] {
        border-radius: .25rem;
        border: 1px solid #e5e5e5;
        transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    }

    .shopedia-card:hover .card[b-vt1h6swnqo] {
        transform: translateY(-2px);
        box-shadow: 0 2px 8px rgba(0,0,0,.15);
        border-color: #ee4d2d; /* shopedia orange */
        z-index: 2;
    }

/* TOMBOL PRODUK SERUPA */
.shopedia-more-btn[b-vt1h6swnqo] {
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: 0; /* tadinya top:100% + margin-top -> sekarang nempel bawah */
    margin-top: 0;
    height: 30px;
    line-height: 30px;
    background: #ee4d2d;
    color: #fff;
    font-size: .85rem;
    text-align: center;
    border-radius: 0 0 .25rem .25rem;
    border: 1px solid #ee4d2d;
    opacity: 0;
    pointer-events: none;
    transition: opacity .12s ease;
    z-index: 5; /* pastikan di atas card lain */
}

    /* tombol muncul kalau hover card ATAU hover tombol-nya sendiri */
    .shopedia-card:hover .shopedia-more-btn[b-vt1h6swnqo],
    .shopedia-more-btn:hover[b-vt1h6swnqo] {
        opacity: 1;
        pointer-events: auto;
    }

.line-clamp-2[b-vt1h6swnqo] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-main[b-vt1h6swnqo] {
    color: #ee4d2d;
    font-weight: 600;
    font-size: 1.05rem;
}

.badge-star[b-vt1h6swnqo] {
    background: #fb6433;
    font-size: .625rem;
    color: #fff;
}

.badge-pilih-lokal[b-vt1h6swnqo] {
    display: inline-block;
    font-size: .625rem;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 2px;
    border: 1px solid #ee4d2d;
    color: #ee4d2d;
    white-space: nowrap; /* mencegah text wrap */
    max-width: max-content;
}

.text-xs[b-vt1h6swnqo] {
    font-size: .75rem;
}


/* wrapper agar badge MT & AT rapi sejajar */
.transmission-badges[b-vt1h6swnqo] {
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
    margin-bottom: 4px;
}

/* badge dasar */
.badge-trans[b-vt1h6swnqo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 2px 6px;
    font-size: .625rem;
    font-weight: 600;
    border-radius: 3px;
    line-height: 1;
    white-space: nowrap;
    transition: .15s;
}

    /* AUTOMATIC */
    .badge-trans.at[b-vt1h6swnqo] {
        background: #ffffff;
        border: 1px solid #ee4d2d;
        color: #ee4d2d;
    }

    /* MANUAL */
    .badge-trans.mt[b-vt1h6swnqo] {
        background: #ffffff;
        border: 1px solid #007bff;
        color: #007bff;
    }


.rental-type-badges[b-vt1h6swnqo] {
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
}

.badge-rental[b-vt1h6swnqo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 2px 6px;
    font-size: .625rem;
    font-weight: 600;
    border-radius: 3px;
    line-height: 1;
    white-space: nowrap;
    transition: .15s;
}

    /* SOFT GREEN – PerDay */
    .badge-rental.perday[b-vt1h6swnqo] {
        background: #d9f5e5;
        border-color: #86d3ac;
        color: #0c8a58;
    }

    /* SOFT BLUE – DropOff */
    .badge-rental.dropoff[b-vt1h6swnqo] {
        background: #e2eeff;
        border-color: #7fb3ff;
        color: #1a6ed8;
    }

    .badge-trans:hover[b-vt1h6swnqo],
    .badge-rental:hover[b-vt1h6swnqo] {
        filter: brightness(1.05);
        transform: translateY(-1px);
        box-shadow: 0 1px 4px rgba(0,0,0,.12);
    }
/* /Components/Pages/Shopedia/_VehicleResult.razor.rz.scp.css */
/* Kartu penawaran Shopedia */
.shopedia-card[b-j9y2sn5nou] {
    position: relative;
    padding-bottom: 1px; /* ruang untuk tombol di bawah kartu */
}

    .shopedia-card .card[b-j9y2sn5nou] {
        border-radius: .25rem;
        border: 1px solid #e5e5e5;
        transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    }

    .shopedia-card:hover .card[b-j9y2sn5nou] {
        transform: translateY(-2px);
        box-shadow: 0 2px 8px rgba(0,0,0,.15);
        border-color: #ee4d2d; /* warna oranye khas Shopedia */
        z-index: 2;
    }

/* Area gambar dengan tinggi berbasis persentase lebar kartu */
.ratio-half[b-j9y2sn5nou] {
    position: relative;
    width: 100%;
    padding-top: 15%; /* tinggi area gambar = 15% dari lebar kontainer */
    overflow: hidden;
}

    /* Isi kontainer memenuhi area agar bisa terpotong (clipped) */
    .ratio-half > *[b-j9y2sn5nou] {
        position: absolute;
        inset: 0;
    }

    /* Posisi gambar di bawah agar pemotongan dominan terjadi dari atas */
    .ratio-half img[b-j9y2sn5nou] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: bottom; /* prioritaskan bagian bawah terlihat */
    }

/* Tombol produk serupa */
.shopedia-more-btn[b-j9y2sn5nou] {
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: 0;
    margin-top: 0;
    height: 30px;
    line-height: 30px;
    background: #ee4d2d;
    color: #fff;
    font-size: .85rem;
    text-align: center;
    border-radius: 0 0 .25rem .25rem;
    border: 1px solid #ee4d2d;
    opacity: 0;
    pointer-events: none;
    transition: opacity .12s ease;
    z-index: 5; /* pastikan di atas kartu lain */
}

    /* Tampilkan tombol saat hover pada kartu atau tombol itu sendiri */
    .shopedia-card:hover .shopedia-more-btn[b-j9y2sn5nou],
    .shopedia-more-btn:hover[b-j9y2sn5nou] {
        opacity: 1;
        pointer-events: auto;
    }

/* Pemotongan teks dua baris */
.line-clamp-2[b-j9y2sn5nou] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Harga utama */
.price-main[b-j9y2sn5nou] {
    color: #ee4d2d;
    font-weight: 600;
    font-size: 1.05rem;
}

/* Badge bintang */
.badge-star[b-j9y2sn5nou] {
    background: #fb6433;
    font-size: .625rem;
    color: #fff;
}

/* Badge "Pilih Lokal" */
.badge-pilih-lokal[b-j9y2sn5nou] {
    display: inline-block;
    font-size: .625rem;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 2px;
    border: 1px solid #ee4d2d;
    color: #ee4d2d;
    white-space: nowrap; /* cegah teks terbungkus */
    max-width: max-content;
}

/* Teks ekstra kecil */
.text-xs[b-j9y2sn5nou] {
    font-size: .75rem;
}


/* Pembungkus agar badge MT & AT sejajar rapi */
.transmission-badges[b-j9y2sn5nou] {
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
    margin-bottom: 4px;
}

/* Gaya dasar badge transmisi */
.badge-trans[b-j9y2sn5nou] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 2px 6px;
    font-size: .625rem;
    font-weight: 600;
    border-radius: 3px;
    line-height: 1;
    white-space: nowrap;
    transition: .15s;
}

    /* Transmisi otomatis (AT) */
    .badge-trans.at[b-j9y2sn5nou] {
        background: #ffffff;
        border: 1px solid #ee4d2d;
        color: #ee4d2d;
    }

    /* Transmisi manual (MT) */
    .badge-trans.mt[b-j9y2sn5nou] {
        background: #ffffff;
        border: 1px solid #007bff;
        color: #007bff;
    }


/* Badge jenis sewa */
.rental-type-badges[b-j9y2sn5nou] {
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
}

/* Gaya dasar badge sewa */
.badge-rental[b-j9y2sn5nou] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 2px 6px;
    font-size: .625rem;
    font-weight: 600;
    border-radius: 3px;
    line-height: 1;
    white-space: nowrap;
    transition: .15s;
}

    /* Hijau lembut – PerDay */
    .badge-rental.perday[b-j9y2sn5nou] {
        background: #d9f5e5;
        border-color: #86d3ac;
        color: #0c8a58;
    }

    /* Biru lembut – DropOff */
    .badge-rental.dropoff[b-j9y2sn5nou] {
        background: #e2eeff;
        border-color: #7fb3ff;
        color: #1a6ed8;
    }

    /* Efek hover untuk badge transmisi & sewa */
    .badge-trans:hover[b-j9y2sn5nou],
    .badge-rental:hover[b-j9y2sn5nou] {
        filter: brightness(1.05);
        transform: translateY(-1px);
        box-shadow: 0 1px 4px rgba(0,0,0,.12);
    }
/* /Components/Shared/ActionRow.razor.rz.scp.css */
.table-menu[b-cwbbotazix] {
    display: none;
    border: 1px solid #312f2f;
    border-radius: var(--vz-border-radius) !important;
}


tr:hover td .table-menu[b-cwbbotazix], tr:hover th .table-menu[b-cwbbotazix] {
    display: inline;
    float: left;
    right: 20px;
    position: absolute;
}


.table-menu-active[b-cwbbotazix] {
    display: inline;
    float: right;
}

.table[b-cwbbotazix] {
    position: relative;
}
