.calendar-container {
  background: #f6fcff;
  border-radius: 20px;
  box-shadow: 0 4px 18px 0 rgba(0,147,224,0.10), 0 1.5px 4px 0 rgba(44,62,80,0.05);
  max-width: 350px;
  margin: 0 auto;
  padding: 14px 8px 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.customer-calendar-modal .modal-dialog {
  max-width: 430px;
}

.calendar-table {
  width: auto;
  margin-left: auto;
  margin-right: auto;
  border-spacing: 0 8px;
}

.calendar-table th,
.calendar-table td {
  width: 38px;
  text-align: center;
  padding: 0;
}

.calendar-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.13rem;
  font-weight: 500;
  color: #2d445a;
  background: #fff;
  box-shadow: 0 1px 4px rgba(64,166,232,0.03);
  margin: 0 auto;
  position: relative;
  cursor: default;
  transition: background 0.18s, color 0.18s;
}

.customer-calendar-modal .calendar-day.harvest {
  background: #44bb44 !important;    /* Green for Harvest */
  color: #fff !important;
  border: 2.5px solid #359e35 !important; /* Strong green border */
  font-weight: 700;
  box-shadow: 0 0 8px #44bb4466;
}

.customer-calendar-modal .calendar-day.today {
  border: 2.5px solid #40a6e8 !important;
  background: #e6f6ff !important;
  color: #0093e0 !important;
}

.customer-calendar-modal .calendar-day.harvest::after {
  content: "";    /* No emoji */
}

.calendar-day.today {
  border: 2px solid #0093e0;
  background: linear-gradient(120deg, #e3f2fd 60%, #c9eaff 100%);
  color: #2578ad;
  font-weight: 600;
  box-shadow: 0 0 6px #70b9f488;
}

.calendar-day.inactive {
  color: #bfc9d1;
  background: none;
  cursor: default;
  box-shadow: none;
}

.calendar-day:not(.inactive):hover {
  background: #e6f6ff;
  color: #0084ce;
  border: 2px solid #b5defc;
}

.select-month-year .form-select {
  border-radius: 10px !important;
  font-size: 1.02rem;
  padding: 6px 12px;
  background: #f3f8fa;
  border: 1.5px solid #e0eefa;
  margin-right: 6px;
}

.modal-content {
  box-shadow: 0 8px 32px 0 rgba(0,147,224,0.10), 0 2px 10px 0 rgba(44,62,80,0.07);
  border-radius: 22px !important;
  background: #fafdff;
}

.modal-header.bg-primary.bg-opacity-10 {
  background: linear-gradient(120deg, #eaf8fd 60%, #e9f8f3 100%) !important;
  border-top-left-radius: 22px !important;
  border-top-right-radius: 22px !important;
}

.mt-3.text-muted.text-center.fs-6 {
  color: #46a06e !important;
  font-weight: 500;
}

@media (max-width: 576px) {
  .calendar-container {
    padding: 12px 3vw 6px 3vw;
    max-width: 99vw;
  }
  .calendar-day {
    width: 33px;
    height: 33px;
    font-size: 0.97rem;
  }
}

/* ---- HEADER ROW STYLING (shorter, narrower, more compact) ---- */
.customer-calendar-modal .calendar-header-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;                   /* Reduce horizontal gap */
  margin-top: 18px;
  margin-bottom: 24px;
}

/* SELECT BOXES: month & year - thinner horizontally */
.customer-calendar-modal .calendar-header-nav select {
  min-width: 65px;            /* Reduce minimum width */
  width: 75px;                /* Explicit width for compactness */
  text-align: center;
  border: 1px solid #0093e0 !important;
  border-radius: 12px;
  background: #fff;
  font-weight: 600;
  color: #0093e0;
  margin: 0 4px;
  height: 36px;               /* Less tall */
  line-height: 36px;
  box-shadow: none;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 6px;
  padding-right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.08rem;
  appearance: none;           /* Remove native styling */
}
.customer-calendar-modal .calendar-header-nav option {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  text-align: center;
}

/* ARROW BUTTONS: smaller width/height */
.customer-calendar-modal .calendar-header-nav .calendar-arrow-btn,
.customer-calendar-modal .calendar-header-nav button {
  height: 32px;
  width: 32px;
  min-width: 32px;
  border-radius: 8px;
  border: 1px solid #0093e0;
  color: #0093e0;
  background: #fafdff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin: 0 2px;
  transition: background 0.12s, color 0.12s;
  padding: 0;
}
.customer-calendar-modal .calendar-header-nav .calendar-arrow-btn:active,
.customer-calendar-modal .calendar-header-nav button:active {
  background: #e3f2fd;
  color: #0074b3;
}
.customer-calendar-modal .calendar-header-nav select:focus {
  border-color: #40a6e8 !important;
  box-shadow: 0 0 0 2px #b7e3ff66;
}
.customer-calendar-modal .calendar-header-nav button:hover,
.customer-calendar-modal .calendar-header-nav .calendar-arrow-btn:hover {
  background: #e0f4ff;
  color: #fff;
  border-color: #0093e0;
}
