:root { --primary-color: #667eea; --primary-dark: #5a67d8; --secondary-color: #48bb78; --bg-color: #f7fafc; --card-bg: #ffffff; --text-primary: #2d3748; --text-secondary: #718096; --border-color: #e2e8f0; --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); } body { background-color: var(--bg-color); color: var(--text-primary); line-height: 1.6; } .header-data { text-align: center; margin-bottom: 15px; padding: 30px 0; background: linear-gradient(135deg, #000000 0%, #686868 100%); color: white; border-radius: 12px; box-shadow: var(--shadow-lg); } h1 { font-size: 2.5rem; margin-bottom: 10px; font-weight: 700; } .subtitle { font-size: 1.1rem; opacity: 0.9; } .main-content { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; } @media (max-width: 968px) { .main-content { grid-template-columns: 1fr; } } .editor-section { background: var(--card-bg); border-radius: 12px; padding: 25px; box-shadow: var(--shadow); display: flex; flex-direction: column; } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .section-title { font-size: 1.3rem; font-weight: 600; color: var(--text-primary); display: flex; align-items: center; gap: 10px; } .icon { width: 24px; height: 24px; fill: currentColor; } .editor-wrapper { flex: 1; border: 2px solid var(--border-color); border-radius: 8px; overflow: hidden; position: relative; } .CodeMirror { height: 400px; font-size: 14px; } .controls { display: flex; gap: 10px; flex-wrap: wrap; } .btn { padding: 10px 20px; border: none; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; } .btn-primary { background-color: var(--primary-color); color: white; } .btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4); } .btn-secondary { background-color: var(--secondary-color); color: white; } .btn-secondary:hover { background-color: #38a169; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4); } .btn-outline { background-color: transparent; color: var(--text-primary); border: 2px solid var(--border-color); } .btn-outline:hover { background-color: var(--bg-color); border-color: var(--primary-color); color: var(--primary-color); } .btn-icon { padding: 8px 12px; font-size: 16px; } .options-panel { background: var(--card-bg); border-radius: 12px; padding: 25px; box-shadow: var(--shadow); margin-bottom: 4px; } .options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; } .option-group { display: flex; flex-direction: column; gap: 8px; } .option-label { font-weight: 500; color: var(--text-primary); font-size: 14px; } .radio-group { display: flex; gap: 15px; } .radio-wrapper { display: flex; align-items: center; gap: 5px; } .radio-wrapper input[type="radio"] { cursor: pointer; } .radio-wrapper label { cursor: pointer; font-size: 14px; color: #393030; } .number-input { width: 80px; padding: 8px 12px; border: 2px solid var(--border-color); border-radius: 6px; font-size: 14px; transition: border-color 0.3s ease; } .number-input:focus { outline: none; border-color: var(--primary-color); } .stats-panel { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-radius: 12px; padding: 25px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; text-align: center; } .stat-item { display: flex; flex-direction: column; gap: 5px; } .stat-value { font-size: 2rem; font-weight: 700; } .stat-label { font-size: 0.9rem; opacity: 0.9; } .file-input-wrapper { position: relative; overflow: hidden; display: inline-block; } .file-input-wrapper input[type=file] { position: absolute; left: -9999px; } .toast { position: fixed; bottom: 30px; right: 30px; background: var(--text-primary); color: white; padding: 15px 25px; border-radius: 8px; box-shadow: var(--shadow-lg); transform: translateY(100px); opacity: 0; transition: all 0.3s ease; z-index: 1000; } .toast.show { transform: translateY(0); opacity: 1; } .loading { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 50%; border-top-color: white; animation: spin 0.8s ease-in-out infinite; } @keyframes spin { to { transform: rotate(360deg); } } .example-btn { background-color: #edf2f7; color: var(--text-primary); padding: 6px 12px; font-size: 12px; border-radius: 4px; cursor: pointer; transition: all 0.2s ease; } .example-btn:hover { background-color: #e2e8f0; }