.schedule-bar {
    display: flex;
    width: 100%;
    height: 40px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 20px;
}

.round-block, .break-block {
    height: 100%;
    text-align: center;
    line-height: 20px; /* smaller line height for two lines */
    font-size: 12px;
    border-right: 2px solid #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;

}
.round-block {
    background-color: #4caf50;
}

.break-block {
    background-color: #f39c12;
    color:white;
    cursor: pointer;
    position: relative;
}

.break-block:hover {
    background-color: #e67e22;
}

/* Tooltip Styling */
.break-block::after {
    content: "Click to remove break";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease-in-out;
}

.break-block:hover::after {
    opacity: 1;
}