﻿/* #region 버튼 디자인 */

.button-delete {
    background-color: #b32121;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
}

.button-open {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.button-duedate {
    width: 100%;
    background-color: white;
    border: 1px solid #e5e7eb;
    padding: 4px 12px;
    border-radius: 0.5rem;
    cursor: pointer;
    align-items: center;
    overflow: hidden;
}

/* #endregion 버튼 디자인 */

/* #region 숫자 배지 디자인 */

.number-badge {
    display: inline-block;
    margin-left: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* slate-100 / 600 */
.badge--slate {
    background: #f1f5f9;
    color: #475569;
}

/* sky-100 / 700 */
.badge--sky {
    background: #e0f2fe;
    color: #0369a1;
}

/* rose-100 / 700 */
.badge--rose {
    background: #fee2e2;
    color: #b91c1c;
}

/* #endregion 숫자 배지 디자인*/

.select_status {
    align-items: center;
    min-height: 2rem;
}

    .select_status select,
    .select_status input {
        height: 2rem;
        border: 1px solid #e5e7eb;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* ← 선택된 값이 길면 … */
        padding-right: 2rem; /* 드롭다운 화살표 영역 확보 */
        /* 필요 시: appearance 유지 (기본 화살표 그대로) */
    }

        /* 포커스 가시성 (접근성) */
        .select_status select:focus {
            outline: 2px solid #6aa7ff;
            outline-offset: 2px;
        }

    .select_status p {
        display: flex;
        align-items: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0;
        line-height: 2;
    }

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}