/* Modern PLM System CSS - 2025 Redesign */ /* 깔끔하고 전문적인 업무용 시스템 디자인 */ :root { --primary-color: #1a73e8; --primary-hover: #1557b0; --primary-light: #d2e3fc; --secondary-color: #5f6368; --success-color: #34a853; --danger-color: #ea4335; --warning-color: #fbbc04; --background: #ffffff; --surface: #ffffff; --border-color: #dadce0; --text-primary: #202124; --text-secondary: #5f6368; --label-bg: #f8f9fa; --input-bg: #f8f9fa; --shadow-sm: 0 1px 2px 0 rgba(60, 64, 67, 0.3); --shadow-md: 0 1px 3px 0 rgba(60, 64, 67, 0.3); --shadow-lg: 0 2px 6px 2px rgba(60, 64, 67, 0.15); --radius-sm: 4px; --radius-md: 8px; --radius-lg: 8px; } /* 기본 바디 스타일 - 깔끔한 배경 */ body { background: var(--background); min-height: 100vh; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', Roboto, 'Helvetica Neue', Arial, sans-serif; color: var(--text-primary); line-height: 1.6; margin: 0; padding: 20px; } /* 부드러운 페이드인 애니메이션 */ @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* 메인 섹션 스타일 */ section, aside { background: var(--surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); margin: 0 auto 20px; padding: 0; box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15); max-width: 1400px; animation: fadeIn 0.3s ease-out; } /* 팝업 최소 너비 설정 */ .business_popup_min_width { min-width: 800px; } /* 날짜 입력 필드 스타일 */ .date_icon { background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") no-repeat right 6px center; background-size: 12px; padding-right: 26px !important; cursor: pointer; } /* 페이지 제목 스타일 - 진한 파란 배경 (모든 방식으로 최우선 적용) */ html body section .plm_menu_name h2, html body .plm_menu_name h2, body section .plm_menu_name h2, body .plm_menu_name h2, section .plm_menu_name h2, div.plm_menu_name h2, .plm_menu_name > h2, .plm_menu_name h2 { background: #1a73e8 !important; background-color: #1a73e8 !important; background-image: none !important; color: #ffffff !important; padding: 10px 16px !important; margin: 0 !important; font-size: 14px !important; font-weight: 500 !important; border: none !important; border-bottom: none !important; border-top: none !important; border-left: none !important; border-right: none !important; border-radius: 8px 8px 0 0 !important; display: flex !important; align-items: center !important; justify-content: space-between !important; position: relative !important; box-shadow: none !important; } /* 헤더 옵션 버튼 */ .plm_menu_name .option-btn { background: rgba(255, 255, 255, 0.2); color: white; border: 1px solid rgba(255, 255, 255, 0.3); padding: 6px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; backdrop-filter: blur(10px); } .plm_menu_name .option-btn:hover { background: rgba(255, 255, 255, 0.3); border-color: rgba(255, 255, 255, 0.5); } html body section .plm_menu_name h2 span, html body .plm_menu_name h2 span, body section .plm_menu_name h2 span, body .plm_menu_name h2 span, section .plm_menu_name h2 span, div.plm_menu_name h2 span, .plm_menu_name > h2 > span, .plm_menu_name h2 > span, .plm_menu_name h2 span { display: flex !important; align-items: center !important; gap: 0 !important; flex: 1 !important; color: #ffffff !important; background: transparent !important; background-color: transparent !important; } /* 섹션 제목 스타일 - 중간 영역의 서브 타이틀 */ #businessPopupFormWrap h4 { background: white; color: var(--text-primary); padding: 6px 12px; margin: 0; font-size: 13px; font-weight: 500; border-bottom: 1px solid var(--border-color); border-left: none; display: flex; align-items: center; position: relative; } #businessPopupFormWrap h4 span { display: flex; align-items: center; gap: 6px; flex: 1; } #businessPopupFormWrap h4 span::before { content: '📋'; font-size: 14px; flex-shrink: 0; } /* 중첩된 businessPopupFormWrap 스타일 */ .input_sub_title #businessPopupFormWrap { padding: 8px; background: #fafbfc; border: 1px solid var(--border-color); border-radius: var(--radius-md); margin: 4px 0; max-width: 100%; overflow: hidden; } .input_sub_title #businessPopupFormWrap h4 { background: #f8fafc; padding: 6px 12px; margin: 0 0 6px 0; font-size: 12px; border-radius: 4px; } .input_sub_title #businessPopupFormWrap h4 span::before { content: '📎'; font-size: 13px; } .input_sub_title .pmsPopupForm { background: white; max-width: 100%; } .input_sub_title .pmsPopupForm td { padding: 4px 8px; } /* 헤더에 닫기 버튼이 있는 경우를 위한 스타일 */ .plm_menu_name h2 .close-btn { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.2); border: none; color: white; width: 32px; height: 32px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: all 0.2s ease; backdrop-filter: blur(10px); } .plm_menu_name h2 .close-btn:hover { background: rgba(255, 255, 255, 0.3); } /* 팝업 폼 래퍼 */ #businessPopupFormWrap, #EntirePopupFormWrap { padding: 0; } /* 폼 팝업 타이틀 스타일 - h4와 동일하게 */ #EntirePopupFormWrap .form_popup_title { background: white; color: var(--text-primary); padding: 4px 14px; margin: 0; font-size: 13px; font-weight: 500; border-bottom: 1px solid var(--border-color); border-left: none; display: flex; align-items: center; position: relative; } #EntirePopupFormWrap .form_popup_title span { display: flex; align-items: center; gap: 6px; flex: 1; } #EntirePopupFormWrap .form_popup_title span::before { content: '📋'; font-size: 14px; flex-shrink: 0; } /* 테이블 스타일 - 현대적이고 깔끔하게 */ .pmsPopupForm, .pmsPopuptable { width: 100%; margin: 0; table-layout: fixed; background: var(--surface); border: none; border-radius: 0; box-shadow: none; border-collapse: separate; border-spacing: 0; } .pmsPopupForm tr, .pmsPopuptable tr { height: auto; } .pmsPopupForm td, .pmsPopuptable td { height: auto; font-size: 12px; padding: 3px 10px; border-bottom: 1px solid var(--border-color); vertical-align: middle; } .pmsPopupForm tr:last-child td, .pmsPopuptable tr:last-child td { border-bottom: none; } /* 라벨 셀 스타일 - 심플하고 읽기 쉽게 */ .input_title { background: var(--label-bg); color: var(--text-primary); border-right: 1px solid var(--border-color); font-weight: 500; position: relative; padding: 4px 10px; vertical-align: middle !important; width: 140px; white-space: nowrap; } .input_title label { color: var(--text-primary); font-weight: 500; font-size: 12px; display: flex; align-items: center; text-align: left; } /* 필수 항목 표시 */ .input_title label::after { content: ''; display: none; } .input_title.required label::after { content: '*'; color: var(--danger-color); margin-left: 4px; font-weight: 700; display: inline; } /* 서브 타이틀 (세로 섹션 제목) */ .sub_title { background: linear-gradient(135deg, #4285f4 0%, #3b82f6 100%); color: white; font-weight: 700; font-size: 14px; text-align: center; vertical-align: middle; padding: 20px 16px; border-right: 1px solid var(--border-color); writing-mode: vertical-rl; text-orientation: mixed; letter-spacing: 2px; min-width: 50px; } /* 테이블 셀 세로 정렬 강제 적용 */ .pmsPopupForm .input_title, .pmsPopuptable .input_title { vertical-align: middle !important; } .pmsPopupForm .input_sub_title, .pmsPopuptable .input_sub_title { vertical-align: middle !important; } /* 필수 항목 표시 제거 */ /* .input_title label::after { content: '*'; color: var(--danger-color); margin-left: 4px; font-weight: 700; } */ .input_sub_title { background: var(--surface); color: var(--text-primary); font-weight: 400; font-size: 12px; padding: 3px 10px; } .input_title_b { background: #eff6ff; color: var(--primary-color); border-right: 1px solid var(--border-color); font-weight: 600; padding: 20px 24px; } /* 입력 필드 스타일 - 컴팩트 크기 (22px = 32px의 70%) - 어두운 배경 */ .pmsPopupForm input[type="text"], .pmsPopupForm input[type="number"], .pmsPopupForm select, .pmsPopuptable input[type="text"], .pmsPopuptable input[type="number"], .pmsPopuptable select { width: 100%; height: 22px !important; line-height: 20px !important; border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 0 8px !important; font-size: 12px !important; color: var(--text-primary); background: var(--input-bg); transition: all 0.15s ease; font-family: inherit; vertical-align: middle; box-sizing: border-box; } /* 셀렉트 박스 전용 스타일 */ .pmsPopupForm select, .pmsPopuptable select { appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%2364748b' d='M4 6L0 2h8z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 6px center; background-size: 7px; padding-right: 22px !important; cursor: pointer; } .pmsPopupForm input[type="text"]:hover, .pmsPopupForm input[type="number"]:hover, .pmsPopupForm select:hover, .pmsPopuptable input[type="text"]:hover, .pmsPopuptable input[type="number"]:hover, .pmsPopuptable select:hover { border-color: #80868b; } .pmsPopupForm input[type="text"]:focus, .pmsPopupForm input[type="number"]:focus, .pmsPopupForm select:focus, .pmsPopuptable input[type="text"]:focus, .pmsPopuptable input[type="number"]:focus, .pmsPopuptable select:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 1px var(--primary-color); background: #ffffff; } .pmsPopupForm input[type="text"]:disabled, .pmsPopupForm input[type="number"]:disabled, .pmsPopupForm select:disabled, .pmsPopuptable input[type="text"]:disabled, .pmsPopuptable input[type="number"]:disabled, .pmsPopuptable select:disabled { background: #f1f5f9; color: var(--text-secondary); cursor: not-allowed; } /* 텍스트영역 스타일 - 여러 페이지 통합 지원 */ .pmsPopupForm textarea, .pmsPopuptable textarea { width: 100%; min-height: 60px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 8px 10px; font-size: 12px; color: var(--text-primary); background: var(--input-bg); resize: vertical; transition: all 0.15s ease; font-family: inherit; line-height: 1.5; } .pmsPopupForm textarea:hover, .pmsPopuptable textarea:hover { border-color: var(--secondary-color); box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.05); } .pmsPopupForm textarea:focus, .pmsPopuptable textarea:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1); } /* 체크박스 스타일 */ .pmsPopupForm input[type="checkbox"], .pmsPopuptable input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary-color); cursor: pointer; margin: 0 4px 0 0; } /* 라디오 버튼 스타일 */ .pmsPopupForm input[type="radio"], .pmsPopuptable input[type="radio"] { width: 18px; height: 18px; accent-color: var(--primary-color); cursor: pointer; margin: 0 6px 0 0; vertical-align: middle; } .pmsPopupForm input[type="radio"] + label, .pmsPopuptable input[type="radio"] + label { font-size: 13px; font-weight: 500; color: var(--text-primary); cursor: pointer; margin-right: 16px; vertical-align: middle; } /* 버튼 래퍼 */ .btn_wrap { margin: 0; padding: 16px 24px; border-top: 1px solid var(--border-color); background: #f8fafc; border-radius: 0 0 var(--radius-lg) var(--radius-lg); } .plm_btn_wrap_center { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; } /* 버튼 스타일 - 깔끔하고 명확하게 */ .plm_btns { height: 28px; border-radius: var(--radius-sm); background: var(--primary-color); color: white; cursor: pointer; font-size: 13px; border: none; padding: 0 16px; font-weight: 500; transition: background 0.15s ease; box-shadow: none; display: inline-flex; align-items: center; justify-content: center; gap: 4px; margin: 0 4px; float: none; } .plm_btns:hover { background: var(--primary-hover); } .plm_btns:active { background: #1346af; } /* 세컨더리 버튼 (복사, 다시작성 등) */ .plm_btns.secondary { background: white; color: var(--text-primary); border: 1px solid var(--border-color); } .plm_btns.secondary:hover { background: var(--label-bg); } /* 위험 버튼 (사용중단 등) */ .plm_btns.danger { background: var(--danger-color); border: none; } .plm_btns.danger:hover { background: #d33426; } /* 성공 버튼 (재사용 등) */ .plm_btns.success { background: var(--success-color); border: none; } .plm_btns.success:hover { background: #2d8f47; } /* 닫기 버튼은 세컨더리 스타일 */ #btn_close { background: white; color: var(--text-primary); border: 1px solid var(--border-color); } #btn_close:hover { background: #f8fafc; border-color: var(--secondary-color); } /* 메인 액션 버튼 */ .btns { height: 44px; border-radius: var(--radius-md); background: var(--primary-color); color: white; cursor: pointer; font-size: 15px; border: none; padding: 0 28px; font-weight: 600; transition: all 0.2s ease; box-shadow: var(--shadow-md); display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 0 6px; } .btns:hover { background: var(--primary-hover); box-shadow: var(--shadow-lg); transform: translateY(-2px); } .btns:active { transform: translateY(0); box-shadow: var(--shadow-md); } /* 테이블 스타일 */ .plm_table_wrap { width: 100%; border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 20px; background: var(--surface); box-shadow: var(--shadow-sm); } .plm_table { width: 100%; table-layout: fixed; border-collapse: collapse; background: var(--surface); text-align: center; font-size: 14px; } .plm_table .plm_thead { background: #f8fafc; color: var(--text-primary); font-weight: 600; border-bottom: 2px solid var(--border-color); } .plm_table .plm_thead td { border-right: 1px solid var(--border-color); padding: 14px 12px; font-weight: 600; font-size: 14px; } .plm_table .plm_thead td:last-child { border-right: none; } .plm_table td { height: auto; border-bottom: 1px solid var(--border-color); border-right: 1px solid var(--border-color); padding: 12px; vertical-align: middle; } .plm_table td:last-child { border-right: none; } .plm_table tr:hover td { background: #f8fafc; } .plm_table tr:last-child td { border-bottom: none; } .plm_table td a { color: var(--primary-color); text-decoration: none; font-weight: 500; transition: color 0.2s ease; } .plm_table td a:hover { color: var(--primary-hover); text-decoration: underline; } /* 스크롤 테이블 */ .plm_scroll_table { max-height: 400px; overflow-y: auto; border-top: 1px solid var(--border-color); } .plm_scroll_table::-webkit-scrollbar { width: 10px; } .plm_scroll_table::-webkit-scrollbar-track { background: #f8fafc; } .plm_scroll_table::-webkit-scrollbar-thumb { background: var(--secondary-color); border-radius: 5px; } .plm_scroll_table::-webkit-scrollbar-thumb:hover { background: var(--text-primary); } /* Select2 스타일 조정 - 22px로 통일 (70%) */ .select2-container--default .select2-selection--single { border: 1px solid var(--border-color) !important; border-radius: var(--radius-sm) !important; height: 22px !important; display: flex !important; align-items: center !important; background: var(--input-bg) !important; transition: border-color 0.15s ease; } .select2-container--default .select2-selection--single:hover { border-color: #80868b !important; } .select2-container--default .select2-selection--single:focus, .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--primary-color) !important; box-shadow: 0 0 0 1px var(--primary-color) !important; outline: none !important; } .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 20px !important; padding-left: 8px !important; padding-right: 22px !important; color: var(--text-primary) !important; font-size: 12px !important; } .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #80868b !important; } .select2-container--default .select2-selection--single .select2-selection__arrow { height: 20px !important; right: 4px !important; top: 1px !important; } .select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: #5f6368 transparent transparent transparent !important; border-width: 3px 3px 0 3px !important; margin-left: -3px !important; margin-top: -1px !important; } /* Select2 드롭다운 스타일 */ .select2-container--default .select2-results__option { padding: 6px 8px !important; font-size: 12px !important; } .select2-container--default .select2-results__option--highlighted[aria-selected] { background-color: var(--primary-light) !important; color: var(--text-primary) !important; } .select2-dropdown { border: 1px solid var(--border-color) !important; border-radius: var(--radius-sm) !important; box-shadow: 0 2px 8px rgba(60, 64, 67, 0.15) !important; } .select2-search--dropdown .select2-search__field { border: 1px solid var(--border-color) !important; border-radius: var(--radius-sm) !important; padding: 4px 8px !important; font-size: 12px !important; } .select2-search--dropdown .select2-search__field:focus { border-color: var(--primary-color) !important; box-shadow: 0 0 0 1px var(--primary-color) !important; outline: none !important; } /* 알림 메시지 스타일 */ .success-message { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; border-left: 4px solid var(--success-color); padding: 14px 18px; border-radius: var(--radius-md); margin: 16px 0; font-weight: 500; display: flex; align-items: center; gap: 10px; } .success-message::before { content: '✓'; font-weight: bold; font-size: 18px; } .error-message { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; border-left: 4px solid var(--danger-color); padding: 14px 18px; border-radius: var(--radius-md); margin: 16px 0; font-weight: 500; display: flex; align-items: center; gap: 10px; } .error-message::before { content: '⚠'; font-weight: bold; font-size: 18px; } .warning-message { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; border-left: 4px solid var(--warning-color); padding: 14px 18px; border-radius: var(--radius-md); margin: 16px 0; font-weight: 500; display: flex; align-items: center; gap: 10px; } .warning-message::before { content: 'ⓘ'; font-weight: bold; font-size: 18px; } /* 로딩 상태 */ .loading-state { opacity: 0.6; pointer-events: none; position: relative; } .loading-state::after { content: ''; position: absolute; top: 50%; left: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border: 3px solid var(--primary-light); border-top-color: var(--primary-color); border-radius: 50%; animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* 반응형 디자인 */ @media (max-width: 768px) { body { padding: 10px; } .pmsPopupForm td { display: block; width: 100%; padding: 12px 16px; } .input_title { border-right: none; border-bottom: none; padding: 12px 16px 8px; } .input_title label { justify-content: flex-start; text-align: left; } .pmsPopupForm tr td:last-child { border-bottom: 1px solid var(--border-color); } .plm_btn_wrap_center { flex-direction: column; } .plm_btns, .btns { width: 100%; } #businessPopupFormWrap h4, .plm_menu_name h2 { padding: 16px 20px; font-size: 18px; } .btn_wrap { padding: 16px 20px; } } /* 접근성 향상 */ *:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; } /* 드래그앤드롭 영역 스타일 */ .dropzone { background: #f8fafc; border: 2px dashed var(--border-color); border-radius: var(--radius-md); padding: 12px; text-align: center; color: var(--text-secondary); font-size: 12px; font-weight: 500; transition: all 0.3s ease; cursor: pointer; margin: 4px 0; min-height: 30px; display: flex; align-items: center; justify-content: center; max-width: 100%; box-sizing: border-box; } .dropzone:hover { background: #eff6ff; border-color: var(--primary-color); color: var(--primary-color); } .dropzone.dragover { background: #dbeafe; border-color: var(--primary-color); color: var(--primary-color); transform: scale(1.01); } /* 파일 업로드 관련 스타일 */ .project_form_in_table { padding: 8px; background: var(--surface); max-width: 100%; overflow: hidden; box-sizing: border-box; } .project_form_in_table input[type="file"] { padding: 6px; font-size: 11px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: var(--surface); margin-right: 6px; cursor: pointer; max-width: calc(100% - 100px); } .project_form_in_table > div { margin-bottom: 6px; } .project_form_in_table table { max-width: 100%; table-layout: fixed; } .upload_btns { height: 30px; border-radius: var(--radius-md); background: var(--primary-color); color: white; cursor: pointer; font-size: 12px; border: none; padding: 0 16px; font-weight: 600; transition: all 0.2s ease; box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; justify-content: center; margin: 0; vertical-align: middle; } .upload_btns:hover { background: var(--primary-hover); box-shadow: var(--shadow-md); transform: translateY(-1px); } .upload_btns:active { transform: translateY(0); box-shadow: var(--shadow-sm); } /* 파일 목록 테이블 스타일 */ .fileListscrollTbody { width: 100%; border-collapse: collapse; font-size: 11px; } .fileListscrollTbody td { padding: 6px 8px; border-bottom: 1px solid var(--border-color); vertical-align: middle; text-align: center; font-size: 11px; } .fileListscrollTbody td.align_l { text-align: left; } .fileListscrollTbody td a { color: var(--primary-color); text-decoration: none; font-weight: 500; transition: color 0.2s ease; } .fileListscrollTbody td a:hover { color: var(--primary-hover); text-decoration: underline; } .fileListscrollTbody tr:hover td { background: #f8fafc; } /* 삭제 버튼 스타일 */ .delete_btn { display: inline-block; width: 18px; height: 18px; background: var(--danger-color); border-radius: 3px; cursor: pointer; position: relative; margin-left: 6px; vertical-align: middle; transition: all 0.2s ease; } .delete_btn:hover { background: #dc2626; transform: scale(1.1); } .delete_btn::before, .delete_btn::after { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 2px; background: white; } .delete_btn::before { transform: translate(-50%, -50%) rotate(45deg); } .delete_btn::after { transform: translate(-50%, -50%) rotate(-45deg); } /* 파일 아이콘 스타일 */ .file_icon, .file_empty_icon { display: inline-block; padding: 8px 16px; border-radius: var(--radius-md); font-size: 13px; font-weight: 500; text-decoration: none; transition: all 0.2s ease; cursor: pointer; } .file_icon { background: var(--primary-light); color: var(--primary-color); border: 1px solid var(--primary-color); } .file_icon:hover { background: var(--primary-color); color: white; } .file_empty_icon { background: #f1f5f9; color: var(--text-secondary); border: 1px solid var(--border-color); } .file_empty_icon:hover { background: #e2e8f0; border-color: var(--secondary-color); } /* 탭 스타일 */ .tab-container { border-bottom: 1px solid var(--border-color); background: white; padding: 0; margin: 0; } .tab-list { display: flex; list-style: none; margin: 0; padding: 0 16px; gap: 0; } .tab-item { flex: 0 0 auto; } .tab-button { display: block; padding: 12px 20px; background: transparent; border: none; border-bottom: 2px solid transparent; color: var(--text-secondary); font-size: 14px; font-weight: 400; cursor: pointer; transition: all 0.15s ease; white-space: nowrap; } .tab-button:hover { color: var(--text-primary); } .tab-button.active { color: var(--primary-color); border-bottom-color: var(--primary-color); font-weight: 500; } /* 탭 컨텐츠 */ .tab-content { display: none; padding: 20px; animation: fadeIn 0.3s ease-out; } .tab-content.active { display: block; } /* 주소 검색 아이콘 버튼 및 기능 버튼 */ .address-search-btn, .icon-btn, button.icon-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: white; cursor: pointer; transition: all 0.15s ease; margin-left: 4px; vertical-align: middle; padding: 0 8px; font-size: 12px; font-weight: 500; color: var(--text-primary); } .address-search-btn:hover, .icon-btn:hover, button.icon-btn:hover { background: var(--primary-light); border-color: var(--primary-color); color: var(--primary-color); } /* Fn 버튼 스타일 */ .fn-btn { background: #f8fafc; border: 1px solid var(--border-color); padding: 0 8px; font-family: 'Courier New', monospace; font-weight: bold; font-size: 11px; } /* 국기 아이콘 및 플래그 */ .flag-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; margin-right: 6px; vertical-align: middle; border: 1px solid var(--border-color); } /* 입력 필드 그룹 (아이콘 + 입력) */ .input-group { display: flex; align-items: center; gap: 6px; } .input-group input { flex: 1; } .input-group .icon-btn { margin-left: 0; flex-shrink: 0; } /* 버튼 그룹 스타일 */ .button-group { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .button-group .plm_btns { margin: 0; } /* 상태 배지 스타일 */ .status-badge { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; white-space: nowrap; } .status-badge.active { background: #d1fae5; color: #065f46; } .status-badge.inactive { background: #fee2e2; color: #991b1b; } /* 프린트 스타일 */ @media print { body { background: white; } section, aside { box-shadow: none; border: 1px solid #ddd; } .btn_wrap, .plm_btns, .btns, .upload_btns, .delete_btn, .tab-container { display: none; } .dropzone { display: none; } .tab-content { display: block !important; } }