﻿/* #region Title 카드 컨테이너 jhlee_20250730 */

.title-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    /*    max-width: 48rem;*/
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    background: #f9f9fb;
    box-shadow: 0 2px 4px rgb(0 0 0 / 6%);
}
    .title-card strong {
        font-weight: 600;
        color: #334155;
    }

/* 썸네일 (20 %) */
.title-card__thumb {
    flex: 0 0 20%;
    display: flex;
    height: auto;
    max-height: 250px;
    justify-content: center; /* 수평 중앙 */
    align-items: center; /* 수직 중앙 */
}
    .title-card__thumb img {
        border-radius: 0.75rem;
        width: 100%;
        height: 100%;
        object-fit: contain; /* 비율 유지 + 박스 안에 전부 보이게 */
        object-position: center;
        border-radius: 4px;
        /*        object-fit: cover;*/
    }

/* 내용 영역 (70 %) */
.title-card__body {
    flex: 1 1 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* #endregion Title 카드 컨테이너 */

/* #region Project 카드 컨테이너 jhlee_20250731 */

.solution-task {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.solution-task-card {
    display: flex;
    gap: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    align-items: center;
    background: #fff;
}

    .solution-task-card img {
        width: 120px;
        height: 70px;
        object-fit: cover;
        border-radius: 4px;
    }

.solution-task-info {
    flex: 1.5;
    padding: 10px;
}

.solution-task-title {
    font-weight: bold;
    margin: 0;
}

.solution-task-status {
    text-align: right;
    flex: 0.5;
}

    .solution-task-status .status {
        display: block;
        margin-bottom: 5px;
        color: gray;
    }

    .solution-task-status .open-task {
        background-color: #007bff;
        color: white;
        border: none;
        padding: 6px 12px;
        border-radius: 5px;
    }

.solution-task-progress-bar {
    flex: 1;
}

.solution-task-fild {
    flex: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 12px;
    align-items: flex-start;
}

    .solution-task-fild label {
        font-weight: bold;
        display: block;
        margin-bottom: 4px;
    }

    .solution-task-fild input,
    .solution-task-fild select {
        width: 100px;
        padding: 4px 6px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 13px;
    }

/* #endregion Project 카드 컨테이너 */

/* #region task 카드 컨테이너 jhlee_20250731 */

.task-card {
    display: flex;
    gap: .5rem;
    padding: .5rem;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgb(0 0 0 / 6%);
    transition: transform 0.2s ease;
}
    .task-card:hover {
        transform: translateX(-5px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

.task-card__thumb {
    flex: 0 0 15%;
    display: flex;
    height: auto;
    max-height: 200px;
    justify-content: center;
    align-items: center;
}
    .task-card__thumb img {
        border-radius: 0.75rem;
        width: 100%;
        height: 100%;
        object-fit: contain; /* 비율 유지 + 박스 안에 전부 보이게 */
        object-position: center;
        border-radius: 4px;
    }

.task-card__body {
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.task-card__status {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    align-items: stretch;
    font-size: 0.875rem;
}

    .task-card__status .task-card__status_sub {
        width: 100%;
        box-sizing: border-box;
        display: grid;
        grid-template-columns: 1fr 2fr 1.5fr 1fr;
        column-gap: .75rem;
        row-gap: .5rem;
        align-items: center;
        padding: .5rem;
        border: 1px solid #e5e7eb;
        border-radius: 1rem;
        box-shadow: 0 2px 4px rgb(0 0 0 / 6%);
        overflow: hidden;
    }

        .task-card__status .task-card__status_sub > * {
            min-width: 0;
        }

        .task-card__status .task-card__status_sub .task-card__status_sub_value {
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: .375rem;
        }

.task-card__space {
    flex: 1 1 1%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.task-card__option {
    flex: 1 1 9%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* #endregion task 카드 컨테이너 */

/* #region 카드 아이템 디자인 jhlee_20250730 */
.card__title_lager {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.card__title_middle {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.card__meta {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

.card__stats {
    list-style: none;
    padding: 1rem 0 0;
    margin: 0;
    display: grid;
    row-gap: 0.5rem;
    font-size: 0.875rem;
}

/* #endregion 카드 아이템 디자인 */