/* Kontener kalendarza */
.wlrp-datepicker.ui-datepicker {
  width: 380px;
  padding: 16px;
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 9999 !important;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 15px;
}

/* Nagłówek */
.wlrp-datepicker .ui-datepicker-header {
  position: relative;
  padding: 8px 0 16px;
  background: none;
  border: none;
  font-weight: 500;
  text-align: center;
  font-size: 16px;
  color: #333;
}

/* Strzałki */
.wlrp-datepicker .ui-datepicker-prev,
.wlrp-datepicker .ui-datepicker-next {
  position: absolute;
  top: 8px;
  height: 32px;
  line-height: 32px;
  cursor: pointer;
  border-radius: 16px;
  padding: 0 8px;
  text-align: center;
  white-space: nowrap;
  background: none; /* brak tła domyślnie */
  color: #333;
  transition: color 0.2s ease;
}
.wlrp-datepicker .ui-datepicker-prev { left: 8px; }
.wlrp-datepicker .ui-datepicker-next { right: 8px; }
.wlrp-datepicker .ui-datepicker-prev:hover,
.wlrp-datepicker .ui-datepicker-next:hover {
  background: none; /* brak tła przy hover */
  color: #b2c918;   /* tylko zmiana koloru tekstu */
}

/* Selecty miesiąca i roku */
.wlrp-datepicker .ui-datepicker-title select {
  padding: 4px 8px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  margin: 0 6px; /* marginesy po bokach */
}

/* Tabela */
.wlrp-datepicker table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
}
.wlrp-datepicker th {
  padding: 8px 0;
  text-align: center;
  font-weight: 500;
  color: #777;
}
.wlrp-datepicker td {
  padding: 6px 0;
  text-align: center;
}

/* Komórki dni — idealne koło */
.wlrp-datepicker td a,
.wlrp-datepicker td span {
  display: inline-block;
  width: 38px;
  height: 38px;
  line-height: 38px;
  margin: 2px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  font-weight: 400;
  color: #333;
  border: 1px solid transparent;
}

/* Hover */
.wlrp-datepicker td a:hover {
  background: rgba(178, 201, 24, 0.15);
}

/* Wybrany dzień */
.wlrp-datepicker .ui-state-active {
  background: #b2c918 !important;
  color: #fff !important;
  font-weight: 600;
  border-color: #b2c918 !important;
}

/* Dzisiejsza data */
.wlrp-datepicker .ui-datepicker-today a {
  border-color: #b2c918;
}

/* Dni z wpisem */
.wlrp-datepicker .wlrp-has-entry a {
  background: rgba(178, 201, 24, 0.15);
  border-color: rgba(178, 201, 24, 0.35);
  font-weight: 500;
  color: #333;
}
.wlrp-datepicker .wlrp-has-entry a:hover {
  background: rgba(178, 201, 24, 0.30);
  border-color: rgba(178, 201, 24, 0.55);
}
.wlrp-datepicker .wlrp-has-entry .ui-state-active {
  background: #b2c918 !important;
  color: #fff !important;
  border-color: #b2c918 !important;
}

/* Wyłączone dni */
.wlrp-datepicker .ui-datepicker-unselectable span {
  color: #ccc;
  cursor: default;
}
