/* 전역 스타일 리셋 */ * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #2d3748; background-color: #f7fafc; } #root { min-height: 100vh; display: flex; flex-direction: column; } .app { min-height: 100vh; display: flex; flex-direction: column; } .main-content { flex: 1; padding: 0; background: #f7fafc; } .page-container { max-width: 1400px; margin: 0 auto; padding: 24px; } /* 로딩 스피너 */ .loading-container { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; background: #f7fafc; color: #718096; } .loading-spinner-large { width: 48px; height: 48px; border: 4px solid #e2e8f0; border-top: 4px solid #667eea; border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 16px; } .loading-spinner { width: 20px; height: 20px; border: 2px solid #e2e8f0; border-top: 2px solid #667eea; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* 접근 거부 페이지 */ .access-denied-container { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: #f7fafc; padding: 24px; } .access-denied-content { text-align: center; max-width: 500px; background: white; padding: 48px 32px; border-radius: 16px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); } .access-denied-icon { font-size: 64px; margin-bottom: 24px; } .access-denied-content h2 { color: #2d3748; font-size: 24px; font-weight: 700; margin-bottom: 16px; } .access-denied-content p { color: #718096; font-size: 16px; margin-bottom: 16px; line-height: 1.6; } .permission-info, .role-info { background: #f7fafc; padding: 12px 16px; border-radius: 8px; margin: 16px 0; font-size: 14px; } .permission-info code, .role-info code { background: #e2e8f0; padding: 2px 6px; border-radius: 4px; font-family: 'Monaco', 'Menlo', monospace; font-size: 13px; color: #2d3748; } .user-info { background: #edf2f7; padding: 16px; border-radius: 8px; margin: 20px 0; text-align: left; } .user-info p { margin-bottom: 8px; font-size: 14px; } .user-info strong { color: #2d3748; } .back-button { padding: 12px 24px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; margin-top: 24px; } .back-button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3); } /* 유틸리티 클래스 */ .text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; } .mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .p-0 { padding: 0; } .p-1 { padding: 8px; } .p-2 { padding: 16px; } .p-3 { padding: 24px; } .p-4 { padding: 32px; } /* 반응형 유틸리티 */ .hidden-mobile { display: block; } .hidden-desktop { display: none; } @media (max-width: 768px) { .hidden-mobile { display: none; } .hidden-desktop { display: block; } .page-container { padding: 16px; } } /* 스크롤바 스타일링 */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: #f1f5f9; } ::-webkit-scrollbar-thumb { background: #cbd5e0; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #a0aec0; } /* 포커스 스타일 */ *:focus { outline: 2px solid #667eea; outline-offset: 2px; } button:focus, input:focus, select:focus, textarea:focus { outline: 2px solid #667eea; outline-offset: 2px; } /* 선택 스타일 */ ::selection { background: rgba(102, 126, 234, 0.2); color: #2d3748; }