/* Mithila Panchang Calendar Responsive Styles */

/* --- Enhanced Calendar & Topbar Styles --- */
.panchang-topbar {
  background: linear-gradient(90deg,#bfae6a 60%,#e6c88f 100%);
  padding: 1.5rem 1rem 1rem 1rem;
  border-radius: 12px 12px 0 0;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.panchang-topbar > div {
  min-width: 120px;
}
.panchang-topbar div:first-child {
  flex: 2;
  min-width: 220px;
}
.panchang-topbar div:last-child {
  flex: 1;
  min-width: 120px;
  text-align: right;
}
.panchang-calendar-nav {
  margin-bottom: 1rem;
  text-align: center;
}
.panchang-cal-btn {
  background: #a65c00;
  color: #fff;
  padding: 0.4em 1em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin: 0 2px;
  display: inline-block;
}
.panchang-cal-month {
  background: #e6c88f;
  color: #5c3a00;
  padding: 0.4em 1em;
  border-radius: 6px;
  margin: 0 2px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}
.panchang-cal-month.active {
  background: #bfae6a;
  color: #5c3a00;
}
.panchang-table {
  width: 100%;
  background: #f8e6c1;
  border-radius: 12px;
  overflow: hidden;
  border-collapse: collapse;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.panchang-table th, .panchang-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid #f0d9b5;
}
.panchang-table th {
  background: #a65c00;
  color: #fff;
  font-weight: 600;
}
.panchang-table td {
  color: #5c3a00;
  vertical-align: top;
  min-width: 90px;
  max-width: 120px;
  background: #ffe0b2;
  border: 2px solid #e6c88f;
}
.panchang-table td.today {
  background: #bfae6a !important;
}
.panchang-table td > div {
  margin-bottom: 2px;
}
@media (max-width: 600px) {
  .panchang-topbar {
    flex-direction: column;
    padding: 0.7rem 0.5rem 0.5rem 0.5rem;
    border-radius: 10px 10px 0 0;
  }
  .panchang-topbar > div {
    min-width: 100px;
    margin-bottom: 0.5rem;
    text-align: left !important;
  }
  .panchang-table th, .panchang-table td {
    padding: 0.3rem 0.4rem;
    font-size: 0.95em;
  }
  .panchang-calendar-nav {
    font-size: 0.95em;
  }
}
