/* 첨부파일 목록 (js/component/attachList.js) — 이미지 행 클릭 = 미리보기, 다운로드는 버튼으로만 */
.al { font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif; color: #222; }
.al a { text-decoration: none; }

.al .al_hdr { overflow: hidden; padding-bottom: 10px; border-bottom: 2px solid #1F5F8B; font-size: 15px; line-height: 32px; }
.al .al_cnt { float: left; color: #1F5F8B; }
.al .al_hdr .al_btn { float: right; }
.al .al_sp { display: none; }

.al .al_list { margin: 0; padding: 0; list-style: none; }
.al .al_it { display: flex; align-items: center; padding: 9px 6px; border-bottom: 1px solid #EEE; }
.al .al_it > * { margin-right: 12px; }
.al .al_it > *:last-child { margin-right: 0; }
.al .al_it:hover { background: #F4F8FB; }

.al .al_th, .al .al_ext { flex: none; width: 36px; height: 36px; border-radius: 8px; box-sizing: border-box; }
.al .al_th { object-fit: cover; border: 1px solid #D6DADD; background: #F1F5F8; }
.al .al_ext { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; background: #6B7B88; }
.al .e_pdf { background: #C0463C; }
.al .e_hwp, .al .e_hwpx, .al .e_doc, .al .e_docx { background: #2E6B9A; }
.al .e_xls, .al .e_xlsx { background: #2E7D4F; }
.al .e_zip, .al .e_7z { background: #8A6D1A; }

.al .al_nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.al .al_pv { cursor: zoom-in; }
.al .al_pv .al_nm { text-decoration: underline; text-decoration-color: #B7C6D2; text-underline-offset: 3px; }
.al .al_hint { flex: none; font-size: 12px; color: #1F5F8B; }

.al .al_btn { display: inline-block; box-sizing: border-box; height: 32px; padding: 0 12px; line-height: 29px; border: 1.5px solid #1F5F8B; border-radius: 6px; background: #fff; color: #1F5F8B; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.al .al_btn:hover { background: #EAF2F8; }
.al .al_fill { background: #1F5F8B; color: #fff; }
.al .al_fill:hover { background: #17496C; }
.al .al_btn:focus, .al .al_it:focus { outline: 2px solid #1F5F8B; outline-offset: 2px; }

/* 다운로드 버튼: 마우스를 올리거나 키보드로 들어오면 표시, 터치 기기에서는 항상 표시 */
.al .al_acts { flex: none; opacity: 0; }
.al .al_it:hover .al_acts, .al .al_it:focus-within .al_acts, .al .al_it:focus .al_acts { opacity: 1; }
@media (hover: none) { .al .al_acts { opacity: 1; } }

/* 팝업용 작은 크기 */
.al.al_sm .al_hdr { padding-bottom: 6px; font-size: 14px; line-height: 30px; }
.al.al_sm .al_it { padding: 6px 4px; }
.al.al_sm .al_th, .al.al_sm .al_ext { width: 28px; height: 28px; font-size: 9px; border-radius: 6px; }
.al.al_sm .al_nm { font-size: 14px; }
.al.al_sm .al_btn { height: 28px; line-height: 25px; font-size: 12px; }
.al.al_sm .al_list { max-height: 150px; overflow-y: auto; }

/* 크게 보기 */
.al_lb { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 9999; background: rgba(0, 0, 0, .78); display: flex; align-items: center; justify-content: center; flex-direction: column; }
.al_lb img { max-width: 90vw; max-height: 78vh; border-radius: 6px; background: #fff; }
.al_lb_cap { margin-top: 12px; color: #fff; font-size: 15px; }
.al_lb_close { position: absolute; top: 18px; right: 22px; height: 36px; padding: 0 18px; border: 0; border-radius: 18px; background: #fff; color: #111; font-size: 14px; font-weight: 700; cursor: pointer; }
.al_lb_nav { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #111; font-size: 30px; line-height: 44px; cursor: pointer; }
.al_lb_prev { left: 20px; }
.al_lb_next { right: 20px; }
.al_lb button:focus { outline: 2px solid #C9922E; outline-offset: 2px; }
