body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #fff8e1;
  color: #2e2e2e;
  margin: 0;
  padding: 30px 20px;
}

h1 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: #4a3c31;
}

h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #6b5b3c;
}

form {
  max-width: 600px;
  margin: 0 auto 30px;
}

label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

input[type="text"],
input[type="date"],
select {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 20px;
}

button {
  background-color: #a1866f;
  border: none;
  color: white;
  padding: 12px 25px;
  font-size: 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(161, 134, 111, 0.4);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover,
button:focus {
  background-color: #806a4a;
  transform: scale(1.03);
  outline: none;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 10px 0 30px;
}

#results {
  max-width: 900px;
  margin: 40px auto;
  background: #f9f0e5;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.results h3 {
  margin-bottom: 10px;
  color: #4a3c31;
}

.results p {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.results ul {
  padding-left: 20px;
  margin-top: 15px;
}

.results li {
  margin-bottom: 6px;
}

.no-result {
  text-align: center;
  color: #6b5b3c;
  font-style: italic;
}

.note {
  margin-top: 20px;
  font-size: 1rem;
  color: #6b5b3c;
}

.image-box {
  max-width: 512px;
  margin: 0 auto 30px;
  text-align: center;
}

.image-box img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #d9c7a5;
}

.footer {
  text-align: center;
  margin-top: 40px;
  color: #7a6549;
  font-size: 0.95rem;
}

#adsense-container {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: center;
  padding: 20px 10px;
  border: 1px solid #d9c7a5;
  border-radius: 12px;
  background: #fff8e1;
  box-shadow: 0 4px 10px rgba(161, 134, 111, 0.2);
  font-size: 0.9rem;
  color: #7a6549;
  user-select: none;
}

#article {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
  padding: 20px 10px;
  border: 1px solid #d9c7a5;
  border-radius: 12px;
  background: #fff8e1;
  box-shadow: 0 4px 10px rgba(161, 134, 111, 0.2);
  font-size: 0.95rem;
  color: #7a6549;
  user-select: none;
}

/* Kalenteri */
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.day-header {
  font-weight: bold;
  background: #d9c7a5;
  color: #4a3c31;
  text-align: center;
  padding: 15px 0;
  font-size: 1.2rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.day-header.sunday {
  background-color: #ffc4c4;
}

.day-header.friday {
  background-color: #c8efd4;
}

.day {
  background: #fff;
  border-radius: 10px;
  padding: 18px 10px;
  font-size: 1.4rem;
  box-shadow: 0 5px 10px rgba(169, 141, 103, 0.2);
  color: #3e3e3e;
  position: relative;
  text-align: center;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.3s ease;
}

.day:hover {
  box-shadow: 0 8px 16px rgba(169, 141, 103, 0.3);
}

.sunday {
  background-color: #ffe0e0 !important;
}

.friday {
  background-color: #e0f5e9 !important;
}

.pasaran {
  font-size: 1.1rem;
  color: #6b5b3c;
  margin-top: 6px;
  font-weight: 600;
}

.jawa-day {
  font-size: 0.9rem;
  color: #9c8a6f;
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-weight: 600;
}

.today {
  background: #fffbcc !important;
  border: 3px solid #e6c200;
  box-shadow: 0 8px 14px rgba(230, 194, 0, 0.4);
}

.holiday-date {
  color: #d32f2f;
  font-weight: 700;
}

.remarks {
  max-width: 900px;
  margin: 30px auto 0;
  padding: 15px 20px;
  background: #f9f0e5;
  border-left: 4px solid #a1866f;
  border-radius: 8px;
  font-size: 1.2rem;
  color: #4a3c31;
}

.remarks .title {
  font-weight: bold;
  margin-bottom: 10px;
}

.remarks ul {
  margin: 0;
  padding-left: 20px;
}

.remarks li {
  margin-bottom: 4px;
}

.result {
  text-align: center;
}

table {
  border-collapse: collapse;
  width: 60%;
  margin: 20px auto;
}

th, td {
  border: 1px solid #333;
  padding: 8px;
  text-align: center;
}

th {
  background-color: #f2f2f2;
}

.otsikko {
  background-color: #d9ead3;
  font-weight: bold;
  font-size: 1.2em;
}