/* 기본 스타일 리셋 */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', 'Apple SD Gothic Neo', Arial, sans-serif; line-height: 1.6; color: #333; background-color: #f8f9fa; min-height: 100vh; display: flex; flex-direction: column; } /* 네비게이션 */ .navbar { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 1rem 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; } .nav-logo { color: white; text-decoration: none; font-size: 1.5rem; font-weight: bold; } .nav-logo i { margin-right: 0.5rem; } .nav-menu { display: flex; list-style: none; gap: 2rem; } .nav-link { color: white; text-decoration: none; padding: 0.5rem 1rem; border-radius: 5px; transition: background-color 0.3s; } .nav-link:hover { background-color: rgba(255,255,255,0.2); } /* 메인 콘텐츠 */ .main-content { flex: 1; max-width: 1200px; margin: 2rem auto; padding: 0 2rem; width: 100%; } /* 카드 스타일 */ .card { background: white; border-radius: 10px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 4px 15px rgba(0,0,0,0.1); border: 1px solid #e9ecef; } .card-header { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid #f8f9fa; } .card-title { font-size: 1.5rem; color: #495057; margin-bottom: 0.5rem; } .card-subtitle { color: #6c757d; font-size: 0.9rem; } /* 그리드 레이아웃 */ .grid { display: grid; gap: 2rem; } .grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } .grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } /* 버튼 */ .btn { display: inline-block; padding: 0.75rem 1.5rem; border: none; border-radius: 5px; text-decoration: none; text-align: center; cursor: pointer; transition: all 0.3s; font-size: 1rem; font-weight: 500; } .btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4); } .btn-success { background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%); color: white; } .btn-success:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(86, 171, 47, 0.4); } .btn-danger { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%); color: white; } .btn-secondary { background: #6c757d; color: white; } /* 폼 요소 */ .form-group { margin-bottom: 1.5rem; } .form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #495057; } .form-control { width: 100%; padding: 0.75rem; border: 1px solid #ced4da; border-radius: 5px; font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s; } .form-control:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); } /* 드래그 앤 드롭 영역 */ .drop-zone { border: 2px dashed #ced4da; border-radius: 10px; padding: 3rem; text-align: center; transition: all 0.3s; background-color: #f8f9fa; cursor: pointer; } .drop-zone:hover, .drop-zone.dragover { border-color: #667eea; background-color: rgba(102, 126, 234, 0.05); } .drop-zone i { font-size: 3rem; color: #6c757d; margin-bottom: 1rem; } .drop-zone.dragover i { color: #667eea; } /* 상태 표시 */ .status { padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 500; display: inline-block; } .status-success { background-color: #d4edda; color: #155724; } .status-processing { background-color: #fff3cd; color: #856404; } .status-error { background-color: #f8d7da; color: #721c24; } /* 테이블 */ .table { width: 100%; border-collapse: collapse; margin-top: 1rem; } .table th, .table td { padding: 1rem; text-align: left; border-bottom: 1px solid #e9ecef; } .table th { background-color: #f8f9fa; font-weight: 600; color: #495057; } .table tbody tr:hover { background-color: #f8f9fa; } /* 진행률 바 */ .progress { width: 100%; height: 8px; background-color: #e9ecef; border-radius: 4px; overflow: hidden; margin: 1rem 0; } .progress-bar { height: 100%; background: linear-gradient(90deg, #667eea, #764ba2); transition: width 0.3s; border-radius: 4px; } /* 알림 */ .alert { padding: 1rem; border-radius: 5px; margin-bottom: 1rem; border-left: 4px solid; } .alert-success { background-color: #d4edda; color: #155724; border-left-color: #28a745; } .alert-danger { background-color: #f8d7da; color: #721c24; border-left-color: #dc3545; } .alert-info { background-color: #d1ecf1; color: #0c5460; border-left-color: #17a2b8; } /* 푸터 */ .footer { background-color: #343a40; color: white; text-align: center; padding: 1rem 0; margin-top: auto; } /* 반응형 디자인 */ @media (max-width: 768px) { .nav-container { flex-direction: column; gap: 1rem; } .nav-menu { flex-wrap: wrap; justify-content: center; gap: 1rem; } .main-content { padding: 0 1rem; } .grid-2, .grid-3 { grid-template-columns: 1fr; } } /* 로딩 스피너 */ .spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* 채팅 인터페이스 */ .chat-container { height: 500px; display: flex; flex-direction: column; border: 1px solid #e9ecef; border-radius: 10px; overflow: hidden; } .chat-messages { flex: 1; padding: 1rem; overflow-y: auto; background-color: #f8f9fa; } .chat-input-area { padding: 1rem; background-color: white; border-top: 1px solid #e9ecef; display: flex; gap: 0.5rem; } .chat-input { flex: 1; } .message { margin-bottom: 1rem; padding: 0.75rem; border-radius: 10px; max-width: 70%; } .message.user { background-color: #667eea; color: white; margin-left: auto; } .message.assistant { background-color: white; border: 1px solid #e9ecef; }