@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 4));
    }
}

.slider {
    background: white;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.slider::before,
.slider::after {
    content: "";
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

.slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(250px * 14);
}

.slide {
    height: 100px;
    width: 250px;
}

.nav-tabs-custom .nav-link {
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.nav-tabs-custom .nav-link.active {
    color: #5a52f6;
    position: relative;
}

.nav-tabs-custom .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #5a52f6;
}

.nav-tabs-custom .nav-link i {
    font-size: 18px;
}

.table-custom th,
.table-custom td {
    text-align: center;
    vertical-align: middle;
}

.rating {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 2rem;
}

.rating .emoji {
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.rating .emoji:hover {
    transform: scale(1.3);
}

.rating .emoji.selected {
    transform: scale(1.3);
    /* Zoom hanya pada emoji yang dipilih */
    color: #007bff;
    /* Ubah warna pada emoji yang dipilih */
    opacity: 1;
}

.rating .emoji:not(.selected) {
    opacity: 0.5;
    /* Kurangi opacity untuk emoji yang tidak dipilih */
}

.tooltip .tooltip-inner {
    font-size: 10px !important; /* Ukuran teks tooltip */
    padding: 5px 10px; /* Sesuaikan padding agar tidak terlalu besar */
    bottom: -30px; /* Posisikan tooltip di bawah emoji */
    background-color: black;
    color: white;
    white-space: nowrap;
    transition: opacity 0.3s;
}

::placeholder {
    font-size: 12px; /* Sesuaikan ukuran teks placeholder */
    color: gray; /* Opsional: Ubah warna agar lebih soft */
    opacity: 1; /* Pastikan placeholder tetap terlihat jelas */
}

.popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    /* Latar belakang gelap */
    z-index: 9999;
    /* Pastikan berada di atas elemen lain */
}

.popup-content {
    padding: 20px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
}
.close_btn {
    font-size: 12px;
    line-height: 15px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 300;
    background: #747474;
    padding: 5px 20px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px #4b4b4b; /* Bayangan bawah untuk efek tombol */
    transition: all 0.2s ease-in-out;
  }
  
  .close_btn:active {
    box-shadow: 0 2px #515151; /* Bayangan lebih kecil saat ditekan */
    transform: translateY(2px); /* Tombol turun sedikit */
  }
  
  .close_btn:hover {
    color: #fff;
    background: #676767;
  }
.submit_btn {
    font-size: 14px;
    line-height: 30px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
    background: #00b324;
    padding: 5px 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px #008b13; /* Bayangan bawah untuk efek tombol */
    transition: all 0.2s ease-in-out;
  }
  
  .submit_btn:active {
    box-shadow: 0 2px #008b13; /* Bayangan lebih kecil saat ditekan */
    transform: translateY(2px); /* Tombol turun sedikit */
  }
  
  .submit_btn:hover {
    color: #fff;
  background: #00ef24;
  }
#open-admin-modal {
    display: none;
}

.is-invalid {
    border: 1px solid red;
    background-color: #ffe6e6;
}
.text-danger {
    font-size: 14px;
}
