#custom-calendar {
    width: 100%;
    max-width: 350px;
    background: white;
    border: 1px solid #ccc;
    font-family: 'Montserrat', sans-serif;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #e59fa0 !important;
}

/* Make calendar float over the input */
#custom-calendar.calendar-popup {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    width: 280px;
    z-index: 9999; /* make sure it's above all other content */
  }  

/* Hidden utility class */
.hidden {
    display: none;
}

#calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e59fa0;
    color: white;
    padding: 10px;
    font-weight: bold;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

#calendar-days,
#calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

#calendar-days div {
    font-weight: bold;
    padding: 8px 0;
    background: #f8f8f8;
    color: #e59fa0;
}

#calendar-dates div {
    padding: 10px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.2s;
    color: #e59fa0;
}

#calendar-dates div:hover {
    background: #f0f0f0;
}

#calendar-dates .selected {
    background: #e59fa0;
    color: white !important;
    border-radius: 4px;
}
#event-date-picker {
    position: relative;
    overflow: visible;
}
