/* datepicker.css */

/* Container */
.dp-container {
  position: relative;
  width: 100%;
}

/* Input field */
.dp-input {
  cursor: pointer;
  padding: 0 5px;
  height: auto;
}

/* Popup */
.dp-popup {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: none;
  width: 180px;
  padding: 0;
  margin-top: 2px;
  height: 180px;
}

.dp-popup.show {
  display: block;
}

/* Header */
.dp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 0;
  height: 15px;
}

/* Navigation buttons */
.dp-nav {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 3px;
  color: #047857;
  user-select: none;
}

.dp-nav:hover {
  background: #f0f0f0;
}

.dp-nav.dp-prev {
height: 20px;
padding: 0 10px;
}

.dp-nav.dp-next {
height: 20px;
padding: 0 10px;
}

/* Month year display */
.dp-month {
  font-weight: 400;
  font-size: 15px;
}

/* Calendar grid */
.dp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  height: 150px;
}

/* Day headers */
.dp-day-header {
  text-align: center;
  font-weight: 400;
  padding: 0;
  font-size: 10px;
  height: 15px;
  color: #666;
  background: #f8f9fa;
}


/* Year cells */
.dp-year {
  padding: 5px;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.2s;
}

.dp-year:hover {
  background: #e3f2fd;
  padding: 5px;
}

.dp-year.selected {
  background: #047857;
  color: white;
}

.dp-year.today {
  border: 2px solid #047857;
  padding: 5px;
}

.dp-year.disabled {
  color: #ccc;
  cursor: not-allowed;
  background: #f5f5f5;
}



/* Month cells */
.dp-month-cell {
  padding: 5px;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

.dp-month-cell:hover {
  background: #e9ecef;
}

.dp-month-cell.selected {
  background: #047857;
  color: white;
}

.dp-month-cell.today {
  border: 2px solid #047857;
}


/* quarter cell */

.dp-quarter-cell {
  padding: 5px;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
  height: 50px;
}

.dp-quarter-cell:hover {
  background: #e9ecef;
}

.dp-quarter-cell.selected {
  background: #047857;
  color: white;
}

.dp-quarter-cell.today {
  border: 2px solid #047857;
}

