/*
====================================================

    FLOWMANAGER

    SCHEDULE BOARD

====================================================
*/

.fm-board {

    display: grid;

    grid-template-columns: 90px repeat(5, 1fr);

    gap: 1px;

    background: var(--fm-border-color, #E5E7EB);

    border-radius: 14px;

    overflow: hidden;

    margin-top: 24px;

    align-items: stretch;

}

.fm-board-header {

    background: var(--fm-surface, #FFFFFF);

    padding: 18px;

    text-align: center;

    font-weight: 700;

    font-size: 16px;

}

.fm-board-hour {

    background: var(--fm-surface, #FFFFFF);

    display: flex;

    justify-content: center;

    align-items: center;

    font-weight: 700;

    color: #6B7280;

    min-height: 140px;

    height: 100%;

    box-sizing: border-box;

}

.fm-board-cell {

    background: var(--fm-surface, #FFFFFF);

    min-height: 140px;

    height: 100%;

    padding: 12px;

    display: flex;

    flex-direction: column;

    gap: 10px;

    box-sizing: border-box;

}

.fm-schedule-card {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 10px 12px;

    border-radius: 10px;

    background: #F9FAFB;

    cursor: pointer;

    transition:

        transform .2s ease,

        box-shadow .2s ease;

}

.fm-schedule-card:hover {

    transform: translateY(-2px);

    box-shadow:

        0 6px 18px rgba(0, 0, 0, .12);

}

.fm-card-color {

    width: 8px;

    align-self: stretch;

    border-radius: 20px;

    flex-shrink: 0;

}

.fm-card-name {

    flex: 1;

    font-weight: 600;

}

.fm-empty-state {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 16px;

    padding: 80px;

    color: #6B7280;

}

.fm-empty-state .material-symbols-outlined {

    font-size: 60px;

}

@media(max-width:1200px) {

    .fm-board {

        grid-template-columns:

            90px repeat(5, 260px);

        overflow-x: auto;

    }

}