e629a20cec
CSS: - Dark background (#0a0a0f, #0d0d12, #15151b) - Orange accent (#ff6b35) - Muted text (#a1a1aa, #71717a) - Inter font from Google Fonts - Workout type colors (push/pull/legs/etc) Dashboard: - Calendar dots are CSS circles, not emoji - Coach avatar uses SVG icon - All emojis replaced with Icons.jsx SVGs - Navigation uses proper icons WorkoutPage: - Warmup exercises without emojis - Check icons instead of emoji checkmarks - Arrow icons for navigation - Fire icon for warmup section Professional fitness app aesthetic inspired by Nike/FITBOD
136 lines
5.4 KiB
CSS
136 lines
5.4 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
/* Dark fitness palette */
|
|
--bg-primary: #0a0a0f;
|
|
--bg-secondary: #0d0d12;
|
|
--bg-card: #15151b;
|
|
--bg-card-hover: #1a1a22;
|
|
--bg: #0a0a0f;
|
|
|
|
/* Text colors */
|
|
--text-primary: #ffffff;
|
|
--text-secondary: #a1a1aa;
|
|
--text-muted: #71717a;
|
|
--text: #ffffff;
|
|
|
|
/* Accent - energetic orange */
|
|
--accent: #ff6b35;
|
|
--accent-hover: #ff8555;
|
|
|
|
/* Status colors */
|
|
--success: #22c55e;
|
|
--warning: #f59e0b;
|
|
--error: #ef4444;
|
|
|
|
/* Border */
|
|
--border: #1f1f28;
|
|
|
|
/* Workout type colors - muted, professional */
|
|
--workout-push: #ef4444;
|
|
--workout-pull: #3b82f6;
|
|
--workout-legs: #22c55e;
|
|
--workout-shoulders: #f59e0b;
|
|
--workout-upper: #8b5cf6;
|
|
--workout-lower: #06b6d4;
|
|
--workout-default: #ff6b35;
|
|
}
|
|
|
|
html, body {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
min-height: 100vh;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-weight: 700;
|
|
}
|
|
|
|
#root {
|
|
min-height: 100vh;
|
|
}
|
|
|
|
button {
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
|
|
input {
|
|
font-family: inherit;
|
|
outline: none;
|
|
}
|
|
|
|
/* Scrollbar styling */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--border);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--text-secondary);
|
|
}
|
|
|
|
/* Auth pages */
|
|
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
|
|
.auth-card { background: var(--bg-card); padding: 40px; border-radius: 16px; width: 100%; max-width: 400px; text-align: center; }
|
|
.auth-card h1 { font-size: 2.5rem; margin-bottom: 8px; }
|
|
.auth-card h2 { color: var(--text-secondary); font-weight: 400; margin-bottom: 24px; }
|
|
.auth-card form { display: flex; flex-direction: column; gap: 16px; }
|
|
.auth-card input { padding: 14px 16px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-secondary); color: var(--text-primary); font-size: 1rem; }
|
|
.auth-card input:focus { border-color: var(--accent); }
|
|
.auth-card button[type="submit"] { padding: 14px; background: var(--accent); color: white; border-radius: 8px; font-size: 1rem; font-weight: 600; transition: background 0.2s; }
|
|
.auth-card button[type="submit"]:hover:not(:disabled) { background: var(--accent-hover); }
|
|
.auth-card button:disabled { opacity: 0.6; cursor: not-allowed; }
|
|
.auth-card .error { background: rgba(233,69,96,0.15); color: var(--accent); padding: 12px; border-radius: 8px; margin-bottom: 16px; }
|
|
.auth-link { margin-top: 20px; color: var(--text-secondary); }
|
|
.auth-link a { color: var(--accent); text-decoration: none; }
|
|
|
|
/* Onboarding */
|
|
.onboarding { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
|
|
.onboarding-card { background: var(--bg-card); padding: 32px; border-radius: 16px; width: 100%; max-width: 480px; }
|
|
.steps-indicator { display: flex; justify-content: center; gap: 12px; margin-bottom: 28px; }
|
|
.steps-indicator span { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; font-size: 0.875rem; color: var(--text-secondary); }
|
|
.steps-indicator span.active { background: var(--accent); color: white; }
|
|
.step h2 { margin-bottom: 20px; text-align: center; }
|
|
.step .hint { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 16px; text-align: center; }
|
|
.field { margin-bottom: 16px; }
|
|
.field label { display: block; margin-bottom: 8px; color: var(--text-secondary); font-size: 0.875rem; }
|
|
.field input { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-secondary); color: var(--text-primary); font-size: 1rem; }
|
|
.field input:focus { border-color: var(--accent); }
|
|
.btn-group { display: flex; gap: 8px; }
|
|
.btn-group.vertical { flex-direction: column; }
|
|
.btn-group button { flex: 1; padding: 12px; border-radius: 8px; background: var(--bg-secondary); color: var(--text-secondary); border: 1px solid var(--border); transition: all 0.2s; }
|
|
.btn-group button:hover { border-color: var(--accent); }
|
|
.btn-group button.active { background: var(--accent); color: white; border-color: var(--accent); }
|
|
.rm-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
|
|
.rm-fields .field { margin-bottom: 0; }
|
|
.bodyfat-result { background: rgba(78,204,163,0.15); color: var(--success); padding: 16px; border-radius: 8px; text-align: center; margin: 16px 0; }
|
|
.nav-btns { display: flex; gap: 12px; margin-top: 24px; }
|
|
.nav-btns button { flex: 1; padding: 14px; border-radius: 8px; font-size: 1rem; }
|
|
.nav-btns button:first-child { background: var(--bg-secondary); color: var(--text-secondary); }
|
|
.next-btn, .finish-btn { background: var(--accent) !important; color: white !important; font-weight: 600; }
|
|
.next-btn:hover:not(:disabled), .finish-btn:hover:not(:disabled) { background: var(--accent-hover) !important; }
|
|
button:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
|
|
/* Header logout */
|
|
.header-left { display: flex; align-items: center; gap: 16px; }
|
|
.logout-btn { padding: 6px 12px; background: var(--bg-secondary); color: var(--text-secondary); border-radius: 6px; font-size: 0.75rem; }
|
|
.logout-btn:hover { background: var(--border); }
|