:root { --primary-color: #3b82f6; --secondary-color: #64748b; --success-color: #22c55e; --danger-color: #ef4444; --bg-color: #f8fafc; --card-bg: #ffffff; --text-color: #1e293b; --border-color: #e2e8f0; } * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg-color); color: var(--text-color); line-height: 1.5; padding: 16px; max-width: 600px; margin: 0 auto; } .container { display: flex; flex-direction: column; gap: 16px; padding-bottom: 80px; /* Space for footer */ } header h1 { display: none; } /* Voice Section */ .voice-section { display: flex; flex-direction: column; gap: 8px; } textarea { width: 100%; padding: 8px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 16px; resize: none; background: var(--card-bg); min-height: 100px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); } .row-layout { display: flex; gap: 8px; } .row-layout .btn { flex: 1; } /* Buttons */ .btn { display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.2s; padding: 12px 20px; min-height: 48px; /* Ensure touch target size */ } .btn-primary { background-color: var(--primary-color); color: white; } .btn-secondary { background-color: white; color: var(--secondary-color); border: 1px solid var(--border-color); } .btn-success { background-color: var(--success-color); color: white; } .btn-danger { background-color: var(--danger-color); color: white; } .btn:active { transform: scale(0.98); opacity: 0.9; } .icon { margin-right: 6px; font-size: 18px; } #recording-status { color: var(--danger-color); font-weight: bold; display: flex; align-items: center; gap: 6px; justify-content: center; font-size: 14px; } /* Form Section */ .form-section { background: var(--card-bg); padding: 12px; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); display: flex; flex-direction: column; gap: 12px; } .form-group { display: flex; } .form-group.vertical { flex-direction: column; gap: 4px; } .form-group.horizontal { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; } .form-group.horizontal label { flex-shrink: 0; width: 70px; } .form-group.horizontal input { /* flex: 1; Removed this because it's now inside input-group */ width: 100%; } .input-group { display: flex; flex: 1; gap: 8px; align-items: center; } .input-group input { flex: 1; } .btn-now { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); border-radius: 6px; font-size: 18px; /* Icon size */ cursor: pointer; background: white; padding: 0 10px; height: 42px; /* Match standard input height (16px font + 8px*2 padding + 2px border) */ flex-shrink: 0; } .btn-now:active { background-color: #f1f5f9; transform: scale(0.98); } .form-group label { font-size: 14px; color: var(--secondary-color); font-weight: 500; } .form-group input { padding: 8px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 16px; background: #fdfdfd; } /* Modal Content */ .modal-content { background: white; padding: 24px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; min-width: 280px; } .modal-logs { width: 100%; margin: 16px 0; text-align: left; font-size: 14px; color: #666; max-height: 200px; overflow-y: auto; } .modal-log-item { margin-bottom: 8px; padding-left: 20px; position: relative; } .modal-log-item::before { content: "•"; position: absolute; left: 5px; color: var(--primary-color); } .modal-log-item.success { color: var(--success-color); } .modal-log-item.success::before { content: "✓"; color: var(--success-color); } /* Footer Actions */ .footer-actions { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-top: 12px; } /* Utilities */ .hidden { display: none !important; } /* Loading Overlay */ #loading-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(2px); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1000; } .spinner { width: 40px; height: 40px; border: 4px solid var(--border-color); border-top-color: var(--primary-color); border-radius: 50%; animation: spin 1s linear infinite; } .loading-text { margin-top: 12px; color: var(--secondary-color); font-weight: 500; } @keyframes spin { to { transform: rotate(360deg); } }