body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f7fa;
  margin: 0;
  padding: 0;
  color: #333;
}

body.dark-mode {
  background-color: #1a1a1a;
  color: #f5f5f5;
}

/* HEADER */
.header {
  background-color: #10b981;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.judul {
  margin: 0;
  font-size: 1.5rem;
}

nav button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

/* MENU */
#menuList {
  position: absolute;
  right: 1rem;
  top: 4rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: none;
  z-index: 100;
}

body.dark-mode #menuList {
  background-color: #333;
  color: #f5f5f5;
}

#menuList li {
  list-style: none;
  padding: 0.5rem 1rem;
}

#menuList li a {
  text-decoration: none;
  color: #10b981;
}

body.dark-mode #menuList li a {
  color: #86efac;
}

/* MAIN */
main {
  padding: 2rem;
}

/* INPUT PENCARIAN */
input[type="text"]#searchInput {
  padding: 0.5rem 1rem;
  width: 100%;
  max-width: 400px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.long-search {
  width: 300px;
  max-width: 90vw;
}

body.dark-mode input[type="text"]#searchInput {
  background-color: #2c2c2c;
  color: #f5f5f5;
  border-color: #555;
}

/* DOA */
.doa {
  background-color: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

body.dark-mode .doa {
  background-color: #2c2c2c;
  box-shadow: 0 4px 6px rgba(255,255,255,0.05);
}

.doa h3 {
  margin: 0 0 0.5rem;
  color: #047857;
}

body.dark-mode .doa h3 {
  color: #6ee7b7;
}

.doa .arab {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 1.5rem;
  direction: rtl;
  text-align: right;
  color: #1e293b;
}

body.dark-mode .doa .arab {
  color: #cbd5e1;
}

.doa p {
  margin: 0.5rem 0;
}

.doa button {
  margin-top: 1rem;
  padding: 0.4rem 0.8rem;
  border: none;
  border-radius: 6px;
  background-color: #facc15;
  cursor: pointer;
  font-size: 0.9rem;
}

body.dark-mode .doa button {
  background-color: #fde68a;
  color: #1a1a1a;
}

/* BERITA */
.berita {
  background-color: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

body.dark-mode .berita {
  background-color: #2c2c2c;
  color: #f5f5f5;
  box-shadow: 0 4px 6px rgba(255,255,255,0.05);
}

.berita h3 {
  margin: 0 0 0.5rem;
  color: #047857;
}

body.dark-mode .berita h3 {
  color: #6ee7b7;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #10b981;
  color: white;
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* BUTTONS */
button#darkModeBtn, button#loginBtn {
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  background-color: #047857;
  color: white;
  cursor: pointer;
}

body.dark-mode button#darkModeBtn, body.dark-mode button#loginBtn {
  background-color: #059669;
}

/* LOGIN PAGE */
.login-page {
  background: linear-gradient(to right, #10b981, #34d399);
  font-family: 'Poppins', sans-serif;
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.login-container h2 {
  margin-bottom: 1rem;
  color: #10b981;
}

.login-container input {
  width: 100%;
  padding: 0.6rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.login-container button {
  width: 100%;
  padding: 0.6rem;
  margin: 0.5rem 0;
  background-color: #10b981;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.login-container button:hover {
  background-color: #059669;
}

/* UTILITAS */
.hidden {
  display: none;
}
