@charset "utf-8";

/* 본문 콘텐츠 영역 - 사용자 입력 HTML 기본 스타일 */
#bo_v_con a { color: var(--hex-primary-600); text-decoration: underline; }
#bo_v_con a:hover { color: var(--hex-primary-700); }
#bo_v_con img { max-width: 100%; height: auto; }

/* 임시저장 콘텐츠 숨김 */
.autosave_content { display: none; }

#bo_w textarea {min-height: 300px}

.sz-table-wrap {--tw-shadow: none !important;}

#bo_list .sz-table-wrap table thead {
    box-shadow: 0 0 0 1px #E5E7EB;
    border-radius: 10px;
    overflow: hidden !important;
}

.sz-table-wrap table thead th {
    background: #f9fafbcc;
}
.sz-table-wrap table thead th:first-child {
    border-radius: 10px 0 0 10px;
}

.sz-table-wrap table thead th:last-child {
    border-radius: 0 10px 10px 0;
}

#bo_list tbody tr:not(:first-child) {
    border-top: 1px solid #E5E7EB;
}

.border-red {
    border: 1px solid red;
}

.status-label {
    display: inline-block;
    padding: 4px 10px;
    font-size: 14px;
    line-height: 16px;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid transparent;
}

/* 대기중 (주황) */
.status-label.label0 {
    color: #f59e0b;
    background: #fff7ed;
    border-color: #fde68a;
}

/* 진행중 (파랑) */
.status-label.label1 {
    color: #3b82f6;
    background: #eff6ff;
    border-color: #bfdbfe;
}

/* 검수중 (보라) */
.status-label.label2 {
    color: #8b5cf6;
    background: #f5f3ff;
    border-color: #ddd6fe;
}

/* 승인완료 (초록) */
.status-label.label3 {
    color: #22c55e;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

/* 반려 (빨강) */
.status-label.label-1 {
    color: #ef4444;
    background: #fef2f2;
    border-color: #fecaca;
}


.report-info-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 22px 0 24px;
    padding: 16px;
    /*border: 1px solid #E5E7EB;*/
    /*border-radius: 14px;*/
    /*background: #F9FAFB;*/
}

.report-info-item {
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #EEF0F3;
}

.report-info-item .label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #6B7280;
    font-weight: 500;
}

.report-info-item strong {
    display: block;
    font-size: 16px;
    color: #111827;
    font-weight: 700;
    word-break: keep-all;
}

.report-info-item strong.point {
    color: #3E4CC9;
}

.apply-btn-wrap {
    margin: 70px auto 20px;
    text-align: center;
    max-width: 500px;
}
.apply-btn-group {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.apply-btn-group a {
    max-width: 240px;
    flex: 1;
    padding: 16px 20px;
    text-align: center;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    outline: none;
}
.apply-btn-group a.admin-btn {
    max-width: 100px;
}

/* 목록 버튼 (아웃라인) */
.btn-outline {
    background: #fff;
    border: 1px solid #3B82F6;
    color: #3B82F6;
}

.btn-outline:hover {
    background: #EFF6FF;
}

/* 작업 신청하기 (메인 버튼) */
.btn-primary {
    background: #3B82F6;
    color: #fff;
}

.btn-primary:hover {
    background: #2563EB;
}

.btn-primary:active,
.btn-outline:active {
    transform: scale(0.98);
}

.btn-task-approve {
    background: #22C55E;
    color: #fff;
}

.btn-task-approve:hover {
    background: #16A34A;
    box-shadow: 0 4px 10px rgba(34, 197, 94, .25);
}

.btn-task-reject {
    background: #EF4444;
    color: #fff;
}

.btn-task-reject:hover {
    background: #DC2626;
    box-shadow: 0 4px 10px rgba(239, 68, 68, .25);
}

.btn-task-approve:active,
.btn-task-reject:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .report-info-box {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
        margin: 18px 0 20px;
        border-radius: 12px;
    }

    .report-info-item {
        padding: 12px 14px;
    }

    .report-info-item .label {
        font-size: 12px;
    }

    .report-info-item strong {
        font-size: 15px;
    }
}
