* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #f5f5f5; color: #333; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 20px; background: white; min-height: 100vh; }
.login-container { max-width: 400px; margin: 100px auto; padding: 40px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); border-radius: 8px; }
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #eee; }
header h1 { font-size: 28px; color: #2c3e50; }
.header-actions { display: flex; gap: 10px; }
.actions { margin-bottom: 20px; }
.btn { display: inline-block; padding: 10px 20px; background: #3498db; color: white; text-decoration: none; border: none; border-radius: 5px; cursor: pointer; font-size: 14px; transition: background 0.3s; }
.btn:hover { background: #2980b9; }
.btn-primary { background: #3498db; }
.btn-secondary { background: #95a5a6; }
.btn-success { background: #27ae60; }
.btn-danger { background: #e74c3c; }
.btn-small { padding: 6px 12px; font-size: 12px; }
.btn-regen { background: #9b59b6; padding: 6px 12px; font-size: 12px; }
.form-group { margin-bottom: 20px; }
.form-group.inline { display: flex; gap: 10px; align-items: center; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #2c3e50; }
.form-group input[type="text"], .form-group input[type="password"], .form-group textarea, .form-group select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; font-size: 14px; }
.form-group.inline input[type="text"] { flex: 1; }
.form-group.inline select { width: auto; min-width: 150px; }
.form-group textarea { font-family: monospace; resize: vertical; }
.form-group small { display: block; margin-top: 5px; color: #7f8c8d; font-size: 12px; }
.alert { padding: 15px; margin-bottom: 20px; border-radius: 5px; }
.alert-error { background: #fadbd8; color: #c0392b; border: 1px solid #e74c3c; }
.alert-success { background: #d5f4e6; color: #229954; border: 1px solid #27ae60; }
.song-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.song-table th, .song-table td { padding: 12px; text-align: left; border-bottom: 1px solid #eee; }
.song-table th { background: #f8f9fa; font-weight: 600; color: #2c3e50; }
.add-line-form { background: #f8f9fa; padding: 20px; border-radius: 5px; margin-bottom: 30px; }
.lines-container { margin-top: 20px; }
.line-item { display: flex; align-items: flex-start; gap: 15px; padding: 15px; background: #f8f9fa; border-radius: 5px; margin-bottom: 10px; border: 2px solid transparent; transition: all 0.3s; }
.line-item:hover { background: #e9ecef; }
.line-item.sortable-chosen { border-color: #3498db; box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3); }
.line-handle { cursor: grab; color: #95a5a6; font-size: 20px; user-select: none; padding: 5px; }
.line-number { font-weight: bold; color: #7f8c8d; min-width: 30px; font-family: monospace; }
.line-content { flex: 1; }
.line-text { font-size: 16px; margin-bottom: 10px; color: #2c3e50; }
.line-meta { display: flex; gap: 15px; align-items: center; }
.voice-select { padding: 5px 10px; border: 1px solid #ddd; border-radius: 3px; font-size: 12px; }
.line-meta audio { height: 32px; }
.line-actions { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
button:disabled { opacity: 0.6; cursor: not-allowed; }