/* ============================================================ * 공통 스타일 - 모든 페이지 * ============================================================ */ /* 버튼 그룹 (toolbar) */ .toolbar { clear: both; width: 100%; display: flex; justify-content: center; gap: 12px; margin: 40px 0 60px; } /* 개별 버튼 스타일 */ .btn { padding: 12px 24px; font-size: 1rem; border-radius: 6px; border: none; cursor: pointer; transition: background-color 0.2s; margin: 0 6px; } /* 버튼 색상 */ .btn-primary { background-color: #2477FF; color: #fff; } .btn-primary:hover { background-color: #1a5fd9; color: #fff; } .btn-edit { background-color: #2D8515; color: #fff; } .btn-edit:hover { background-color: #236a11; color: #fff; } .btn-warning { background-color: #FF8C00; color: #fff; } .btn-warning:hover { background-color: #e67e00; color: #fff; } .btn-delete { background-color: #DB2A34; color: #fff; } .btn-delete:hover { background-color: #b92229; color: #fff; } .btn-secondary { background-color: #666; color: #fff; } .btn-secondary:hover { background-color: #555; color: #fff; } .btn-warning { background-color: #FF8C00; color: #fff; } .btn-warning:hover { background-color: #e67e00; } /* 섹션 타이틀 */ .section-title-with-line { display: flex; align-items: center; margin-bottom: 30px; } .section-title-text { font-size: 1.5rem; white-space: nowrap; line-height: 1; margin-bottom: 0; color: black; margin-right: 30px; } .section-line { height: 1px; background-color: #ccc; flex-grow: 1; } /* ============================================================ * 모달 스타일 * ============================================================ */ .tiny-modal { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; } .tiny-modal.is-open { display: flex; } .tiny-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); } .tiny-modal-dialog { position: relative; z-index: 1; background: #fff; width: 300px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.3); margin: 0; } .tiny-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: #f5f5f5; } .tiny-modal-body { padding: 16px; color: #333; } .tiny-modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 8px 12px; border-top: 1px solid #eee; } /* 모달 버튼 공통 스타일 */ .modal-btn-ok { color: #fff; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; transition: background-color 0.2s; } /* 모달 확인 버튼 - 용도별 색상 */ .modal-btn-primary { background: #2477FF; } .modal-btn-primary:hover { background: #1a5fd9; color: #fff; } .modal-btn-danger { background: #DB2A34; } .modal-btn-danger:hover { background: #b92229; color: #fff; } .modal-btn-success { background: #2D8515; } .modal-btn-success:hover { background: #236a11; color: #fff; } /* 모달 취소 버튼 */ #tiny-modal-cancel { background: #2477FF; color: #fff; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; transition: background-color 0.2s; } #tiny-modal-cancel:hover { background: #1a5fd9; color: #fff; } /* 모달 닫기 버튼 */ #tiny-modal-close { background: transparent; border: none; color: #666; font-size: 20px; line-height: 1; cursor: pointer; padding: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; transition: color 0.2s; } #tiny-modal-close:hover { color: #333; }