﻿/* ============================================
   OT Break Info Block
   Dùng trong: Leave History Grid, Manager Approve Grid, v.v.
   ============================================ */

.ot-break-info {
    margin-top: 6px;
    padding: 4px 8px;
    background: #fff8f0;
    border-left: 3px solid #e06245;
    font-size: 11px;
    line-height: 1.8;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px;
}

.ot-break-info__icon {
    color: #e06245;
    font-size: 14px;
    flex-shrink: 0;
}

.ot-break-info__label {
    font-weight: bold;
    color: #3d3d3a;
    white-space: nowrap;
}

.ot-break-info__badge {
    display: inline-block;
    background: #e06245;
    color: #fff;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    padding: 1px 6px;
    white-space: nowrap;
}

.ot-break-info__time {
    color: #888;
    font-size: 11px;
    white-space: nowrap;
}

    .ot-break-info__time strong {
        color: #3d3d3a;
        font-weight: bold;
    }

/**OT BREAK Post Leave */
/* Label cột trái: căn giữa dọc, wrap đẹp khi xuống 2 dòng */
.otbreak-title {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 34px;
    line-height: 1.2;
    white-space: nowrap; /* không cho xuống dòng */
}

/* Cả dòng From ... -> ... To */
.otbreak-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px; /* khoảng cách giữa các cụm lớn */
}

/* Cụm "HH : mm" dính sát nhau -> mắt nhóm thành 1 đơn vị */
.otbreak-group {
    display: inline-flex;
    align-items: center;
    gap: 3px; /* khoảng cách nhỏ trong cụm */
}

    .otbreak-group .xselect {
        margin: 0;
    }

/* Dấu hai chấm giống định dạng đồng hồ */
.otbreak-colon {
    font-weight: bold;
    color: #555;
}

/* Mũi tên ngăn cách From -> To */
.otbreak-sep {
    font-size: 16px;
    font-weight: bold;
    color: #888;
    margin: 0 4px;
}

.otbreak-label {
    white-space: nowrap;
}