/** * 작업장 관리 페이지 전용 스타일 * 모던하고 직관적인 UI/UX */ /* ============================================ 1. 기본 설정 및 변수 ============================================ */ :root { --wp-primary: #0ea5e9; --wp-primary-dark: #0284c7; --wp-primary-light: #e0f2fe; --wp-secondary: #64748b; --wp-success: #10b981; --wp-warning: #f59e0b; --wp-danger: #ef4444; --wp-info: #6366f1; --wp-bg: #f1f5f9; --wp-bg-card: #ffffff; --wp-bg-hover: #f8fafc; --wp-text: #1e293b; --wp-text-secondary: #64748b; --wp-text-muted: #94a3b8; --wp-border: #e2e8f0; --wp-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); --wp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); } /* ============================================ 2. 페이지 레이아웃 (기존 admin 레이아웃 호환) ============================================ */ /* main-content의 기본 패딩을 줄여서 사이드바와의 간격 조정 */ .page-container > .main-content:has(.wp-content) { padding: 16px !important; padding-left: 12px !important; } .wp-content { padding: 0; max-width: 100%; width: 100%; } /* ============================================ 3. 페이지 헤더 ============================================ */ .wp-page-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 24px 28px; background: linear-gradient(135deg, var(--wp-primary) 0%, var(--wp-primary-dark) 100%); border-radius: 16px; margin-bottom: 24px; box-shadow: var(--wp-shadow-lg); } .wp-header-content { flex: 1; } .wp-page-title { font-size: 28px; font-weight: 700; color: white; margin: 0 0 8px 0; display: flex; align-items: center; gap: 12px; } .wp-page-title-icon { font-size: 32px; } .wp-page-description { font-size: 14px; color: rgba(255, 255, 255, 0.85); margin: 0; } .wp-header-actions { display: flex; gap: 10px; } .wp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; font-size: 14px; font-weight: 600; border: none; border-radius: 10px; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; } .wp-btn-primary { background: white; color: var(--wp-primary); box-shadow: var(--wp-shadow); } .wp-btn-primary:hover { background: var(--wp-primary-light); transform: translateY(-2px); box-shadow: var(--wp-shadow-lg); } .wp-btn-secondary { background: rgba(255, 255, 255, 0.15); color: white; border: 1px solid rgba(255, 255, 255, 0.3); } .wp-btn-secondary:hover { background: rgba(255, 255, 255, 0.25); } .wp-btn-icon { font-size: 16px; } /* ============================================ 4. 통계 카드 ============================================ */ .wp-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; } .wp-stat-card { background: var(--wp-bg-card); border-radius: 14px; padding: 20px 24px; display: flex; align-items: center; gap: 16px; box-shadow: var(--wp-shadow); transition: all 0.2s ease; border: 1px solid var(--wp-border); } .wp-stat-card:hover { transform: translateY(-2px); box-shadow: var(--wp-shadow-lg); } .wp-stat-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; } .wp-stat-icon.factory { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); } .wp-stat-icon.workplace { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); } .wp-stat-icon.active { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); } .wp-stat-icon.equipment { background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%); } .wp-stat-content h3 { font-size: 28px; font-weight: 700; color: var(--wp-text); margin: 0; line-height: 1; } .wp-stat-content p { font-size: 13px; color: var(--wp-text-secondary); margin: 4px 0 0 0; } /* ============================================ 5. 공장 탭 (가로 스크롤) ============================================ */ .wp-factory-tabs { display: flex; gap: 8px; padding: 12px; background: var(--wp-bg-card); border-radius: 14px; margin-bottom: 24px; box-shadow: var(--wp-shadow); overflow-x: auto; scrollbar-width: thin; } .wp-factory-tabs::-webkit-scrollbar { height: 6px; } .wp-factory-tabs::-webkit-scrollbar-track { background: var(--wp-bg); border-radius: 3px; } .wp-factory-tabs::-webkit-scrollbar-thumb { background: var(--wp-border); border-radius: 3px; } .wp-tab-btn { display: flex; align-items: center; gap: 10px; padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--wp-text-secondary); background: transparent; border: 2px solid transparent; border-radius: 10px; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; min-width: max-content; } .wp-tab-btn:hover { background: var(--wp-bg-hover); color: var(--wp-text); } .wp-tab-btn.active { background: var(--wp-primary-light); color: var(--wp-primary); border-color: var(--wp-primary); } .wp-tab-icon { font-size: 18px; } .wp-tab-count { background: var(--wp-bg); color: var(--wp-text-secondary); padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 700; } .wp-tab-btn.active .wp-tab-count { background: var(--wp-primary); color: white; } .wp-tab-btn-add { background: var(--wp-primary-light); color: var(--wp-primary); border: 2px dashed var(--wp-primary); border-style: dashed; } .wp-tab-btn-add:hover { background: var(--wp-primary); color: white; border-style: solid; } /* ============================================ 6. 공장 레이아웃 지도 섹션 ============================================ */ .wp-layout-section { background: var(--wp-bg-card); border-radius: 16px; margin-bottom: 24px; box-shadow: var(--wp-shadow); overflow: hidden; border: 1px solid var(--wp-border); } .wp-layout-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border-bottom: 1px solid var(--wp-border); } .wp-layout-title { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; color: var(--wp-text); margin: 0; } .wp-layout-title-icon { font-size: 24px; } .wp-layout-body { padding: 24px; } .wp-layout-preview { background: var(--wp-bg); border-radius: 12px; padding: 24px; text-align: center; min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; } .wp-layout-empty { color: var(--wp-text-muted); } .wp-layout-empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; } .wp-layout-empty p { margin: 0; font-size: 14px; } /* ============================================ 7. 작업장 목록 섹션 ============================================ */ .wp-workplace-section { background: var(--wp-bg-card); border-radius: 16px; box-shadow: var(--wp-shadow); overflow: hidden; border: 1px solid var(--wp-border); } .wp-section-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border-bottom: 1px solid var(--wp-border); } .wp-section-title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--wp-text); margin: 0; } .wp-section-stats { display: flex; gap: 16px; } .wp-section-stat { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--wp-text-secondary); } .wp-section-stat strong { color: var(--wp-text); font-weight: 700; } .wp-section-body { padding: 24px; } /* ============================================ 8. 작업장 그리드 ============================================ */ .wp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; } /* ============================================ 9. 작업장 카드 ============================================ */ .wp-card { background: var(--wp-bg-card); border: 1px solid var(--wp-border); border-radius: 14px; padding: 0; transition: all 0.25s ease; cursor: pointer; overflow: hidden; position: relative; } .wp-card:hover { border-color: var(--wp-primary); box-shadow: var(--wp-shadow-lg); transform: translateY(-4px); } .wp-card.inactive { opacity: 0.7; } .wp-card-header { padding: 18px 20px; display: flex; align-items: flex-start; gap: 14px; background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%); border-bottom: 1px solid var(--wp-border); } .wp-card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; } /* 작업장 용도별 아이콘 색상 */ .wp-card-icon.work-area { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); } .wp-card-icon.equipment { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); } .wp-card-icon.rest-area { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); } .wp-card-icon.meeting { background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%); } .wp-card-icon.storage { background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%); } .wp-card-icon.default, .wp-card-icon { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); } .wp-card-info { flex: 1; min-width: 0; } .wp-card-name, .wp-card-title { font-size: 16px; font-weight: 700; color: var(--wp-text); margin: 0 0 6px 0; display: flex; align-items: center; gap: 8px; } .wp-card-tags { display: flex; flex-wrap: wrap; gap: 6px; } .wp-card-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; background: var(--wp-bg); border-radius: 6px; font-size: 11px; font-weight: 600; color: var(--wp-text-secondary); } .wp-card-tag.factory { background: var(--wp-primary-light); color: var(--wp-primary); } .wp-card-tag.purpose { background: #fef3c7; color: #b45309; } .wp-card-actions { display: flex; gap: 6px; } .wp-card-btn { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: white; border: 1px solid var(--wp-border); border-radius: 8px; font-size: 14px; cursor: pointer; transition: all 0.2s ease; } .wp-card-btn:hover { transform: scale(1.1); } .wp-card-btn.map-btn:hover, .wp-card-btn.map:hover { background: var(--wp-primary); border-color: var(--wp-primary); color: white; } .wp-card-btn.edit-btn:hover, .wp-card-btn.edit:hover { background: var(--wp-info); border-color: var(--wp-info); color: white; } .wp-card-btn.delete-btn:hover, .wp-card-btn.delete:hover { background: var(--wp-danger); border-color: var(--wp-danger); color: white; } .wp-card-body { padding: 16px 20px; } .wp-card-description { font-size: 13px; color: var(--wp-text-secondary); line-height: 1.5; margin: 0; padding: 12px 20px; background: var(--wp-bg); border-bottom: 1px solid var(--wp-border); } .wp-card-map { padding: 0; min-height: 0; } .wp-card-map:empty { display: none; } .wp-card-map-preview { margin-bottom: 12px; } .wp-card-meta { display: flex; gap: 12px; padding: 12px 20px; background: var(--wp-bg); border-top: 1px solid var(--wp-border); } .wp-card-footer { padding: 12px 20px; background: var(--wp-bg); border-top: 1px solid var(--wp-border); display: flex; justify-content: space-between; align-items: center; } .wp-card-date { font-size: 11px; color: var(--wp-text-muted); } /* ============================================ 10. 빈 상태 ============================================ */ .wp-empty-state { text-align: center; padding: 60px 24px; } .wp-empty-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.4; } .wp-empty-state h3, .wp-empty-title { font-size: 20px; font-weight: 600; color: var(--wp-text); margin: 0 0 8px 0; } .wp-empty-state p, .wp-empty-description { font-size: 14px; color: var(--wp-text-secondary); margin: 0 0 24px 0; } .wp-empty-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--wp-primary); color: white; border: none; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; } .wp-empty-btn:hover { background: var(--wp-primary-dark); transform: translateY(-2px); } /* ============================================ 11. 모달 개선 ============================================ */ .wp-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15, 23, 42, 0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; backdrop-filter: blur(4px); padding: 20px; } .wp-modal { background: var(--wp-bg-card); border-radius: 20px; width: 100%; max-width: 520px; max-height: 90vh; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); animation: modalSlideIn 0.3s ease; } @keyframes modalSlideIn { from { opacity: 0; transform: translateY(-20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } } .wp-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: linear-gradient(135deg, var(--wp-primary) 0%, var(--wp-primary-dark) 100%); } .wp-modal-title { font-size: 18px; font-weight: 700; color: white; margin: 0; display: flex; align-items: center; gap: 10px; } .wp-modal-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.15); border: none; border-radius: 10px; color: white; font-size: 20px; cursor: pointer; transition: all 0.2s ease; } .wp-modal-close:hover { background: rgba(255, 255, 255, 0.25); } .wp-modal-body { padding: 24px; overflow-y: auto; max-height: calc(90vh - 160px); } .wp-modal-footer { display: flex; gap: 12px; justify-content: flex-end; padding: 16px 24px; background: var(--wp-bg); border-top: 1px solid var(--wp-border); } /* ============================================ 12. 폼 요소 ============================================ */ .wp-form-group { margin-bottom: 20px; } .wp-form-label { display: block; font-size: 13px; font-weight: 600; color: var(--wp-text); margin-bottom: 8px; } .wp-form-label.required::after { content: ' *'; color: var(--wp-danger); } .wp-form-control { width: 100%; padding: 12px 16px; font-size: 14px; border: 2px solid var(--wp-border); border-radius: 10px; background: var(--wp-bg-card); transition: all 0.2s ease; box-sizing: border-box; } .wp-form-control:focus { outline: none; border-color: var(--wp-primary); box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1); } .wp-form-control::placeholder { color: var(--wp-text-muted); } textarea.wp-form-control { resize: vertical; min-height: 100px; } .wp-form-help { margin-top: 6px; font-size: 12px; color: var(--wp-text-muted); } /* ============================================ 13. 버튼 추가 스타일 ============================================ */ .wp-btn-success { background: var(--wp-success); color: white; } .wp-btn-success:hover { background: #059669; } .wp-btn-danger { background: var(--wp-danger); color: white; } .wp-btn-danger:hover { background: #dc2626; } .wp-btn-outline { background: transparent; color: var(--wp-text-secondary); border: 2px solid var(--wp-border); } .wp-btn-outline:hover { background: var(--wp-bg-hover); border-color: var(--wp-text-secondary); color: var(--wp-text); } /* ============================================ 14. 반응형 디자인 (사이드바 260px 고려) ============================================ */ /* 사이드바 있을 때 (1460px = 1200px 콘텐츠 + 260px 사이드바) */ @media (max-width: 1460px) { .wp-stats-row { grid-template-columns: repeat(2, 1fr); } .wp-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } } /* 태블릿/좁은 화면 (1024px 이하에서 사이드바 숨김) */ @media (max-width: 1024px) { .wp-page-header { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; } .wp-header-actions { width: 100%; flex-wrap: wrap; } .wp-btn { flex: 1; justify-content: center; min-width: 100px; padding: 10px 16px; } .wp-stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; } .wp-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } } @media (max-width: 768px) { .wp-stats-row { grid-template-columns: 1fr 1fr; } .wp-grid { grid-template-columns: 1fr; } .wp-factory-tabs { padding: 8px; } .wp-tab-btn { padding: 10px 16px; font-size: 13px; } .wp-page-title { font-size: 22px; } .wp-page-title-icon { font-size: 26px; } } @media (max-width: 480px) { .wp-stats-row { grid-template-columns: 1fr; } .wp-page-header { padding: 16px; } .wp-page-title { font-size: 20px; } .wp-card-header { padding: 14px 16px; } .wp-card-meta { padding: 10px 16px; flex-wrap: wrap; } .wp-header-actions { gap: 8px; } .wp-btn { font-size: 13px; padding: 8px 12px; } } /* ============================================ 15. 애니메이션 ============================================ */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .wp-card { animation: fadeInUp 0.4s ease forwards; } .wp-card:nth-child(1) { animation-delay: 0.05s; } .wp-card:nth-child(2) { animation-delay: 0.1s; } .wp-card:nth-child(3) { animation-delay: 0.15s; } .wp-card:nth-child(4) { animation-delay: 0.2s; } .wp-card:nth-child(5) { animation-delay: 0.25s; } .wp-card:nth-child(6) { animation-delay: 0.3s; } /* ============================================ 16. 토스트 메시지 ============================================ */ .wp-toast { position: fixed; top: 24px; right: 24px; padding: 14px 24px; border-radius: 12px; color: white; font-weight: 600; font-size: 14px; z-index: 2000; box-shadow: var(--wp-shadow-lg); animation: toastSlideIn 0.3s ease; } @keyframes toastSlideIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } } .wp-toast.success { background: var(--wp-success); } .wp-toast.error { background: var(--wp-danger); } .wp-toast.warning { background: var(--wp-warning); } .wp-toast.info { background: var(--wp-info); } /* ============================================ 17. 전체화면 설비 배치 편집기 ============================================ */ .fullscreen-editor { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #0f172a; z-index: 2000; display: flex; flex-direction: column; animation: fadeIn 0.2s ease; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .fullscreen-editor-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); border-bottom: 1px solid #334155; flex-shrink: 0; } .fullscreen-editor-title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: white; } .fullscreen-editor-title span:first-child { font-size: 24px; } .fullscreen-editor-actions { display: flex; gap: 10px; } .editor-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; font-size: 14px; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; } .editor-btn-primary { background: #ef4444; color: white; } .editor-btn-primary:hover { background: #dc2626; } .editor-btn-secondary { background: #334155; color: #e2e8f0; } .editor-btn-secondary:hover { background: #475569; } .fullscreen-editor-body { display: flex; flex: 1; overflow: hidden; } /* 캔버스 영역 */ .fullscreen-canvas-area { flex: 1; display: flex; flex-direction: column; background: #1e293b; overflow: hidden; } .canvas-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: #0f172a; border-bottom: 1px solid #334155; } .toolbar-info { font-size: 13px; color: #94a3b8; } .toolbar-zoom { font-size: 12px; color: #64748b; background: #334155; padding: 4px 10px; border-radius: 4px; } .canvas-wrapper { flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px; overflow: auto; background: linear-gradient(90deg, #334155 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(#334155 1px, transparent 1px) 0 0 / 20px 20px, #1e293b; } .canvas-wrapper canvas { border: 3px solid #3b82f6; border-radius: 8px; cursor: crosshair; box-shadow: 0 0 40px rgba(59, 130, 246, 0.3); max-width: 100%; max-height: 100%; } .canvas-help { padding: 10px 16px; background: #0f172a; border-top: 1px solid #334155; text-align: center; } .canvas-help span { font-size: 13px; color: #64748b; } /* 사이드바 패널 */ .fullscreen-sidebar { width: 340px; background: #f8fafc; border-left: 1px solid #e2e8f0; display: flex; flex-direction: column; overflow: hidden; transition: width 0.3s ease, opacity 0.3s ease; } .fullscreen-sidebar.collapsed { width: 0; opacity: 0; overflow: hidden; } .sidebar-section { border-bottom: 1px solid #e2e8f0; } .sidebar-section-flex { flex: 1; display: flex; flex-direction: column; overflow: hidden; } .sidebar-section-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: white; border-bottom: 1px solid #e2e8f0; } .sidebar-section-header h4 { margin: 0; font-size: 14px; font-weight: 700; color: #1e293b; } .sidebar-section-body { padding: 16px; } .sidebar-section-body.sidebar-list { flex: 1; overflow-y: auto; padding: 12px; } .badge { font-size: 11px; padding: 3px 10px; border-radius: 10px; font-weight: 600; } .badge-success { background: #dcfce7; color: #166534; } .badge { background: #f1f5f9; color: #64748b; } .form-help { font-size: 11px; color: #94a3b8; margin-top: 6px; margin-bottom: 12px; } .new-equipment-box { margin-top: 12px; padding: 12px; background: white; border: 1px dashed #cbd5e1; border-radius: 8px; } .new-equipment-box label { display: block; font-size: 12px; font-weight: 600; color: #64748b; margin-bottom: 8px; } .new-equipment-box input { margin-bottom: 8px; } .new-equipment-box input:last-child { margin-bottom: 0; } .button-group { display: flex; gap: 8px; margin-top: 14px; } .button-group .wp-btn { flex: 1; justify-content: center; padding: 10px 12px; font-size: 13px; } .empty-message { text-align: center; color: #94a3b8; font-size: 13px; padding: 24px 12px; } /* 설비 목록 아이템 */ .equipment-list-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: white; border-radius: 8px; margin-bottom: 8px; border: 1px solid #e2e8f0; transition: all 0.2s ease; } .equipment-list-item:hover { border-color: #3b82f6; box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15); } .equipment-list-item:last-child { margin-bottom: 0; } .equipment-item-info { flex: 1; min-width: 0; } .equipment-item-name { font-size: 13px; font-weight: 600; color: #1e293b; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .equipment-item-code { font-size: 11px; color: #64748b; } .equipment-item-position { font-size: 10px; color: #94a3b8; margin-top: 2px; } .equipment-item-delete { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: #fef2f2; border: none; border-radius: 6px; color: #ef4444; cursor: pointer; font-size: 12px; transition: all 0.2s ease; flex-shrink: 0; margin-left: 8px; } .equipment-item-delete:hover { background: #ef4444; color: white; } /* 반응형 */ @media (max-width: 900px) { .fullscreen-sidebar { position: absolute; right: 0; top: 60px; bottom: 0; width: 300px; z-index: 10; box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2); } .fullscreen-sidebar.collapsed { transform: translateX(100%); width: 300px; opacity: 1; } } /* 추가 스타일 - 설비 목록 아이템 (JS에서 사용하는 클래스) */ .equipment-info { flex: 1; min-width: 0; } .equipment-info strong { font-size: 13px; font-weight: 600; color: #1e293b; } .equipment-code { font-size: 11px; color: #64748b; margin-left: 6px; } .equipment-position { font-size: 10px; color: #94a3b8; margin-top: 3px; } .btn-delete-sm { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: #fef2f2; border: none; border-radius: 6px; color: #ef4444; cursor: pointer; font-size: 12px; transition: all 0.2s ease; flex-shrink: 0; margin-left: 8px; } .btn-delete-sm:hover { background: #ef4444; color: white; }