

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    justify-content: flex-start;
}

.profile-header img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 5px;
    flex-shrink: 0;
}

/* 삭제 확인 모달 (pilboard/question/weekscript/annual_pilgrim/daily_pilgrim
   detail 5곳이 각자 <style> 에 복붙해 두던 것을 합쳤다. .modal-content/
   .modal-title 는 부트스트랩도 쓰는 이름이라(room_detail.html 등의 실제
   부트스트랩 모달), .modal-overlay 뒤에만 걸리도록 자손 선택자로 좁힌다.
   마크업은 snippets/delete_confirm_modal.html 한 곳에서만 나온다(C15) --
   예전에는 템플릿마다 복붙돼 있었고 버튼 클래스도 btn-cancel/btn-delete 와
   modal-btn-cancel/modal-btn-confirm 두 계열이 섞여서 여기서 둘 다 받아줘야
   했다. 이제 파셜이 modal-btn-cancel/modal-btn-confirm 만 내보낸다. */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-overlay .modal-content {
    background: white;
    padding: 24px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.modal-overlay .modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.modal-overlay .modal-message {
    color: #666;
    margin-bottom: 20px;
}

.modal-overlay .modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-overlay .modal-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.modal-overlay .modal-btn:hover {
    opacity: 0.8;
}

.modal-overlay .modal-btn.modal-btn-cancel {
    background: #f0f0f0;
    color: #333;
}

.modal-overlay .modal-btn.modal-btn-confirm {
    background: #ff3b30;
    color: white;
}

/* 파일 업로드 폼 중복 제출 가드(form-submit-guard.js)가 붙이는 클래스.
   커스텀 버튼 스타일(.btn-pilgrim 등)은 :disabled 를 따로 안 다뤄서,
   disabled 속성만으로는 눌러도 반응이 없어 보일 수 있다. */
.cp-submitting {
    opacity: 0.6;
    cursor: not-allowed;
}