* {
  box-sizing: border-box;
}
body,
html {
  height: 100%;
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #f9fff9;
  color: #1b3e1b;
}
#loginScreen {
  display: flex;
  justify-content: center;
  /* align-items: center; */
  height: 100vh;
  /* background: #e6ede6;
  padding: 16px; */
}
/* #dashboardContainer{
  display: none; 
  padding: 20px;
} */
/* #loginCard {
  background-image: url(kua_logo.png);
  background-position: center;
  background-size: cover;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(3, 16, 4, 0.25);
  max-width: 420px;
  padding: 20px;
  text-align: center;
}
#loginCard h2 {
  margin-bottom: 16px;
  color: white;
  text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black,
    1px 1px 0 black;
} */


.container {
    display: flex;
    height: 100vh;
}

/* Kiri */
.left-side {
    flex: 2;
    background-color: #f5f5f5;
    padding: 30px;
    position: relative;
}

.left-side .logo {
    width: 80px;
}

.left-side h1, .left-side h2, .left-side h3, .left-side p {
    margin: 10px 0;
}

.bg-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0.9;
}

/* Kanan */
.right-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.login-box {
    width: 80%;
    max-width: 350px;
    text-align: center;
}

.logo-login {
    width: 60px;
}

.login-box h2 {
    margin: 10px 0 20px;
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.options {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* .btn {
    width: 100%;
    padding: 10px;
    background: #2e7d32;
    color: #fff;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
}

.btn:hover {
    background: #266129;
} */

header {
  background: #2e7d32;
  padding: 1rem 2rem;
  color: #fff;
  box-shadow: 0 4px 8px rgb(46 125 50 / 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-kua {
  height: 55px;
  width: auto;
}
#searchInput {
  max-width: 320px;
}
.file-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2e7d32;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}
.file-link:hover {
  color: #1b3e1b;
  text-decoration: underline;
}
.btn-icon {
  color: #2e7d32;
  font-size: 1.2rem;
  background: transparent;
  border: 0;
}
.btn-icon:hover {
  color: #1b3e1b;
}
.footer {
  background: #2e7d32;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}
.modal-body iframe {
  width: 100%;
  height: 70vh;
  border: 0;
}
/* Tabel dashboard */
#aktaTable {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* Supaya kolom punya lebar tetap */
}

#aktaTable th, #aktaTable td {
  text-align: center;
  vertical-align: middle;
  padding: 8px;
  border-bottom: 1px solid #ddd;
  word-wrap: break-word; /* Supaya teks panjang terpotong rapi */
}

#aktaTable th {
  background-color: #f1f1f1;
  font-weight: bold;
}

#aktaTable tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

#aktaTable tbody tr:hover {
  background-color: #eef7ee;
}

/* Kolom Dokumen - potong teks panjang */
/* Kolom dokumen rapi */
#aktaTable td.dokumen {
  display: flex;
  align-items: center;
  gap: 8px; /* jarak antar elemen */
  justify-content: center; /* ikon dan teks di tengah kolom */
}

#aktaTable td.dokumen i {
  color: green;
  cursor: pointer;
  font-size: 18px;
}

#aktaTable td.dokumen span {
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: middle;
}


@media (max-width: 767px) {
  header {
    justify-content: center;
  }
}

