* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; padding: 20px; } .container { max-width: 1200px; margin: 0 auto; background: rgba(255, 255, 255, 0.95); border-radius: 20px; padding: 30px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1); backdrop-filter: blur(10px); } h1 { text-align: center; color: #333; margin-bottom: 30px; font-size: 2.5rem; background: linear-gradient(135deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .input-section { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; } .text-input-group { display: flex; flex-direction: column; } label { font-weight: 600; margin-bottom: 8px; color: #555; font-size: 1.1rem; } textarea { width: 100%; height: 200px; padding: 15px; border: 2px solid #e1e5e9; border-radius: 12px; font-size: 14px; font-family: inherit; resize: vertical; transition: all 0.3s ease; background: #fafbfc; } textarea:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); transform: translateY(-2px); } .controls { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; flex-wrap: wrap; gap: 15px; } .order-control { display: flex; align-items: center; gap: 10px; } .order-control label { margin: 0; font-size: 1rem; } select { padding: 10px 15px; border: 2px solid #e1e5e9; border-radius: 8px; font-size: 14px; background: white; cursor: pointer; transition: all 0.3s ease; } select:focus { outline: none; border-color: #667eea; } .buttons { display: flex; gap: 10px; } button { padding: 12px 24px; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; } .btn-primary { background: linear-gradient(135deg, #667eea, #764ba2); color: white; } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3); } .btn-secondary { background: #f8f9fa; color: #333; border: 2px solid #e9ecef; } .btn-secondary:hover { background: #e9ecef; transform: translateY(-1px); } .output-section { margin-top: 30px; } .interlinear-display { background: #f8f9fa; border-radius: 12px; padding: 25px; border: 1px solid #e9ecef; min-height: 200px; } .sentence-pair { margin-bottom: 25px; padding: 20px; background: white; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); transition: transform 0.2s ease; } .sentence-pair:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .sentence-line { padding: 8px 0; font-size: 16px; line-height: 1.6; } .source-line { font-weight: 500; color: #2c3e50; } .target-line { color: #7f8c8d; font-style: italic; } .sentence-number { display: inline-block; background: linear-gradient(135deg, #667eea, #764ba2); color: white; padding: 4px 10px; border-radius: 15px; font-size: 12px; font-weight: bold; margin-bottom: 10px; min-width: 30px; text-align: center; } .empty-state { text-align: center; color: #6c757d; font-style: italic; padding: 40px; } @media (max-width: 768px) { .input-section { grid-template-columns: 1fr; } .controls { flex-direction: column; align-items: stretch; } .buttons { justify-content: center; } h1 { font-size: 2rem; } }