.text-indent {
    text-indent: 1.5em; /* Atur indentasi sebesar 1.5em */
}
.text-justify {
    text-align: justify;
}

.image-container {
    position: relative;
    width: 60%;
    padding-top: 50%; /* Ratio 4:3 (height will be 75% of width) */
    background-size: cover;
    background-position: center;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* Hide the img element itself */
}

.card-client {
    margin-top: 20px;
    position: relative;
    width: 100%;
    height: 8rem;
    overflow: hidden;
}

.card-client img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-client .card-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.card-client .card-title {
    margin: 0;
    font-size: 1.5rem; /* Adjust as needed */
}

.truncate-multi-line {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Jumlah maksimum baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.jarak-judul {
    min-height: 70px;
}

.custom-img-contain {
    height: 300px; /* Atur tinggi gambar */
    object-fit: cover; /* Menyesuaikan gambar dalam kontainer tanpa memotong */
    width: 100%; /* Pastikan gambar mengisi lebar kontainer */
}
.quantity-input {
    display: flex;
    align-items: center;
    justify-content: center;
}
.quantity-input button {
    width: 30px;
    height: 30px;
    font-size: 1.5rem;
}
.quantity-input input {
    width: 70px;
    text-align: center;
    margin: 0 10px;
    font-size: 1.25rem;
}
.background-box {
    width: 100%;
    height: 10rem;

    background-size: cover; /* Menyesuaikan ukuran gambar dengan ukuran div */
    background-position: center; /* Memposisikan gambar di tengah */
    background-repeat: no-repeat; /* Mencegah pengulangan gambar */
}
.card-footer {
    display: flex;
    justify-content: flex-end;
}
.card-footer .btn {
    margin-left: 5px;
}

.card-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 15px;
}
.image-card {
    width: 100%;
    height: 10vw; /* Sesuaikan dengan kebutuhan */
    object-fit: cover; /* Sesuaikan dengan kebutuhan */
}
.row-equal-height {
    display: flex;
    flex-wrap: wrap;
}
.row-equal-height > .col {
    display: flex;
    flex-direction: column;
}
.bottom-card {
    margin: 0 10px; /* Tambahkan jarak kanan dan kiri */
}
.parent-container {
    display: flex;
    justify-content: flex-end; /* Menempatkan elemen anak di sebelah kanan */
    align-items: center; /* Menempatkan elemen anak di tengah secara vertikal */
}
.carousel-item {
    height: 75vh; /* Adjust the height as needed */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.carousel-content {
    height: 100%;
    width: 100%;
}
.vertical-nav {
    width: 200px;
    background-color: #fff;
}
.vertical-nav .nav-link {
    color: #000;
}
.vertical-nav .nav-link:hover,
.vertical-nav .nav-link:focus {
    background-color: #06528a;
    color: #fff;
}
.vertical-nav .dropdown-menu {
    background-color: #06528a;
    color: #fff;
}
.vertical-nav .dropdown-item:hover,
.vertical-nav .dropdown-item:focus {
    background-color: #05385c;
    color: #fff;
}

.icon-container {
    position: relative;
    display: inline-block;
}
.icon-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
}
.custom-nav-link {
    color: #000;
    background-color: transparent;
    border: none;
}

.custom-nav-link:hover {
    color: #000 !important; /* Mengubah warna teks menjadi hitam saat hover */
}

.custom-nav-link.active {
    border: none;
    border-bottom: 2px solid #06528a !important; /* Border biru di bawah tab yang aktif */
    color: #06528a !important;
    background-color: transparent !important;
}

.form-control:focus {
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.384);
    border-color: #007bff;
}

.form-select:focus {
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.384);
    border-color: #007bff;
}

.form-check-input:checked {
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.384);
    border-color: #007bff;
}
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.384);
    border-color: #007bff;
}

.custom-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.custom-file-input {
    display: none;
}
.custom-file-label {
    cursor: pointer;
}
.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.product-card {
    background-color: white; /* Atau warna latar belakang yang diinginkan */
    border: 1px solid #ddd; /* Atau border yang diinginkan */
    border-radius: 8px; /* Membuat sudut rounded */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Efek bayangan */
    overflow: hidden; /* Untuk menjaga gambar tetap di dalam card */
    display: flex;
    flex-direction: column;
}

.product-card-body {
    padding: 16px; /* Ruang di sekitar konten teks */
    flex-grow: 1;
}

.product-card-footer {
    padding: 16px; /* Ruang di sekitar konten footer */
    text-align: center;
}

.background-img {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
}

.custom-select-wrapper {
    position: relative;
}
.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #06528a;
    color: #fff;
    border: none;
    width: 100%;
    padding-right: 30px; /* Space for the arrow */
}
.custom-select-wrapper::after {
    content: "\f078"; /* Font Awesome down arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #fff;
}
.custom-select option {
    color: #000; /* This will ensure the options' text color is black */
}

.input-container {
    position: relative;
    width: 100%; /* Anda bisa menyesuaikan lebar ini sesuai kebutuhan */
}
#citySelect {
    width: 100%;
}
datalist {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
}

/* Hapus spinner pada input number di Chrome, Safari, Edge, dan Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hapus spinner pada input number di Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

.btn-style {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    background-color: #06528a;
}

/* pesanan */

.margin-bottom-card {
    margin-bottom: 200px !important;  /* Ganti dengan margin yang diinginkan */
}

.sticky-div {
    position: sticky;
    top: 100px; /* Jarak dari bagian atas viewport saat menempel */
}