/* board_pilgrimage.css — 역사탐방 참가 신청서 폼 스킨 */

/* ── 섹션 fieldset ── */
.pilgrimage-form .pil-section {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px 20px 5px;
    margin-bottom: 20px;
    background: #fff;
}
.pilgrimage-form .pil-section legend {
    font-size: 16px;
    font-weight: bold;
    padding: 0 10px;
    width: auto;
    border: none;
    margin-bottom: 10px;
    color: #333;
}
.pil-num {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #28201a;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 13px;
    margin-right: 6px;
}

/* ── 라벨 ── */
.pilgrimage-form label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
}
.pilgrimage-form label.required::after {
    content: ' *';
    color: #e74c3c;
}

/* ── 라디오 / 체크 ── */
.pil-radio-group {
    padding-top: 8px;
}
.pil-radio {
    margin-right: 20px;
    font-weight: normal;
    cursor: pointer;
}
.pil-radio input[type="radio"] {
    margin-right: 4px;
}

/* ── 개인정보 동의 ── */
.pil-agree {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-top: 10px;
}
.pil-check {
    font-weight: normal !important;
    cursor: pointer;
}
.pil-check input[type="checkbox"] {
    margin-right: 6px;
}
.pil-privacy-view {
    font-size: 12px;
    vertical-align: middle;
}

/* ── 폼 헤더 ── */
.pilgrimage-form h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #28201a;
}
.pilgrimage-form h2 small {
    font-size: 14px;
    color: #888;
    margin-left: 10px;
}

/* ── 버튼 ── */
.pilgrimage-form .btn_confirm {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}
.pilgrimage-form .btn_submit {
    background: #28201a;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}
.pilgrimage-form .btn_submit:hover {
    background: #3d342c;
}
.pilgrimage-form .btn_submit:disabled {
    background: #999;
    cursor: not-allowed;
}
.pilgrimage-form .btn_cancel {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    text-decoration: none;
}
.pilgrimage-form .btn_cancel:hover {
    background: #e9ecef;
}

/* ── view.html: 신청서 내용 테이블 ── */
.pil-application h3 {
    color: #28201a;
}
.pil-application .pil-table {
    margin-bottom: 15px;
}
.pil-application .pil-table th {
    vertical-align: middle;
}
.pil-section-header {
    background: #28201a !important;
    color: #fff !important;
    font-weight: bold;
    text-align: center;
    font-size: 14px;
    padding: 8px !important;
}

/* ── view.html: 인쇄 버튼 ── */
.btn-print {
    float: right;
    margin-top: -5px;
}

/* ── 인쇄 스타일 ── */
@media print {
    .btn_confirm, #bo_v_top, #bo_v_bot, .bo_v_nb,
    .btn-print, .bo_v_com, .bo_v_left,
    header, footer, .sidebar, nav,
    #bo_head, #bo_tail { display: none !important; }
    .pil-application { font-size: 12pt; }
    .pil-application .pil-table { page-break-inside: avoid; }
    #bo_v { border: none; padding: 0; }
}

/* ── 에러 표시 ── */
.pilgrimage-form .alert-danger {
    margin-bottom: 20px;
}
