Spaces:
Sleeping
Sleeping
Download static/styles.css from HIMANEESH123/posture_correction: direct link, hf CLI and curl.
- Browser
- Download file 65 kB
-
https://huggingface.co/spaces/HIMANEESH123/posture_correction/resolve/main/static/styles.css
- Command line
-
hf download hf://spaces/HIMANEESH123/posture_correction/static/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/HIMANEESH123/posture_correction/resolve/main/static/styles.css
65 kB
/* βββββββββββββββββββββββββββββββββββββββββββ
YOGAMATE ULTRA PREMIUM - Version 3.0
Glassmorphism + Neumorphism Fusion
Apple + Notion + Stripe Inspired
βββββββββββββββββββββββββββββββββββββββββββ */
/* βββ CSS Variables βββ */
:root {
/* Glass Variables */
--glass-bg: rgba(255, 255, 255, 0.06);
--glass-border: rgba(255, 255, 255, 0.08);
--glass-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
--glass-blur: blur(24px);
--glass-radius: 24px;
--glass-padding: 28px;
/* Colors - Premium Gradient Palette */
--primary-50: #F5F0FF;
--primary-100: #EDE4FF;
--primary-200: #D5C4FF;
--primary-300: #C4B5FD;
--primary-400: #A78BFA;
--primary-500: #8B5CF6;
--primary-600: #7C3AED;
--primary-700: #6D28D9;
--primary-800: #5B21B6;
--primary-900: #2E1065;
--accent-1: #EC4899;
--accent-2: #F59E0B;
--accent-3: #06B6D4;
--accent-4: #34D399;
--accent-5: #F472B6;
--success: #22C55E;
--warning: #F59E0B;
--danger: #EF4444;
--info: #3B82F6;
--text-primary: #FFFFFF;
--text-secondary: rgba(255, 255, 255, 0.85);
--text-muted: rgba(255, 255, 255, 0.5);
--text-glow: rgba(139, 92, 246, 0.3);
--sidebar-width: 260px;
--radius-sm: 12px;
--radius-md: 16px;
--radius-lg: 24px;
--radius-xl: 32px;
--radius-full: 9999px;
--shadow-sm: 0 4px 24px rgba(0, 0, 0, 0.12);
--shadow-md: 0 8px 48px rgba(0, 0, 0, 0.2);
--shadow-lg: 0 16px 72px rgba(0, 0, 0, 0.3);
--shadow-xl: 0 24px 96px rgba(0, 0, 0, 0.4);
--shadow-glow: 0 0 60px rgba(139, 92, 246, 0.1);
--transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
--transition-smooth: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
--font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
/* βββ Auth Modal βββ */
.auth-modal {
position: fixed;
inset: 0;
z-index: 9999;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
display: none;
align-items: center;
justify-content: center;
padding: 20px;
}
.auth-modal-content {
max-width: 400px;
width: 100%;
padding: 40px 32px;
text-align: center;
animation: fadeSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.auth-logo {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
margin-bottom: 28px;
}
.auth-form h2 {
font-size: 22px;
font-weight: 700;
margin-bottom: 20px;
color: var(--text-primary);
}
.auth-field {
margin-bottom: 16px;
}
.auth-field input {
width: 100%;
padding: 12px 16px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: var(--radius-sm);
color: var(--text-primary);
font-size: 14px;
font-family: inherit;
transition: all var(--transition);
outline: none;
}
.auth-field input:focus {
border-color: var(--primary-400);
box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.06);
background: rgba(255, 255, 255, 0.06);
}
.auth-field input::placeholder {
color: var(--text-muted);
}
.auth-toggle {
margin-top: 16px;
font-size: 14px;
color: var(--text-secondary);
}
.auth-toggle a {
color: var(--primary-400);
font-weight: 600;
cursor: pointer;
text-decoration: none;
}
.auth-toggle a:hover {
text-decoration: underline;
}
.auth-error {
margin-top: 16px;
padding: 10px 16px;
background: rgba(239, 68, 68, 0.08);
border: 1px solid rgba(239, 68, 68, 0.08);
border-radius: var(--radius-sm);
color: #F87171;
font-size: 13px;
display: none;
}
.auth-error.visible {
display: block;
}
/* βββ Reference overlay βββ */
#reference-overlay {
position: absolute;
bottom: 10px;
right: 10px;
width: 120px;
height: 90px;
border-radius: 8px;
overflow: hidden;
border: 2px solid rgba(255, 255, 255, 0.2);
z-index: 4;
background: rgba(0,0,0,0.5);
box-shadow: 0 4px 20px rgba(0,0,0,0.4);
display: none;
}
#reference-overlay img {
width: 100%;
height: 100%;
object-fit: cover;
}
/* βββ Login Overlay βββ */
.login-overlay {
position: fixed;
inset: 0;
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
background: radial-gradient(ellipse at 30% 40%, rgba(139,92,246,0.3), transparent 70%),
radial-gradient(ellipse at 70% 60%, rgba(236,72,153,0.2), transparent 70%),
#0a0618;
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
padding: 20px;
}
.login-card {
width: 100%;
max-width: 400px;
background: rgba(255,255,255,0.03);
backdrop-filter: blur(32px);
-webkit-backdrop-filter: blur(32px);
border: 1px solid rgba(255,255,255,0.08);
border-radius: var(--radius-xl);
padding: 40px 36px 32px;
box-shadow: 0 32px 80px rgba(0,0,0,0.6);
animation: fadeSlideUp 0.5s ease;
}
.login-header {
text-align: center;
margin-bottom: 32px;
}
.login-header .login-logo {
font-size: 48px;
margin-bottom: 8px;
}
.login-header h1 {
font-size: 28px;
font-weight: 800;
color: var(--text-primary);
letter-spacing: -0.5px;
}
.login-header h1 .highlight {
background: linear-gradient(135deg, var(--primary-400), var(--accent-1));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.login-header p {
color: var(--text-secondary);
font-size: 14px;
margin-top: 4px;
}
.login-error {
background: rgba(239,68,68,0.1);
border: 1px solid rgba(239,68,68,0.2);
color: #F87171;
padding: 8px 12px;
border-radius: var(--radius-sm);
font-size: 13px;
margin-bottom: 12px;
text-align: center;
}
.login-actions {
margin-top: 24px;
}
.login-footer {
text-align: center;
margin-top: 16px;
font-size: 13px;
color: var(--text-muted);
}
.login-footer a {
color: var(--primary-400);
text-decoration: none;
font-weight: 600;
}
.login-footer a:hover {
text-decoration: underline;
}
/* βββ Sidebar User Info βββ */
.sidebar-user {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 12px;
margin-bottom: 20px;
background: rgba(255,255,255,0.03);
border-radius: var(--radius-md);
border: 1px solid rgba(255,255,255,0.04);
}
.user-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary-500), var(--accent-1));
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
flex-shrink: 0;
box-shadow: 0 2px 12px rgba(139,92,246,0.3);
}
.user-info {
flex: 1;
min-width: 0;
}
.user-name {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.user-email {
font-size: 11px;
color: var(--text-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.user-logout {
background: rgba(239,68,68,0.08);
border: none;
border-radius: 50%;
width: 32px;
height: 32px;
color: #F87171;
font-size: 18px;
cursor: pointer;
transition: all 0.3s;
display: flex;
align-items: center;
justify-content: center;
}
.user-logout:hover {
background: rgba(239,68,68,0.2);
transform: scale(1.05);
}
/* βββ Responsive adjustments βββ */
@media (max-width: 900px) {
.sidebar-user {
flex-direction: column;
align-items: center;
padding: 12px 8px;
}
.user-info {
text-align: center;
}
.user-logout {
margin-top: 4px;
}
}
/* βββ Score ring βββ */
.score-ring-container {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.score-ring-container svg {
transform: rotate(-90deg);
width: 80px;
height: 80px;
}
.score-ring-container .bg-circle {
fill: none;
stroke: rgba(255, 255, 255, 0.08);
stroke-width: 6;
}
.score-ring-container .progress-circle {
fill: none;
stroke-width: 6;
stroke-linecap: round;
transition: stroke-dashoffset 0.4s ease, stroke 0.4s ease;
}
.score-ring-container .score-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
line-height: 1.2;
}
.score-ring-container .score-text span {
display: block;
font-size: 22px;
font-weight: 800;
color: var(--text-primary);
}
.score-ring-container .score-text .score-label {
font-size: 9px;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.04em;
}
/* βββ Reset & Base βββ */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
font-family: var(--font-family);
font-size: 15px;
line-height: 1.6;
color: var(--text-primary);
min-height: 100vh;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background:
radial-gradient(ellipse at 10% 20%, rgba(139, 92, 246, 0.35) 0%, transparent 50%),
radial-gradient(ellipse at 90% 80%, rgba(236, 72, 153, 0.25) 0%, transparent 50%),
radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 60%),
radial-gradient(ellipse at 30% 70%, rgba(52, 211, 153, 0.08) 0%, transparent 40%),
linear-gradient(135deg, #0a0618 0%, #1a0d3a 25%, #0f0c29 50%, #1a0d3a 75%, #0a0618 100%);
background-attachment: fixed;
position: relative;
overflow-x: hidden;
}
/* βββ Animated Background βββ */
body::before {
content: '';
position: fixed;
inset: 0;
z-index: 0;
background-image:
radial-gradient(2px 2px at 10% 20%, rgba(255,255,255,0.12), transparent),
radial-gradient(2px 2px at 30% 60%, rgba(255,255,255,0.08), transparent),
radial-gradient(2px 2px at 50% 30%, rgba(255,255,255,0.10), transparent),
radial-gradient(2px 2px at 70% 70%, rgba(255,255,255,0.06), transparent),
radial-gradient(2px 2px at 90% 40%, rgba(255,255,255,0.12), transparent),
radial-gradient(2px 2px at 15% 85%, rgba(255,255,255,0.08), transparent),
radial-gradient(2px 2px at 85% 15%, rgba(255,255,255,0.10), transparent);
background-size: 200px 200px;
animation: sparkle 20s linear infinite;
pointer-events: none;
}
@keyframes sparkle {
0% { transform: translate(0, 0) scale(1); }
50% { transform: translate(-50px, -50px) scale(1.1); }
100% { transform: translate(-100px, -100px) scale(1); }
}
/* Floating Orbs */
body::after {
content: '';
position: fixed;
inset: 0;
z-index: 0;
background:
radial-gradient(circle at 15% 75%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
radial-gradient(circle at 85% 25%, rgba(236, 72, 153, 0.10) 0%, transparent 50%),
radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
animation: orbFloat 30s ease-in-out infinite alternate;
pointer-events: none;
}
@keyframes orbFloat {
0% { transform: scale(1) rotate(0deg); opacity: 0.6; }
33% { transform: scale(1.05) rotate(3deg); opacity: 1; }
66% { transform: scale(0.95) rotate(-3deg); opacity: 0.8; }
100% { transform: scale(1.03) rotate(2deg); opacity: 0.9; }
}
/* βββ Scrollbar βββ */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.02);
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, var(--primary-500), var(--accent-1));
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(180deg, var(--primary-400), var(--accent-1));
}
/* βββ App Shell βββ */
.app-shell {
display: flex;
min-height: 100vh;
position: relative;
z-index: 1;
}
/* βββββββββββββββββββββββββββββββββββββββββββ
SIDEBAR - Premium Glass
βββββββββββββββββββββββββββββββββββββββββββ */
.sidebar {
width: var(--sidebar-width);
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(32px);
-webkit-backdrop-filter: blur(32px);
border-right: 1px solid rgba(255, 255, 255, 0.05);
display: flex;
flex-direction: column;
padding: 28px 16px;
position: sticky;
top: 0;
height: 100vh;
z-index: 100;
transition: all var(--transition);
box-shadow: 4px 0 60px rgba(0, 0, 0, 0.2);
}
.sidebar::after {
content: '';
position: absolute;
top: 0;
right: 0;
width: 1px;
height: 100%;
background: linear-gradient(180deg, transparent, rgba(255,255,255,0.06), transparent);
}
/* Sidebar Logo */
.sidebar-logo {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 36px;
padding: 0 8px;
}
.logo-icon-wrapper {
position: relative;
}
.logo-icon {
width: 48px;
height: 48px;
background: linear-gradient(135deg, var(--primary-500), var(--primary-700), var(--accent-1));
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
font-size: 26px;
box-shadow: 0 4px 32px rgba(139, 92, 246, 0.4);
animation: logoPulse 3s ease-in-out infinite;
flex-shrink: 0;
position: relative;
}
.logo-icon::after {
content: '';
position: absolute;
inset: -3px;
border-radius: var(--radius-md);
background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
z-index: -1;
filter: blur(12px);
animation: logoGlow 3s ease-in-out infinite;
}
@keyframes logoPulse {
0%, 100% { box-shadow: 0 4px 32px rgba(139, 92, 246, 0.4); }
50% { box-shadow: 0 4px 56px rgba(139, 92, 246, 0.6); }
}
@keyframes logoGlow {
0%, 100% { opacity: 0.6; transform: scale(1); }
50% { opacity: 1; transform: scale(1.1); }
}
.logo-name {
font-size: 20px;
font-weight: 800;
color: var(--text-primary);
line-height: 1.2;
letter-spacing: -0.5px;
text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.logo-name .highlight {
background: linear-gradient(135deg, var(--primary-400), var(--accent-1), var(--accent-2));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
background-size: 200% 200%;
animation: gradientMove 4s ease-in-out infinite;
}
@keyframes gradientMove {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
.logo-sub {
font-size: 10px;
color: var(--text-muted);
font-weight: 500;
letter-spacing: 0.12em;
text-transform: uppercase;
margin-top: 2px;
}
/* Navigation */
.sidebar-nav {
display: flex;
flex-direction: column;
gap: 4px;
flex: 1;
padding: 0 4px;
}
.sidebar-footer {
margin-top: auto;
padding: 0 4px;
}
.nav-item {
display: flex;
align-items: center;
gap: 14px;
padding: 12px 16px;
border-radius: var(--radius-md);
color: var(--text-secondary);
font-size: 14px;
font-weight: 500;
text-decoration: none;
cursor: pointer;
transition: all var(--transition);
position: relative;
border: 1px solid transparent;
}
.nav-item:hover {
background: rgba(255, 255, 255, 0.06);
color: var(--text-primary);
transform: translateX(4px);
border-color: rgba(255, 255, 255, 0.04);
}
.nav-item.active {
background: rgba(139, 92, 246, 0.12);
color: var(--text-primary);
border-color: rgba(139, 92, 246, 0.15);
box-shadow: 0 0 40px rgba(139, 92, 246, 0.04);
}
.nav-item.active::before {
content: '';
position: absolute;
left: -1px;
top: 20%;
height: 60%;
width: 3px;
background: linear-gradient(180deg, var(--primary-400), var(--accent-1));
border-radius: 0 4px 4px 0;
box-shadow: 0 0 24px rgba(139, 92, 246, 0.3);
}
.nav-item .nav-icon {
width: 20px;
height: 20px;
flex-shrink: 0;
transition: transform var(--transition);
}
.nav-item:hover .nav-icon {
transform: scale(1.1);
}
.nav-item .nav-badge {
margin-left: auto;
background: rgba(236, 72, 153, 0.15);
color: var(--accent-1);
font-size: 9px;
padding: 2px 10px;
border-radius: var(--radius-full);
border: 1px solid rgba(236, 72, 153, 0.1);
font-weight: 700;
letter-spacing: 0.04em;
}
.nav-item .nav-badge.premium {
background: linear-gradient(135deg, var(--primary-500), var(--accent-1));
color: white;
border: none;
font-size: 8px;
padding: 2px 12px;
}
/* Special Buttons in Sidebar */
.tips-btn {
border: 1px solid rgba(255, 255, 255, 0.06);
background: rgba(255, 255, 255, 0.02);
justify-content: center;
margin-top: 8px;
}
.tips-btn:hover {
background: rgba(139, 92, 246, 0.12);
border-color: rgba(139, 92, 246, 0.15);
}
/* βββββββββββββββββββββββββββββββββββββββββββ
MAIN CONTENT
βββββββββββββββββββββββββββββββββββββββββββ */
.main-content {
margin-left: var(--sidebar-width);
flex: 1;
padding: 32px 48px 48px;
max-width: calc(100vw - var(--sidebar-width));
overflow-x: hidden;
}
/* βββ Views βββ */
.view {
display: none;
animation: fadeSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.view.active { display: block; }
@keyframes fadeSlideUp {
0% { opacity: 0; transform: translateY(30px) scale(0.98); }
100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* βββ Glass Card βββ */
.glass-card {
background: var(--glass-bg);
backdrop-filter: var(--glass-blur);
-webkit-backdrop-filter: var(--glass-blur);
border: 1px solid var(--glass-border);
border-radius: var(--radius-lg);
box-shadow: var(--glass-shadow);
padding: var(--glass-padding);
transition: all var(--transition);
position: relative;
overflow: hidden;
}
.glass-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}
.glass-card:hover {
box-shadow: var(--shadow-lg), var(--shadow-glow);
border-color: rgba(255, 255, 255, 0.15);
transform: translateY(-2px);
}
/* βββββββββββββββββββββββββββββββββββββββββββ
LANDING PAGE (Home)
βββββββββββββββββββββββββββββββββββββββββββ */
.home-hero {
display: flex;
align-items: center;
justify-content: space-between;
gap: 48px;
margin-bottom: 48px;
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: var(--radius-xl);
padding: 48px 56px;
box-shadow: 0 8px 48px rgba(0, 0, 0, 0.2);
transition: all var(--transition);
position: relative;
overflow: hidden;
}
.home-hero::before {
content: '';
position: absolute;
top: -50%;
right: -10%;
width: 60%;
height: 200%;
background: radial-gradient(circle, rgba(139, 92, 246, 0.06), transparent 70%);
pointer-events: none;
}
.home-hero::after {
content: '';
position: absolute;
bottom: -50%;
left: -10%;
width: 40%;
height: 200%;
background: radial-gradient(circle, rgba(236, 72, 153, 0.04), transparent 70%);
pointer-events: none;
}
.hero-text { flex: 1; position: relative; z-index: 1; }
.hero-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(139, 92, 246, 0.12);
backdrop-filter: blur(8px);
border: 1px solid rgba(139, 92, 246, 0.1);
border-radius: var(--radius-full);
padding: 4px 16px 4px 8px;
font-size: 11px;
font-weight: 600;
color: var(--primary-400);
margin-bottom: 16px;
}
.hero-badge .badge-dot {
width: 6px;
height: 6px;
background: var(--success);
border-radius: 50%;
animation: pulseDot 1.5s ease-in-out infinite;
}
.home-hero h1 {
font-size: 48px;
font-weight: 800;
color: var(--text-primary);
margin-bottom: 12px;
letter-spacing: -1px;
text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
line-height: 1.1;
}
.home-hero h1 .highlight {
background: linear-gradient(135deg, var(--primary-400), var(--accent-1), var(--accent-2));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
background-size: 200% 200%;
animation: gradientMove 4s ease-in-out infinite;
}
.hero-sub {
color: var(--text-secondary);
font-size: 18px;
margin-bottom: 28px;
text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
max-width: 540px;
line-height: 1.7;
}
.hero-actions {
display: flex;
align-items: center;
gap: 16px;
flex-wrap: wrap;
margin-bottom: 24px;
}
/* βββ Hero Illustration βββ */
.hero-illustration {
width: 200px;
flex-shrink: 0;
position: relative;
z-index: 1;
}
.hero-illustration svg {
width: 100%;
height: auto;
filter: drop-shadow(0 4px 60px rgba(139, 92, 246, 0.2));
animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
0%, 100% { transform: translateY(0) rotate(0deg); }
33% { transform: translateY(-12px) rotate(-2deg); }
66% { transform: translateY(-6px) rotate(2deg); }
}
/* βββ Search Bar βββ */
.search-bar {
display: flex;
align-items: center;
gap: 14px;
background: rgba(255, 255, 255, 0.04);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: var(--radius-full);
padding: 10px 20px;
max-width: 480px;
transition: all var(--transition);
position: relative;
}
.search-bar:focus-within {
border-color: var(--primary-400);
box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.08), 0 8px 32px rgba(139, 92, 246, 0.06);
background: rgba(255, 255, 255, 0.06);
}
.search-bar .search-icon {
color: var(--text-muted);
flex-shrink: 0;
}
.search-bar input {
flex: 1;
border: none;
outline: none;
background: transparent;
font-size: 14px;
color: var(--text-primary);
font-family: inherit;
padding: 4px 0;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar .shortcut-hint {
font-size: 10px;
color: var(--text-muted);
background: rgba(255, 255, 255, 0.04);
padding: 2px 10px;
border-radius: 4px;
font-weight: 600;
letter-spacing: 0.04em;
border: 1px solid rgba(255, 255, 255, 0.04);
}
.search-clear {
background: none;
border: none;
cursor: pointer;
color: var(--text-muted);
padding: 4px;
display: flex;
align-items: center;
border-radius: 50%;
transition: all 0.2s;
width: 28px;
height: 28px;
justify-content: center;
}
.search-clear:hover {
color: var(--text-primary);
background: rgba(255, 255, 255, 0.06);
}
.search-clear.hidden { display: none; }
/* βββ Search Results βββ */
.search-results-panel {
margin-top: 12px;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(32px);
-webkit-backdrop-filter: blur(32px);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: var(--radius-lg);
overflow: hidden;
max-width: 480px;
box-shadow: var(--shadow-lg);
display: none;
max-height: 360px;
overflow-y: auto;
}
.search-results-panel.visible { display: block; animation: fadeSlideUp 0.3s ease; }
.search-results-header {
font-size: 10px;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.1em;
padding: 14px 20px 8px;
}
.search-result-item {
display: flex;
align-items: center;
gap: 14px;
padding: 12px 20px;
cursor: pointer;
border-top: 1px solid rgba(255, 255, 255, 0.03);
transition: all var(--transition);
}
.search-result-item:hover {
background: rgba(255, 255, 255, 0.05);
transform: translateX(6px);
}
.search-result-item .result-emoji {
font-size: 28px;
width: 44px;
text-align: center;
flex-shrink: 0;
}
.search-result-item .result-info { flex: 1; }
.search-result-item .result-name {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
}
.search-result-item .result-english {
font-size: 12px;
color: var(--text-secondary);
}
/* βββ Section Headers βββ */
.section-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 24px;
flex-wrap: wrap;
gap: 12px;
}
.section-title {
font-size: 22px;
font-weight: 700;
color: var(--text-primary);
display: flex;
align-items: center;
gap: 12px;
text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
.section-title .emoji-big { font-size: 26px; }
.section-subtitle {
font-size: 13px;
color: var(--text-muted);
font-weight: 400;
}
/* βββ Pose Grid βββ */
.pose-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 40px;
}
.pose-card {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.04);
border-radius: var(--radius-lg);
padding: 32px 16px 24px;
text-align: center;
cursor: pointer;
transition: all var(--transition);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
position: relative;
overflow: hidden;
}
.pose-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, var(--primary-500), var(--accent-1), var(--accent-2));
opacity: 0;
transition: opacity 0.4s ease;
}
.pose-card:hover::before { opacity: 1; }
.pose-card::after {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(circle at center, rgba(139, 92, 246, 0.04), transparent 70%);
opacity: 0;
transition: opacity 0.4s ease;
}
.pose-card:hover::after { opacity: 1; }
.pose-card:hover {
transform: translateY(-8px) scale(1.02);
border-color: rgba(139, 92, 246, 0.15);
box-shadow: 0 16px 56px rgba(0, 0, 0, 0.2), 0 0 48px rgba(139, 92, 246, 0.04);
}
.pose-card .pose-emoji {
font-size: 48px;
margin-bottom: 12px;
line-height: 1;
transition: transform 0.4s ease;
position: relative;
z-index: 1;
}
.pose-card:hover .pose-emoji {
transform: scale(1.15) rotate(-6deg);
}
.pose-card .pose-name {
font-size: 15px;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 2px;
position: relative;
z-index: 1;
}
.pose-card .pose-english {
font-size: 12px;
color: var(--text-secondary);
font-weight: 400;
position: relative;
z-index: 1;
}
.pose-card .pose-diff {
font-size: 10px;
font-weight: 600;
padding: 3px 14px;
border-radius: var(--radius-full);
display: inline-block;
margin-top: 10px;
position: relative;
z-index: 1;
letter-spacing: 0.04em;
}
.pose-card .pose-diff-beginner {
background: rgba(52, 211, 153, 0.12);
color: var(--accent-4);
border: 1px solid rgba(52, 211, 153, 0.08);
}
.pose-card .pose-diff-intermediate {
background: rgba(245, 158, 11, 0.12);
color: var(--accent-2);
border: 1px solid rgba(245, 158, 11, 0.08);
}
.pose-card .pose-diff-advanced {
background: rgba(236, 72, 153, 0.12);
color: var(--accent-1);
border: 1px solid rgba(236, 72, 153, 0.08);
}
.pose-card .pose-fav {
position: absolute;
top: 12px;
right: 12px;
background: rgba(255, 255, 255, 0.04);
border: none;
color: var(--text-muted);
cursor: pointer;
padding: 4px;
border-radius: 50%;
transition: all 0.3s;
z-index: 2;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
}
.pose-card .pose-fav:hover {
background: rgba(236, 72, 153, 0.15);
color: var(--accent-1);
transform: scale(1.1);
}
.pose-card .pose-fav.active {
color: var(--accent-1);
background: rgba(236, 72, 153, 0.1);
}
/* βββ CTA Banner βββ */
.cta-banner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
background: linear-gradient(135deg, rgba(139, 92, 246, 0.06), rgba(236, 72, 153, 0.03));
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(139, 92, 246, 0.06);
border-radius: var(--radius-lg);
padding: 24px 36px;
transition: all var(--transition);
margin-top: 24px;
}
.cta-banner:hover {
box-shadow: var(--shadow-md), var(--shadow-glow);
transform: translateY(-2px);
}
.cta-left { display: flex; align-items: center; gap: 18px; }
.cta-icon {
width: 52px;
height: 52px;
background: linear-gradient(135deg, var(--primary-500), var(--accent-1));
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
flex-shrink: 0;
box-shadow: 0 4px 24px rgba(139, 92, 246, 0.3);
}
.cta-title { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.cta-sub { font-size: 13px; color: var(--text-secondary); }
/* βββββββββββββββββββββββββββββββββββββββββββ
BUTTONS - Premium
βββββββββββββββββββββββββββββββββββββββββββ */
.btn-primary {
display: inline-flex;
align-items: center;
gap: 10px;
background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
color: white;
border: none;
border-radius: var(--radius-full);
padding: 12px 32px;
font-size: 14px;
font-weight: 600;
font-family: inherit;
cursor: pointer;
transition: all var(--transition);
box-shadow: 0 4px 24px rgba(139, 92, 246, 0.25);
position: relative;
overflow: hidden;
}
.btn-primary::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, var(--primary-600), var(--accent-1));
opacity: 0;
transition: opacity 0.4s ease;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 48px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:active { transform: scale(0.97); }
.btn-secondary {
display: inline-flex;
align-items: center;
gap: 10px;
background: rgba(255, 255, 255, 0.04);
color: var(--text-secondary);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: var(--radius-full);
padding: 11px 28px;
font-size: 14px;
font-weight: 500;
font-family: inherit;
cursor: pointer;
transition: all var(--transition);
}
.btn-secondary:hover {
background: rgba(255, 255, 255, 0.08);
color: var(--text-primary);
border-color: rgba(255, 255, 255, 0.15);
transform: translateY(-2px);
}
.btn-outline {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(255, 255, 255, 0.03);
color: var(--text-secondary);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: var(--radius-full);
padding: 10px 22px;
font-size: 13px;
font-weight: 500;
font-family: inherit;
cursor: pointer;
transition: all var(--transition);
}
.btn-outline:hover {
border-color: var(--primary-400);
color: var(--text-primary);
background: rgba(139, 92, 246, 0.06);
transform: translateY(-2px);
}
.btn-add-pose-sm {
display: inline-flex;
align-items: center;
gap: 6px;
background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
color: white;
border: none;
border-radius: var(--radius-full);
padding: 8px 22px;
font-size: 13px;
font-weight: 600;
font-family: inherit;
cursor: pointer;
transition: all var(--transition);
box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}
.btn-add-pose-sm:hover {
transform: scale(1.04);
box-shadow: 0 8px 36px rgba(139, 92, 246, 0.3);
}
.btn-danger {
background: rgba(239, 68, 68, 0.08);
color: #F87171;
border: 1px solid rgba(239, 68, 68, 0.08);
border-radius: var(--radius-sm);
padding: 8px 20px;
font-size: 13px;
font-weight: 600;
font-family: inherit;
cursor: pointer;
transition: all var(--transition);
}
.btn-danger:hover {
background: rgba(239, 68, 68, 0.15);
border-color: rgba(239, 68, 68, 0.15);
}
.btn-full {
width: 100%;
justify-content: center;
}
.back-btn {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: var(--radius-full);
padding: 8px 20px;
font-size: 13px;
font-weight: 500;
font-family: inherit;
color: var(--text-secondary);
cursor: pointer;
transition: all var(--transition);
}
.back-btn:hover {
background: rgba(255, 255, 255, 0.06);
color: var(--text-primary);
transform: translateX(-3px);
}
/* βββββββββββββββββββββββββββββββββββββββββββ
PRACTICE VIEW
βββββββββββββββββββββββββββββββββββββββββββ */
.view-header {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 32px;
flex-wrap: wrap;
}
.view-header h1 {
font-size: 28px;
font-weight: 800;
color: var(--text-primary);
text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
letter-spacing: -0.5px;
}
.practice-layout {
display: grid;
grid-template-columns: 320px 1fr;
gap: 28px;
align-items: start;
}
/* βββ Practice Info Card βββ */
.practice-pose-card {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.04);
border-radius: var(--radius-lg);
padding: 32px 20px 28px;
text-align: center;
margin-bottom: 16px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
transition: all var(--transition);
}
.practice-pose-card:hover {
box-shadow: var(--shadow-md), var(--shadow-glow);
border-color: rgba(139, 92, 246, 0.08);
}
.practice-pose-art {
font-size: 72px;
margin-bottom: 12px;
transition: transform 0.4s ease;
}
.practice-pose-card:hover .practice-pose-art {
transform: scale(1.05) rotate(-4deg);
}
.practice-pose-name {
font-size: 22px;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 4px;
}
.practice-pose-sanskrit {
font-size: 13px;
color: var(--text-secondary);
font-style: italic;
margin-bottom: 10px;
}
.practice-pose-difficulty {
display: inline-block;
font-size: 12px;
font-weight: 600;
padding: 4px 20px;
border-radius: var(--radius-full);
}
.difficulty-beginner {
background: rgba(52, 211, 153, 0.12);
color: var(--accent-4);
border: 1px solid rgba(52, 211, 153, 0.08);
}
.difficulty-intermediate {
background: rgba(245, 158, 11, 0.12);
color: var(--accent-2);
border: 1px solid rgba(245, 158, 11, 0.08);
}
.difficulty-advanced {
background: rgba(236, 72, 153, 0.12);
color: var(--accent-1);
border: 1px solid rgba(236, 72, 153, 0.08);
}
/* βββ Info Cards βββ */
.info-card {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.04);
border-radius: var(--radius-md);
padding: 20px 24px;
margin-top: 12px;
}
.info-card h3 {
font-size: 13px;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: 12px;
}
.benefits-list {
list-style: none;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.benefits-list li {
background: rgba(139, 92, 246, 0.06);
border: 1px solid rgba(139, 92, 246, 0.06);
border-radius: var(--radius-full);
padding: 4px 16px;
font-size: 12px;
color: var(--text-secondary);
}
.steps-list {
padding-left: 20px;
color: var(--text-secondary);
font-size: 13px;
line-height: 2;
}
.steps-list li::marker {
color: var(--primary-400);
}
/* βββ Reference Images βββ */
.reference-section {
margin-top: 16px;
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.04);
border-radius: var(--radius-md);
padding: 16px 20px 20px;
}
.reference-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 12px;
font-size: 13px;
font-weight: 600;
color: var(--text-secondary);
}
.reference-header .badge-count {
font-size: 10px;
color: var(--text-muted);
font-weight: 400;
background: rgba(255, 255, 255, 0.04);
padding: 2px 12px;
border-radius: var(--radius-full);
}
.reference-images-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}
.reference-image-card {
border-radius: var(--radius-sm);
overflow: hidden;
cursor: pointer;
border: 2px solid rgba(255, 255, 255, 0.04);
transition: all var(--transition);
aspect-ratio: 1;
position: relative;
background: rgba(0, 0, 0, 0.2);
}
.reference-image-card:hover {
border-color: rgba(139, 92, 246, 0.3);
transform: scale(1.02);
z-index: 2;
}
.reference-image-card img {
width: 100%;
height: 100%;
object-fit: cover;
}
.reference-image-card .ref-label {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(8px);
padding: 4px 8px;
font-size: 9px;
color: var(--text-muted);
text-align: center;
opacity: 0;
transition: opacity 0.3s;
}
.reference-image-card:hover .ref-label {
opacity: 1;
}
/* βββ Camera Panel βββ */
.camera-panel {
position: relative;
width: 100%;
aspect-ratio: 4 / 3;
background: #0A0618;
border-radius: var(--radius-lg);
overflow: hidden;
border: 2px solid rgba(255, 255, 255, 0.04);
box-shadow: 0 8px 48px rgba(0, 0, 0, 0.3);
transition: all var(--transition);
}
.camera-panel::before {
content: '';
position: absolute;
inset: -2px;
border-radius: var(--radius-lg);
padding: 2px;
background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
/* Standard mask for better browser compatibility */
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
/* WebKit composite (xor) and standard composite (exclude) */
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
z-index: 3;
}
.camera-panel:hover {
border-color: rgba(139, 92, 246, 0.12);
box-shadow: 0 8px 56px rgba(0, 0, 0, 0.35), 0 0 80px rgba(139, 92, 246, 0.02);
}
#webcam-video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
background: #0A0618;
z-index: 1;
}
.webcam-canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 2;
}
/* βββ Score Overlay βββ */
.score-overlay {
position: absolute;
top: 16px;
right: 16px;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: var(--radius-md);
padding: 12px 18px;
text-align: center;
z-index: 4;
min-width: 80px;
}
.score-overlay-val {
font-size: 28px;
font-weight: 800;
line-height: 1.1;
transition: color 0.3s;
}
.score-overlay-label {
font-size: 10px;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.06em;
margin-top: 2px;
}
/* βββ Camera Off Overlay βββ */
.camera-off-overlay {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: var(--text-muted);
z-index: 5;
background: rgba(10, 6, 24, 0.9);
backdrop-filter: blur(8px);
text-align: center;
}
.camera-off-overlay svg {
opacity: 0.3;
margin-bottom: 16px;
}
.camera-off-overlay p {
font-size: 16px;
font-weight: 600;
color: var(--text-secondary);
margin-bottom: 4px;
}
.camera-off-overlay span {
font-size: 13px;
color: var(--text-muted);
}
/* βββ Live Badge βββ */
.live-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(239, 68, 68, 0.12);
backdrop-filter: blur(8px);
color: #F87171;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.08em;
padding: 6px 16px;
border-radius: var(--radius-full);
border: 1px solid rgba(239, 68, 68, 0.08);
animation: pulseBadge 1.5s ease-in-out infinite;
}
.live-dot {
width: 7px;
height: 7px;
background: #EF4444;
border-radius: 50%;
animation: pulseDot 1.2s ease-in-out infinite;
box-shadow: 0 0 16px rgba(239, 68, 68, 0.3);
}
/* βββ FPS Badge βββ */
.fps-badge {
position: absolute;
bottom: 16px;
left: 16px;
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(8px);
border: 1px solid rgba(255, 255, 255, 0.04);
border-radius: var(--radius-sm);
padding: 4px 12px;
font-size: 11px;
font-weight: 600;
color: var(--text-muted);
z-index: 4;
font-variant-numeric: tabular-nums;
}
/* βββ Camera Controls βββ */
.camera-controls {
display: flex;
align-items: center;
gap: 12px;
margin-top: 16px;
flex-wrap: wrap;
}
/* βββ Suggestions Panel βββ */
.suggestions-panel {
margin-top: 16px;
background: rgba(255, 255, 255, 0.02);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.04);
border-radius: var(--radius-md);
overflow: hidden;
}
.suggestions-panel-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 20px;
border-bottom: 2px solid var(--primary-400);
background: rgba(255, 255, 255, 0.01);
}
.suggestions-panel-body {
padding: 12px 16px;
}
.suggestion-item {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 10px 12px;
border-left: 3px solid var(--primary-400);
margin-bottom: 8px;
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
background: rgba(255, 255, 255, 0.01);
transition: all 0.3s;
}
.suggestion-item:hover {
background: rgba(255, 255, 255, 0.02);
}
.suggestion-item:last-child { margin-bottom: 0; }
.suggestion-number {
font-size: 11px;
font-weight: 700;
color: var(--text-muted);
min-width: 22px;
text-align: center;
}
.suggestion-text {
font-size: 13px;
color: var(--text-secondary);
}
.suggestions-panel-footer {
padding: 10px 20px;
font-size: 11px;
color: var(--text-muted);
border-top: 1px solid rgba(255, 255, 255, 0.03);
text-align: center;
}
/* βββ Result Card βββ */
.result-card {
margin-top: 16px;
background: rgba(255, 255, 255, 0.02);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.04);
border-radius: var(--radius-md);
padding: 20px 24px;
}
.result-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
}
.result-title {
font-size: 14px;
font-weight: 700;
color: var(--text-primary);
}
.result-badge {
font-size: 11px;
font-weight: 600;
padding: 4px 16px;
border-radius: var(--radius-full);
}
.badge-excellent {
background: rgba(34, 197, 94, 0.12);
color: var(--success);
border: 1px solid rgba(34, 197, 94, 0.08);
}
.badge-good {
background: rgba(245, 158, 11, 0.12);
color: var(--warning);
border: 1px solid rgba(245, 158, 11, 0.08);
}
.badge-correction {
background: rgba(239, 68, 68, 0.12);
color: var(--danger);
border: 1px solid rgba(239, 68, 68, 0.08);
}
.score-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 6px;
}
.score-label {
font-size: 13px;
color: var(--text-secondary);
}
.score-value {
font-size: 20px;
font-weight: 800;
}
.score-bar-track {
height: 6px;
background: rgba(255, 255, 255, 0.04);
border-radius: 10px;
overflow: hidden;
margin-bottom: 16px;
}
.score-bar-fill {
height: 100%;
border-radius: 10px;
transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
width: 0%;
}
.suggestions-title {
font-size: 12px;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.06em;
margin-bottom: 10px;
}
.suggestions-list {
list-style: none;
padding: 0;
display: flex;
flex-direction: column;
gap: 8px;
}
.suggestions-list li {
display: flex;
align-items: center;
gap: 10px;
font-size: 13px;
color: var(--text-secondary);
}
.suggestion-dot {
width: 8px;
height: 8px;
border-radius: 50%;
flex-shrink: 0;
}
/* βββ Correction Panel βββ */
.correction-panel {
margin-top: 16px;
padding-top: 16px;
border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.correction-panel-title {
font-size: 12px;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.06em;
margin-bottom: 10px;
}
.correction-item {
display: flex;
align-items: flex-start;
gap: 8px;
font-size: 13px;
padding: 6px 0;
color: var(--text-secondary);
}
.correction-item.correction-warn { color: var(--warning); }
.correction-item.correction-good { color: var(--success); }
/* βββ Fullscreen Suggestions βββ */
.fullscreen-suggestions {
position: fixed;
bottom: 40px;
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(24px);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: var(--radius-lg);
padding: 20px 28px;
z-index: 999;
min-width: 280px;
max-width: 420px;
box-shadow: var(--shadow-xl);
}
.fullscreen-suggestions .fs-title {
font-size: 14px;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 8px;
}
.fullscreen-suggestions .fs-score {
font-size: 24px;
font-weight: 800;
}
.fullscreen-suggestions .fs-item {
display: flex;
align-items: center;
gap: 10px;
padding: 4px 0;
font-size: 13px;
color: var(--text-secondary);
}
.fullscreen-suggestions .fs-bullet {
width: 6px;
height: 6px;
border-radius: 50%;
flex-shrink: 0;
}
/* βββ Toast βββ */
.toast {
position: fixed;
bottom: 32px;
left: 50%;
transform: translateX(-50%) translateY(0);
background: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(24px);
color: white;
padding: 14px 36px;
border-radius: var(--radius-full);
font-size: 14px;
font-weight: 500;
z-index: 9999;
box-shadow: var(--shadow-xl);
transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
border: 1px solid rgba(255, 255, 255, 0.06);
display: flex;
align-items: center;
gap: 12px;
}
.toast.hidden {
opacity: 0;
transform: translateX(-50%) translateY(30px);
pointer-events: none;
}
/* βββββββββββββββββββββββββββββββββββββββββββ
HISTORY VIEW
βββββββββββββββββββββββββββββββββββββββββββ */
.history-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.history-item {
display: flex;
align-items: center;
gap: 16px;
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.04);
border-radius: var(--radius-md);
padding: 16px 20px;
transition: all var(--transition);
}
.history-item:hover {
background: rgba(255, 255, 255, 0.04);
border-color: rgba(255, 255, 255, 0.06);
transform: translateX(4px);
}
.history-emoji { font-size: 32px; }
.history-info { flex: 1; }
.history-pose { font-weight: 600; color: var(--text-primary); }
.history-meta { font-size: 12px; color: var(--text-muted); }
.history-score {
font-size: 20px;
font-weight: 800;
color: var(--primary-400);
}
.history-empty {
text-align: center;
padding: 60px 20px;
color: var(--text-muted);
font-size: 15px;
line-height: 2;
}
/* βββββββββββββββββββββββββββββββββββββββββββ
PROGRESS VIEW
βββββββββββββββββββββββββββββββββββββββββββ */
.progress-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 16px;
margin-bottom: 28px;
}
.stat-card {
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.04);
border-radius: var(--radius-md);
padding: 20px 24px;
text-align: center;
}
.stat-label {
font-size: 12px;
font-weight: 500;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.06em;
}
.stat-value {
font-size: 28px;
font-weight: 800;
color: var(--text-primary);
margin-top: 4px;
}
.stat-value .stat-unit {
font-size: 14px;
font-weight: 600;
color: var(--text-muted);
margin-left: 2px;
}
.chart-card {
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.04);
border-radius: var(--radius-md);
padding: 24px;
}
.chart-header {
font-size: 15px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 20px;
}
.chart-area {
display: flex;
align-items: flex-end;
justify-content: space-around;
height: 180px;
gap: 8px;
padding: 0 8px;
}
.chart-bar-wrap {
display: flex;
flex-direction: column;
align-items: center;
flex: 1;
height: 100%;
justify-content: flex-end;
}
.chart-bar {
width: 100%;
max-width: 24px;
min-height: 4px;
border-radius: 6px 6px 0 0;
background: linear-gradient(180deg, var(--primary-400), var(--primary-600));
transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
position: relative;
}
.chart-bar-wrap:nth-child(2n) .chart-bar {
background: linear-gradient(180deg, var(--accent-1), var(--accent-5));
}
.chart-bar-label {
font-size: 9px;
color: var(--text-muted);
margin-top: 6px;
font-weight: 500;
}
.chart-empty {
text-align: center;
padding: 40px;
color: var(--text-muted);
font-size: 14px;
}
/* βββββββββββββββββββββββββββββββββββββββββββ
SETTINGS VIEW
βββββββββββββββββββββββββββββββββββββββββββ */
.settings-card {
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.04);
border-radius: var(--radius-md);
padding: 24px 28px;
margin-bottom: 16px;
}
.settings-section-title {
font-size: 13px;
font-weight: 700;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: 16px;
padding-bottom: 12px;
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.settings-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 0;
gap: 20px;
}
.settings-row:not(:last-child) {
border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}
.settings-label {
font-size: 14px;
font-weight: 500;
color: var(--text-primary);
}
.settings-desc {
font-size: 12px;
color: var(--text-muted);
}
.settings-value-row {
display: flex;
align-items: center;
gap: 16px;
}
.settings-val-label {
font-size: 13px;
font-weight: 600;
color: var(--text-secondary);
min-width: 48px;
}
.settings-value-row input[type="range"] {
width: 120px;
height: 4px;
appearance: none;
-webkit-appearance: none;
background: rgba(255, 255, 255, 0.08);
border-radius: 4px;
outline: none;
}
.settings-value-row input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 16px;
height: 16px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
cursor: pointer;
box-shadow: 0 2px 12px rgba(139, 92, 246, 0.3);
}
.settings-value-row input[type="range"]::-moz-range-thumb {
width: 16px;
height: 16px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
cursor: pointer;
border: none;
box-shadow: 0 2px 12px rgba(139, 92, 246, 0.3);
}
.toggle-btn {
width: 48px;
height: 28px;
background: rgba(255, 255, 255, 0.06);
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.04);
cursor: pointer;
padding: 2px;
transition: all 0.3s;
position: relative;
flex-shrink: 0;
}
.toggle-btn .toggle-thumb {
width: 22px;
height: 22px;
background: rgba(255, 255, 255, 0.2);
border-radius: 50%;
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toggle-btn.on {
background: rgba(139, 92, 246, 0.3);
border-color: rgba(139, 92, 246, 0.2);
}
.toggle-btn.on .toggle-thumb {
transform: translateX(20px);
background: var(--primary-400);
box-shadow: 0 2px 12px rgba(139, 92, 246, 0.4);
}
/* βββ Add Pose View βββ */
.add-pose-layout {
max-width: 640px;
margin: 0 auto;
}
.form-card {
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.04);
border-radius: var(--radius-lg);
padding: 32px 36px;
}
/* βββ FIXED: Category Dropdown ββββββββββββββββββββββββββββββ */
.select-wrap {
position: relative;
width: 100%;
display: block;
}
.select-wrap select {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
width: 100% !important;
padding: 12px 44px 12px 16px !important;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: var(--radius-sm);
color: var(--text-primary);
font-size: 14px;
font-family: inherit;
cursor: pointer;
transition: all var(--transition);
outline: none;
line-height: 1.4;
min-height: 46px;
box-sizing: border-box;
}
.select-wrap select:hover {
background: rgba(255, 255, 255, 0.06);
border-color: rgba(255, 255, 255, 0.12);
}
.select-wrap select:focus {
border-color: var(--primary-400);
box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.08);
background: rgba(255, 255, 255, 0.06);
}
/* Dropdown options β visible and readable */
.select-wrap select option {
background: #1a0d3a;
color: var(--text-primary);
padding: 8px 12px;
font-size: 14px;
}
[data-theme=""] .select-wrap select option,
[data-theme="light"] .select-wrap select option {
background: #f5f0ff;
color: #1a0d3a;
}
/* Arrow icon β perfectly positioned */
.select-wrap .select-arrow {
position: absolute;
right: 14px;
top: 50%;
transform: translateY(-50%);
pointer-events: none;
color: var(--text-muted);
width: 16px;
height: 16px;
transition: transform 0.2s ease;
}
/* Rotate arrow when dropdown is focused */
.select-wrap:focus-within .select-arrow {
transform: translateY(-50%) rotate(180deg);
}
/* βββ Category Dropdown β Fixed Colors ββββββββββββββββββββββ */
.select-wrap {
position: relative;
width: 100%;
display: block;
}
.select-wrap select {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
width: 100% !important;
padding: 12px 44px 12px 16px !important;
background: rgba(0, 0, 0, 0.5) !important; /* Dark background */
border: 1px solid rgba(255, 255, 255, 0.15) !important;
border-radius: var(--radius-sm);
color: #ffffff !important; /* White text */
font-size: 14px;
font-family: inherit;
cursor: pointer;
transition: all var(--transition);
outline: none;
line-height: 1.4;
min-height: 46px;
box-sizing: border-box;
}
.select-wrap select:hover {
background: rgba(0, 0, 0, 0.7) !important;
border-color: rgba(255, 255, 255, 0.25);
}
.select-wrap select:focus {
border-color: var(--primary-400);
box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.08);
background: rgba(0, 0, 0, 0.7) !important;
}
/* Dropdown options β dark background, white text */
.select-wrap select option {
background: #1a0d3a !important;
color: #ffffff !important;
padding: 8px 12px;
font-size: 14px;
}
/* Light theme support β keep dark background for contrast */
[data-theme=""] .select-wrap select,
[data-theme="light"] .select-wrap select {
background: rgba(0, 0, 0, 0.6) !important;
color: #ffffff !important;
}
[data-theme=""] .select-wrap select option,
[data-theme="light"] .select-wrap select option {
background: #1a0d3a !important;
color: #ffffff !important;
}
/* Arrow icon β bright and visible */
.select-wrap .select-arrow {
position: absolute;
right: 14px;
top: 50%;
transform: translateY(-50%);
pointer-events: none;
color: #ffffff !important; /* White arrow */
width: 16px;
height: 16px;
transition: transform 0.2s ease;
opacity: 0.8;
}
.select-wrap:focus-within .select-arrow {
transform: translateY(-50%) rotate(180deg);
}
/* βββ Form Fields ββββββββββββββββββββββββββββββββββββββββββββ */
.form-field {
width: 100%;
margin-bottom: 20px;
}
.field-label {
display: block;
font-size: 13px;
font-weight: 600;
color: var(--text-secondary);
margin-bottom: 6px;
}
.field-label .required {
color: var(--danger);
}
.field-label .optional {
font-size: 11px;
color: var(--text-muted);
font-weight: 400;
}
.form-field input,
.form-field textarea {
width: 100%;
padding: 10px 16px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: var(--radius-sm);
color: var(--text-primary);
font-size: 14px;
font-family: inherit;
transition: all var(--transition);
outline: none;
}
.form-field input:focus,
.form-field textarea:focus {
border-color: var(--primary-400);
box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.06);
background: rgba(255, 255, 255, 0.04);
}
.form-field textarea {
resize: vertical;
min-height: 60px;
}
.difficulty-pills {
display: flex;
gap: 8px;
}
.difficulty-pills .pill {
padding: 6px 20px;
border-radius: var(--radius-full);
border: 1px solid rgba(255, 255, 255, 0.06);
background: rgba(255, 255, 255, 0.02);
color: var(--text-secondary);
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: all var(--transition);
}
.difficulty-pills .pill:hover {
background: rgba(255, 255, 255, 0.04);
}
.difficulty-pills .pill.active {
background: rgba(139, 92, 246, 0.15);
border-color: var(--primary-400);
color: var(--text-primary);
}
/* βββ Uploaded Images Grid ββββββββββββββββββββββββββββββββββ */
.uploaded-images-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
gap: 12px;
margin-top: 12px;
}
.uploaded-image-card {
position: relative;
border-radius: var(--radius-sm);
overflow: hidden;
cursor: pointer;
border: 2px solid rgba(255, 255, 255, 0.04);
transition: all var(--transition);
aspect-ratio: 1;
background: rgba(0, 0, 0, 0.2);
}
.uploaded-image-card:hover {
border-color: var(--primary-400);
transform: scale(1.02);
box-shadow: 0 0 24px rgba(139, 92, 246, 0.1);
}
.uploaded-image-card img {
width: 100%;
height: 100%;
object-fit: cover;
}
.uploaded-image-card .uploaded-image-number {
position: absolute;
bottom: 8px;
left: 8px;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(8px);
padding: 2px 10px;
border-radius: var(--radius-full);
font-size: 11px;
font-weight: 600;
color: var(--text-secondary);
}
.uploaded-image-card .remove-image-btn {
position: absolute;
top: 6px;
right: 6px;
background: rgba(239, 68, 68, 0.8);
border: none;
border-radius: 50%;
width: 24px;
height: 24px;
font-size: 14px;
color: white;
cursor: pointer;
transition: background 0.2s;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
line-height: 1;
}
.uploaded-image-card .remove-image-btn:hover {
background: #EF4444;
}
.upload-placeholder {
grid-column: 1 / -1;
text-align: center;
padding: 30px 20px;
color: var(--text-muted);
font-size: 13px;
}
/* βββ Lightbox Modal ββββββββββββββββββββββββββββββββββββββββ */
.image-lightbox {
position: fixed;
inset: 0;
z-index: 99999;
background: rgba(0, 0, 0, 0.92);
backdrop-filter: blur(16px);
display: flex;
align-items: center;
justify-content: center;
padding: 40px;
cursor: pointer;
animation: fadeIn 0.3s ease;
}
.image-lightbox.hidden {
display: none;
}
.image-lightbox img {
max-width: 90vw;
max-height: 85vh;
object-fit: contain;
border-radius: var(--radius-md);
box-shadow: var(--shadow-xl);
cursor: default;
animation: scaleIn 0.3s ease;
}
.lightbox-close {
position: absolute;
top: 24px;
right: 32px;
font-size: 40px;
color: rgba(255, 255, 255, 0.6);
cursor: pointer;
transition: color 0.3s;
line-height: 1;
font-weight: 300;
z-index: 1;
}
.lightbox-close:hover {
color: #fff;
}
@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes scaleIn {
0% { transform: scale(0.9); opacity: 0; }
100% { transform: scale(1); opacity: 1; }
}
/* βββββββββββββββββββββββββββββββββββββββββββ
RESPONSIVE
βββββββββββββββββββββββββββββββββββββββββββ */
@media (max-width: 1100px) {
.practice-layout { grid-template-columns: 1fr; }
.pose-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
@media (max-width: 900px) {
:root { --sidebar-width: 72px; }
.sidebar { padding: 20px 8px; }
.logo-name, .logo-sub, .nav-item span, .nav-item .nav-badge { display: none; }
.nav-item { justify-content: center; padding: 12px; }
.sidebar-logo { justify-content: center; }
.main-content { padding: 20px 16px; }
.home-hero { flex-direction: column; padding: 28px 24px; }
.hero-illustration { display: none; }
.home-hero h1 { font-size: 30px; }
.reference-images-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
.main-content { padding: 12px; }
.pose-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.camera-controls { flex-direction: column; }
.camera-controls .btn-primary,
.camera-controls .btn-outline { width: 100%; justify-content: center; }
.cta-banner { flex-direction: column; align-items: flex-start; padding: 20px; }
.home-hero h1 { font-size: 24px; }
.home-hero { padding: 20px; }
.search-bar { max-width: 100%; padding: 10px 16px; }
.view-header h1 { font-size: 20px; }
.practice-pose-art { font-size: 48px; }
.practice-pose-card { padding: 20px 16px; }
.score-overlay { top: 12px; right: 12px; padding: 8px 14px; }
.score-overlay-val { font-size: 20px; }
.form-card { padding: 20px; }
.reference-images-container { grid-template-columns: repeat(3, 1fr); }
.fullscreen-suggestions { left: 16px; right: 16px; transform: none; width: auto; max-width: none; bottom: 20px; }
.progress-stats { grid-template-columns: repeat(2, 1fr); }
}
/* βββ Dark Theme Support βββ */
[data-theme="dark"] {
--glass-bg: rgba(255, 255, 255, 0.04);
--glass-border: rgba(255, 255, 255, 0.04);
--text-primary: #FFFFFF;
--text-secondary: rgba(255, 255, 255, 0.8);
--text-muted: rgba(255, 255, 255, 0.4);
}
/* βββ Utility βββ */
.hidden { display: none !important; }
.spinner {
width: 32px;
height: 32px;
border: 3px solid rgba(139, 92, 246, 0.1);
border-top: 3px solid var(--primary-400);
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* βββ Skeleton Loading βββββββββββββββββββ */
.skeleton {
background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
background-size: 200% 100%;
animation: skeleton-shimmer 1.5s infinite;
border-radius: var(--radius-sm);
}
@keyframes skeleton-shimmer {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
/* βββ Tooltip on stat cards ββββββββββββββ */
.stat-card {
position: relative;
transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-sm);
}
.stat-card[title]:hover::after {
content: attr(title);
position: absolute;
bottom: calc(100% + 8px);
left: 50%;
transform: translateX(-50%);
background: rgba(0,0,0,0.8);
color: white;
padding: 4px 12px;
border-radius: 6px;
font-size: 11px;
white-space: nowrap;
pointer-events: none;
z-index: 10;
}
/* βββ Chart bar tooltip βββββββββββββββββββ */
.chart-bar-wrap {
position: relative;
}
.chart-bar-wrap .chart-bar-tooltip {
display: none;
position: absolute;
top: -22px;
left: 50%;
transform: translateX(-50%);
background: rgba(0,0,0,0.8);
color: white;
padding: 2px 8px;
border-radius: 4px;
font-size: 10px;
white-space: nowrap;
}
.chart-bar-wrap:hover .chart-bar-tooltip {
display: block;
}
/* βββ Custom badge for custom poses βββββ */
.custom-badge {
background: rgba(139,92,246,0.15);
color: #A78BFA;
font-size: 8px;
font-weight: 700;
padding: 1px 8px;
border-radius: 10px;
border: 1px solid rgba(139,92,246,0.1);
text-transform: uppercase;
letter-spacing: 0.04em;
margin-left: 6px;
}
/* βββββββββββββββββββββββββββββββββββββββββββ
YOGAMATE ULTRA PREMIUM - Version 3.0
Glassmorphism + Neumorphism Fusion
Apple + Notion + Stripe Inspired
βββββββββββββββββββββββββββββββββββββββββββ */
/* βββ CSS Variables βββ */
:root {
/* Glass Variables */
--glass-bg: rgba(255, 255, 255, 0.06);
--glass-border: rgba(255, 255, 255, 0.08);
--glass-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
--glass-blur: blur(24px);
--glass-radius: 24px;
--glass-padding: 28px;
/* Colors - Premium Gradient Palette */
--primary-50: #F5F0FF;
--primary-100: #EDE4FF;
--primary-200: #D5C4FF;
--primary-300: #C4B5FD;
--primary-400: #A78BFA;
--primary-500: #8B5CF6;
--primary-600: #7C3AED;
--primary-700: #6D28D9;
--primary-800: #5B21B6;
--primary-900: #2E1065;
--accent-1: #EC4899;
--accent-2: #F59E0B;
--accent-3: #06B6D4;
--accent-4: #34D399;
--accent-5: #F472B6;
--success: #22C55E;
--warning: #F59E0B;
--danger: #EF4444;
--info: #3B82F6;
--text-primary: #FFFFFF;
--text-secondary: rgba(255, 255, 255, 0.85);
--text-muted: rgba(255, 255, 255, 0.5);
--text-glow: rgba(139, 92, 246, 0.3);
--sidebar-width: 260px;
--radius-sm: 12px;
--radius-md: 16px;
--radius-lg: 24px;
--radius-xl: 32px;
--radius-full: 9999px;
--shadow-sm: 0 4px 24px rgba(0, 0, 0, 0.12);
--shadow-md: 0 8px 48px rgba(0, 0, 0, 0.2);
--shadow-lg: 0 16px 72px rgba(0, 0, 0, 0.3);
--shadow-xl: 0 24px 96px rgba(0, 0, 0, 0.4);
--shadow-glow: 0 0 60px rgba(139, 92, 246, 0.1);
--transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
--transition-smooth: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
--font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
/* βββ Auth Modal βββ */
.auth-modal {
position: fixed;
inset: 0;
z-index: 9999;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
display: none;
align-items: center;
justify-content: center;
padding: 20px;
}
.auth-modal-content {
max-width: 400px;
width: 100%;
padding: 40px 32px;
text-align: center;
animation: fadeSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.auth-logo {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
margin-bottom: 28px;
}
.auth-form h2 {
font-size: 22px;
font-weight: 700;
margin-bottom: 20px;
color: var(--text-primary);
}
.auth-field {
margin-bottom: 16px;
}