/* style.css */

/* Gaya untuk image viewer */
.image-viewer {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    background-color: #f7f6f5;
}

.naskah-img {
    max-width: 100%;
    height: auto;
    opacity: 0; /* Mulai dengan gambar transparan */
    transition: opacity 0.5s ease-in-out; /* Transisi opacity selama 0.5 detik */
}

.naskah-img.loaded {
    opacity: 1; /* Gambar sepenuhnya terlihat saat dimuat */
}
/* Gaya untuk tabel data */
.table td:first-child {
    white-space: nowrap;
    width: 1px;
    padding-right: 15px;
}

.table {
    border: none;
}

.table td, 
.table th {
    padding: 3px;
    line-height: 1.3;
    vertical-align: top;
    border: none;
    text-align: justify; /* Tambahkan baris ini */
}
/* Gaya untuk kolom label (sel kiri) */
table td:first-child {
    min-width: 150px;  /* Menentukan lebar kolom label (tergantung panjang teks) */
    text-align: left;   /* Mengatur teks agar rata kiri */
}

.table td a {
    color: inherit; /* Mewarisi warna dari teks biasa di dalam sel */
    text-decoration: none; /* Menghilangkan garis bawah default pada link */
    transition: color 0.3s ease; /* Efek transisi warna yang halus */
}

.table td a:hover {
    color: #a0522d; /* Warna coklat saat dihover (sienna) */
}


.table-container {
    background-color: #fbfbfb;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.additional-content {
    background-color: white;
    padding: 15px;
    border: 1px solid  #ece8e6 ;
    display: flex; /* Tambahkan baris ini */
    justify-content: space-around; /* Tambahkan baris ini */
    align-items: center; /* Tambahkan baris ini, untuk memusatkan vertikal */
}

.additional-content i {
    margin: 0; /* Hapus margin default */
}


/* Gaya untuk tombol kembali */
.btn-primary {
    margin-top: 20px;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

/* Gaya untuk alert */
.alert {
    margin-top: 20px;
}

/* Styling tambahan (opsional) */
h4 {
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

.image-container {
    width: 100%;
    overflow: hidden; /* Menyembunyikan bagian gambar yang terkeluar */
    text-align: center;
    position: relative;
}

#image {
    max-width: 100%;
    transition: transform 0.25s ease; /* Animasi untuk transisi zoom/rotasi */
    transform-origin: center center; /* Titik rotasi berada di tengah gambar */
}

.controls {
    margin-top: 10px;
    text-align: center;
}

button {
    margin: 5px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  flex: 1;
}

footer {
    width: 100%;
    background-color: #f0f0f0;
    padding: 20px;
    margin-top: 50px;
}

