html {
  font-size: 14px;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

.eplogo {
  width: 550px;
  height: 219px;
}
.eptext30bold {
  font-size: 30px;
  font-weight: 500;
  color: #024379;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.eptext18{
  font-size: 18px;
  color: #024379;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* calendar */
/* Desktop / tablet */
.calendarCard {
    min-height: 70vh;
    height: auto;  /* let card grow naturally */
    display: flex;
    flex-direction: column;
}
.calendar-container {
    background: rgba(33, 37, 41, 0.03);
    width: 320px;                
    border-radius: 10px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .time-slots-container {
        max-height: none;  /* allow full scroll if needed */
    }

    .calendar-container {
        background: rgba(33, 37, 41, 0.03);
        width: 400px;                
        border-radius: 10px;
    }
}
    
.calendar-container header {
    display: flex;
    align-items: center;
    padding: 15px 20px 8px;     
    justify-content: space-between;
}

header .calendar-navigation {
    display: flex;
}

header .calendar-navigation span {
    height: 30px;              
    width: 30px;
    margin: 0 2px;
    cursor: pointer;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    user-select: none;
    color: #aeabab;
    font-size: 1.4rem;          
}

.calendar-navigation span:last-child {
    margin-right: -8px;
}

header .calendar-navigation span:hover {
    background: #f2f2f2;
}

header .calendar-current-date {
    font-weight: 500;
    font-size: 1.2rem;        
}

.calendar-body {
    padding: 10px;     
}

.calendar-body ul {
    list-style: none;
    flex-wrap: wrap;
    display: flex;
    text-align: center;
}

.calendar-body .calendar-dates {
    margin-bottom: 10px;    
    width: 100%;
}

.calendar-body li {
    width: calc(100% / 7);
    height: 30px;               
    line-height: 30px;          
    font-size: 0.9rem;   
    font-weight: bolder;       
    color: blue;
    margin-top: 20px;           
    position: relative;
    z-index: 1;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.calendar-body .calendar-weekdays li {
    cursor: default;
    font-weight: 500;
    font-size: 0.85rem;         
}

.calendar-dates li.inactive {
    color: #aaa;
    cursor: default;
}

.calendar-dates li.active, .calendar-dates li.scheduled{
    color: #fff;
}
.calendar-dates li::before {
    position: absolute;
    content: "";
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 30px;             
    height: 30px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.calendar-dates li.active::before {
    background: #6964ff;
}

.calendar-dates li.scheduled::before {
    background: #218e68;
}

.calendar-dates li:not(.active):not(.inactive):hover::before {
    background: #858484;
}

.calendar-dates li.today::after {
    content: "";
    display: block;
    width: 6px;        /* size of the dot */
    height: 6px;
    background-color: #218e68; /* color of the dot */
    border-radius: 50%; /* makes it a circle */
    margin: -4px auto 0; /* centers the dot below the text */
}
.time-slots-container {
    max-height: 60vh;      /* fits inside the 70vh card */
    overflow-y: auto;       /* scroll if content overflows */
    flex: 1; 
}
.time-slots-body{
  overflow-y: scroll;
  max-height: 50vh;
  padding-right: 1.5rem; /* optional: avoid scrollbar overlap */
}
/* .time-slots-container .time-slots-body {
    padding: 0.5rem;
} */
/* Make buttons full width and spaced */
.time-slots-body button {
    width: 100%;
    margin: 0.25rem 0;
}
.btn-timeslot {
    height: 58px;
    font-size: 16px;
    font-weight: bold;
    transition: 
        transform 0.15s ease,
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}
.btn-timeslot-next{
    height: 58px;
    font-size: 16px;
    font-weight: bold;
}
.btn-timeslot-selected {
    font-size: 12px;     /* instant change — no animation */
    transform: scale(1.03);
    color: #fff !important;
}
.btn-timeslot-selected .text-dark {
    color: #fff !important;
}