body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f8f9fa;
}

@font-face {
    font-family: 'Rosarivo';
    src: url('https://themes.googleusercontent.com/static/fonts/rosarivo/v1/OGdIq-p0tOtBN2VMVvO9W_esZW2xOQ-xsNqO47m55DA.woff') format('woff');
}

.container {
    width: 90%;
    max-width: 350px;
    background-color: #d3d3d3;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-top: 100px;
    z-index: 1;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 350px;
    background-image: url('../../img/top.png');
    background-size: cover;
    background-position: top center;
    z-index: 0;
}

.container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background-image: url('../../img/bottom.png');
    background-size: cover;
    background-position: bottom center;
    z-index: 0;
}

.card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    margin-bottom: 50px;
}

.card {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 400px;
    z-index: 100;
    background: #f1f1f15d;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.monospace {
    font-family: 'Courier New', Courier, monospace;
    color: #000;
    font-size: 14pt;
    z-index: 100;
    position: relative;
}

.text-name-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 310px;
    height: auto;
    padding: 0px;
    margin: 10px 0;
}


.name-text {
    font-size: 12pt;
    font-weight: 800;
    max-width: 100%;
    flex-shrink: 1;
    overflow: hidden;
    z-index: 100;
    position: relative;
}

.mid-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    margin: 10px 0;
}

.mid-wrapper p {
    margin: 10px 0;
}

.description-text {
    text-align: center;
    font-size: 12pt;
}

.description-text li {
    margin-bottom: 10px;
}

.description-text li>div {
    margin-right: 5px;
}

.description-text .fa-square-check {
    color: green;
}

.alamat-text {
    font-size: 12pt;
    overflow: hidden;
    text-align: justify;
}

.text {
    font-size: 12pt;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.footer-wrapper {
    height: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
}

.footer-text {
    font-size: 8pt;
    color: #000;
}

.published-date {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12pt;
    color: #000;
}

nav.navbar {
    display: flex;
    /* Menggunakan flexbox untuk navbar */
    justify-content: center;
    /* Menempatkan konten di tengah */
    position: fixed;
    top: 20px;
    background-color: #f1f1f1;
    padding: 10px 20px;
    border-radius: 50px;
    z-index: 1000;
    width: 100%;
    max-width: 350px;
    height: 50px;
}

nav.navbar a {
    color: #020202;
    text-decoration: none;
    margin: 0 20px;
}

.logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 5px;
    z-index: 100;
    position: relative;
}

.title {
    font-size: 12pt;
    font-weight: bold;
    margin-bottom: 5px;
    z-index: 100;
    position: relative;
}

.subtitle {
    font-size: 11pt;
    margin-bottom: 10px;
    font-weight: bold;
    z-index: 100;
    position: relative;
}

/* Custom */
.justify-content-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}



/* Responsif untuk perangkat kecil */
@media (max-width: 480px) {
    .modal-dialog {
        width: 100wh;
        /* Atur lebar modal sesuai dengan lebar kontainer */
        margin: auto;
        /* Memastikan modal tetap terpusat */
    }

    .container {
        max-height: 83vh;
        height: 100%;
        max-width: 100vw;
        margin-top: calc(2vh + 20%);
    }

    .credit {
        font-size: 10px;
    }

    .footer-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .footer-text {
        font-size: 10px;
    }

    nav.navbar {
        width: calc(100% - 40px);
        max-width: 100vw;
        top: calc(1rem + 5px);
        padding: 10px 20px;
        border-radius: 50px;
    }

    nav.navbar a {
        margin-top: 0;
        margin-bottom: 0;
        margin-right: calc(1rem + 50px);
        margin-left: auto;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .title {
        font-size: 11pt;
    }

    .subtitle {
        font-size: 10pt;
    }

    .card {
        height: 55vh;
        max-width: 100vw;
        width: 90%;
    }

    footer-wrapper {
        margin-top: auto;
        padding: calc(10px + 2%);
    }
}

.modal {
    padding: inherit;
}

.modal-dialog {
    width: 350px;
    /* Atur lebar modal sesuai dengan lebar kontainer */
    margin: auto;
    /* Memastikan modal tetap terpusat */
}

.modal-body {
    display: flex;
    flex-direction: column;
    /* Mengatur arah kolom */
    align-items: center;
    /* Memusatkan elemen secara horizontal */
    justify-content: center;
    /* Memusatkan elemen secara vertikal */
    max-height: 100%;

    /* Mengubah tinggi menjadi auto agar sesuai dengan konten */
}

.modal-content {
    border-radius: 0px;
    background-color: #d3d3d300;
    /* Tambahkan sudut melengkung jika diinginkan */
}

.modal-body .form-control {
    width: 100%;
    /* Membuat input mengisi lebar modal */
}

.modal-body .btn {
    margin-top: 10px;
    /* Memberikan jarak antara input dan tombol */
}

.loading {
    position: absolute; /* Supaya bisa menutupi card */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Background semi-transparent */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999; /* Supaya berada di atas konten lainnya */
}

.loading-bar {
    width: 80%; /* Lebar loading bar */
    height: 30px; /* Tinggi loading bar */
    background-color: #e0e0e0; /* Warna background bar */
    border-radius: 5px; /* Sudut bar */
    overflow: hidden; /* Menghindari overflow pada bar */
    position: relative; /* Untuk posisi relatif anak */
}

.progress {
    height: 100%; /* Tinggi sama dengan loading bar */
    width: 0%; /* Awalnya 0% */
    background-color: #76c7c0; /* Warna loading bar */
    transition: width 0.4s; /* Transisi untuk animasi */
}

#loadingText {
    margin-top: 10px; /* Jarak antara loading bar dan teks */
    font-size: 1.2em; /* Ukuran font */
}

.fs-10  {
   font-size: 1rem !important;
}
