.fc-event-shift {
    position: absolute !important; /* Enables proper alignment */
    font-size: 12px; /* Text size for better clarity */
    line-height: 1.2; /* Improve readability */
    height: auto !important; /* Flexible height based on content */
    min-height: 25px; /* Ensure adequate space vertically */
    width: 28% !important; /* Prevent events from spanning full cell width */
    border: 1px solid #555; /* Consistent event border */
    border-radius: 4px; /* Rounded corners */
    background-color: rgba(255, 255, 255, 0.9); /* Default background */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflowing content */
    text-overflow: ellipsis; /* Show '...' for long titles */
    display: flex; /* Align content vertically and horizontally */
    justify-content: center; /* Center horizontal alignment */
    align-items: center; /* Center vertical alignment */
}