@media screen and (max-width: 1350px) {
    .calendario_calWrap__23scv {
        margin-left: 0px !important;
        width: 100vw !important;
        overflow: scroll !important;
    }
    .calendario_Legend__iPh_C {
        display: flex;
        flex-direction: column !important;
    }
}

.calendario_Legend__iPh_C {
    display: flex;
}

/* In your CSS module file (e.g., GridCal.module.css) */

.calendario_GridCal___1N_7 {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: hidden !important; /* Allows horizontal scrolling on smaller screens */
}

.calendario_GridCol__nYwxr {
    flex: 0 0 auto; /* Prevents grid columns from shrinking, keeping their width constant */
    width: 14.28%; /* Equal division for 7 days in a week (100% / 7) */
    border-right: 2px solid #d1d1d1; /* More noticeable border between days */
    border-bottom: 1px solid #eaeaea; /* Less noticeable border between hours */
    position: relative; /* For absolute positioning of events */
    height: 100%; /* Full height to match the container */
}
  
.calendario_Hour__sCHYm {
    height: 60px; /* Fixed height for each hour slot */
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eaeaea; /* Less noticeable border between hours */
}
  
.calendario_Event__MpLh1 {
    position: absolute;
    left: 10%;
    width: 80%;
    border: 1px solid #d1d1d1; /* Adjusted for visibility against white background */
    border-radius: 4px;
    padding: 4px;
    overflow: hidden;
    color: black;
    background: lightblue;
}
  

@media (max-width: 1000px) {
    .calendario_GridCol__nYwxr {
        min-width: 120px; /* Ensures that each day column has a minimum width for readability */
    }

    .calendario_GridCal___1N_7 {
        flex-direction: row;
        overflow-x: auto;
        width: 100%;
    }

    .calendario_Hour__sCHYm {
        display: none; /* Optionally hide the hours column on very small screens to save space */
    }

    /* Alternatively, if keeping the hour column is essential, adjust its display for better visibility */
    .calendario_HoursColumn__VgV9J {
        flex: 0 0 50px; /* Adjust the width of the hours column on smaller screens */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .calendario_hourRow__PUEUt {
        overflow: hidden !important;
    }

    .calendario_dayViewEvents__GWoyM {
        padding: 20px;
    }

}

.calendario_Event__MpLh1 {
    white-space: nowrap; /* Prevents the event names from wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Adds an ellipsis to overflowing text */
}

.calendario_currentDayHeader__hNKIj {
    text-align: center;
    font-size: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
  
  .calendario_dayViewEvents__GWoyM {
    display: flex;
    flex-direction: column;
  }
  
  .calendario_hourRow__PUEUt {
    min-height: 50px;
    /* height: 50px; */
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
  }
  
  .calendario_hourLabel__sboum {
    width: auto;
    text-align: right;
    padding-right: 10px;
  }
  
  .calendario_eventsInHour__CeXSv {
    flex-grow: 1;
  }
  
  .calendario_eventItem__4qLvW {
    padding: 5px;
    margin: 5px;
    border-radius: 5px;
  }
  

