* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background-color: #f5f5f5; color: #333; line-height: 1.6; } .container { max-width: 1400px; margin: 0 auto; padding: 0 20px; } /* Шапка */ .header { background: linear-gradient(135deg, #2c3e50, #4a6491); color: white; padding: 20px 0; border-radius: 0 0 10px 10px; margin-bottom: 30px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .header-top { text-align: center; padding-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); margin-bottom: 15px; } .header h1 { font-size: 2.5rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 5px; } .header h2 { font-size: 1.2rem; font-weight: 300; opacity: 0.9; } .header-nav { display: flex; justify-content: center; gap: 40px; } .nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 6px; cursor: pointer; transition: all 0.3s; } .nav-item.active, .nav-item:hover { background-color: rgba(255, 255, 255, 0.15); } .nav-item i { font-size: 1.2rem; } /* Основной контент */ .main-content { display: flex; flex-direction: column; gap: 25px; } .upload-section { background: white; border-radius: 10px; padding: 30px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); } .upload-area { border: 3px dashed #4a6491; border-radius: 10px; padding: 50px 20px; text-align: center; cursor: pointer; transition: all 0.3s; } .upload-area:hover { background-color: rgba(74, 100, 145, 0.05); border-color: #2c3e50; } .upload-area i { font-size: 3rem; color: #4a6491; margin-bottom: 20px; } .upload-area h3 { margin-bottom: 10px; color: #2c3e50; } .upload-area p { color: #666; margin-bottom: 25px; } .btn { background: linear-gradient(to right, #4a6491, #2c3e50); color: white; border: none; padding: 12px 30px; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; } .btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .btn:disabled { background: #cccccc; cursor: not-allowed; transform: none; box-shadow: none; } .btn-small { background: #4a6491; color: white; border: none; padding: 8px 16px; border-radius: 4px; font-size: 0.9rem; cursor: pointer; transition: all 0.3s; } .btn-small:hover { background: #2c3e50; } .file-info { margin-top: 25px; padding: 20px; background-color: #f8f9fa; border-radius: 8px; border-left: 4px solid #4a6491; } .file-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .file-header h3 { display: flex; align-items: center; gap: 10px; color: #2c3e50; } .file-stats { display: flex; gap: 30px; } .stat { display: flex; flex-direction: column; } .stat-label { font-size: 0.9rem; color: #666; } .stat-value { font-size: 1.5rem; font-weight: 700; color: #2c3e50; } /* Панель модулей */ .modules-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; } .module-item { background: white; border-radius: 8px; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; transition: all 0.3s; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08); } .module-item:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .module-item i { font-size: 2rem; color: #4a6491; } .module-item span { font-weight: 600; color: #333; } /* Область предпросмотра */ .content-section { background: white; border-radius: 10px; padding: 30px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); margin-bottom: 40px; } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eee; } .section-header h3 { display: flex; align-items: center; gap: 10px; color: #2c3e50; } .preview-container { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; } .raw-preview, .parsed-data { display: flex; flex-direction: column; } .raw-preview h4, .parsed-data h4 { margin-bottom: 15px; color: #2c3e50; padding-bottom: 8px; border-bottom: 2px solid #f0f0f0; } #rawContent { background-color: #f8f9fa; border-radius: 6px; padding: 15px; height: 400px; overflow-y: auto; font-family: 'Courier New', monospace; font-size: 0.9rem; line-height: 1.5; border: 1px solid #eee; white-space: pre-wrap; } .data-table-container { height: 400px; overflow-y: auto; border: 1px solid #eee; border-radius: 6px; } table { width: 100%; border-collapse: collapse; } thead { position: sticky; top: 0; background-color: #4a6491; color: white; } th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #eee; } tbody tr:hover { background-color: #f8f9fa; } /* Адаптивность */ @media (max-width: 1024px) { .preview-container { grid-template-columns: 1fr; } .modules-nav { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 768px) { .header-nav { flex-direction: column; gap: 10px; align-items: center; } .modules-nav { grid-template-columns: 1fr; } .section-header { flex-direction: column; gap: 15px; align-items: flex-start; } }