.year-container {
    background: #e0e5f9 !important;
    padding: 12px 20px;
    display: flex;
    align-items: center;
}

.year-label {
    font-size: 16px;
    margin-right: 10px;
}

#yearSelect {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-weight: bold;
}

.list-view {
    font-size: 14px;
    color: #007bff;
    text-decoration: underline;
    margin-left: 15px;
    cursor: pointer;
}

.list-view:hover {
    color: #0056b3;
}

#yearCalendar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.month {
  border: 1px solid #ccc;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.month h3 {
  text-align: center;
  margin: 0;
  padding: 10px;
  background: #0645a4;
  color: white;
  font-size: 15px;
}

.week-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f7f7f7;
  border-bottom: 1px solid #ccc;
}

.day-name {
  text-align: center;
  font-weight: bold;
  padding: 4px 0;
  font-size: 12px;
  border-right: 1px solid #eee;
}

.day-name:last-child {
  border-right: none;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(6, 1fr); /* always 6 rows */
}

.day,
.other-month {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;       
  border: 1px solid #eee;
  height: 38px;         
  min-height: 38px;     
  line-height: 1;     
  padding: 0;        
  margin: 0;          
  box-sizing: border-box;
}


.day.event-day {
  background-color: #FE6C5F;
  color: #fff;
  font-weight: bold;
}

.day.other-month {
  background: #fafafa;
  color: #bbb;
}
#yearSelect {
  appearance: none;      
  -webkit-appearance: none;
  -moz-appearance: none;   
  background: #fff;     
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: bold;
  outline: none;
}

.event-tooltip {
  position: absolute;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
  max-width: 170px;
  max-height: 220px;
  overflow-y: auto;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  z-index: 1000;
  display: none;
}

.tooltip-event-item {
  padding: 8px 0;
  border-bottom: 1px solid #dfdcdc;
}
.tooltip-event-item:last-child {
  border-bottom: none;
}


.tooltip-date {
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
  font-size: 14px;
}


.tooltip-content {
  color: #444;
  font-size: 13px;
}

