/* Base Styles & Variables */ :root { /* Relaxing Palette */ --primary: #6B9080; /* Soft Sage Green */ --primary-light: #A4C3B2; --primary-dark: #3A5A4A; --primary-container: #EAF4F0; --on-primary: #FFFFFF; --on-primary-container: #1C3329; --secondary: #8ECAE6; /* Soft Sky Blue */ --secondary-container: #E1F5FE; --on-secondary: #FFFFFF; --on-secondary-container: #004D61; --tertiary: #B8B8FF; /* Gentle Lavender */ --tertiary-container: #EFEEFF; --surface: rgba(255, 255, 255, 0.92); --surface-variant: #F4F7F6; /* Very soft cool grey */ --on-surface: #2C3E50; --on-surface-variant: #607D8B; --outline: #CFD8DC; --shadow: rgba(44, 62, 80, 0.1); --error: #E57373; --success: #81C784; --warning: #FFB74D; --joy: #9575CD; --peace: #4DB6AC; --energy: #FFF176; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Roboto', sans-serif; background: linear-gradient(135deg, #FDFBF7 0%, #E6F3F0 100%); /* Relaxing Cream to Sage */ background-size: 400% 400%; animation: gradientBG 20s ease infinite; color: var(--on-surface); line-height: 1.5; min-height: 100vh; position: relative; overflow-x: hidden; } @keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } /* Animated Background Orbs */ .background-orbs { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; } .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.6; animation: orbFloat 20s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95); } .orb-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; left: -100px; animation-duration: 25s; } .orb-2 { width: 300px; height: 300px; background: var(--secondary); bottom: -50px; right: -50px; animation-duration: 18s; animation-delay: -5s; } .orb-3 { width: 250px; height: 250px; background: var(--tertiary); top: 40%; left: 60%; animation-duration: 22s; animation-delay: -10s; } @keyframes orbFloat { 0% { transform: translate(0, 0) rotate(0deg); } 33% { transform: translate(50px, 100px) rotate(120deg); } 66% { transform: translate(-50px, 50px) rotate(240deg); } 100% { transform: translate(0, 0) rotate(360deg); } } /* Welcome Overlay */ .welcome-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 2000; color: white; animation: fadeOut 0.5s ease-out 2s forwards; } .welcome-title { font-size: 48px; font-weight: 700; margin-bottom: 16px; animation: slideInUp 0.8s ease-out; } .welcome-subtitle { font-size: 20px; opacity: 0.9; animation: slideInUp 0.8s ease-out 0.2s both; } .welcome-emoji { font-size: 80px; margin-bottom: 24px; animation: bounce 1s ease-in-out; } @keyframes fadeOut { to { opacity: 0; visibility: hidden; } } @keyframes slideInUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-30px); } 60% { transform: translateY(-15px); } } /* Header */ .app-header { background-color: rgba(255, 255, 255, 0.95); color: var(--primary); padding: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); transition: all 0.3s ease; } .app-header:hover { background-color: rgba(255, 255, 255, 1); box-shadow: 0 6px 24px rgba(0,0,0,0.08); } .header-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; } .header-actions { display: flex; gap: 8px; position: relative; } .header-actions button { color: var(--primary) !important; /* Override inline style */ } /* Notification Badge Pulse */ .notification-badge { position: absolute; top: 8px; right: 8px; background: var(--error); color: white; font-size: 10px; font-weight: bold; padding: 2px 5px; border-radius: 10px; min-width: 16px; text-align: center; animation: pulseBadge 2s infinite; } @keyframes pulseBadge { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 183, 77, 0.7); } 70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255, 183, 77, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 183, 77, 0); } } .notification-dropdown { position: absolute; top: 100%; right: 0; background: white; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); padding: 16px; min-width: 300px; max-height: 400px; overflow-y: auto; z-index: 1000; display: none; animation: slideInDown 0.3s cubic-bezier(0.4, 0, 0.2, 1); } @keyframes slideInDown { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } /* Navigation */ .bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background-color: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); box-shadow: 0 -4px 30px rgba(0,0,0,0.05); display: flex; justify-content: space-around; padding: 12px 0; /* Android Safe Area Fix - Significantly Increased Padding */ padding-bottom: calc(40px + env(safe-area-inset-bottom)); z-index: 100; border-top-left-radius: 24px; border-top-right-radius: 24px; } /* Guided Relaxation Styles */ .guided-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, #2E7D32, #004D40); z-index: 6000; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; animation: fadeIn 0.5s ease; padding: 20px; text-align: center; } .guided-step-icon { font-size: 80px; margin-bottom: 30px; animation: floatIcon 3s ease-in-out infinite; filter: drop-shadow(0 0 20px rgba(255,255,255,0.3)); } @keyframes floatIcon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } } .guided-instruction { font-size: 28px; font-weight: 300; margin-bottom: 16px; line-height: 1.4; } .guided-sub { font-size: 18px; opacity: 0.8; margin-bottom: 40px; max-width: 80%; } .guided-progress-dots { display: flex; gap: 8px; margin-bottom: 40px; } .progress-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transition: all 0.3s; } .progress-dot.active { background: white; transform: scale(1.2); } .guided-action-btn { background: white; color: #004D40; border: none; padding: 16px 40px; border-radius: 50px; font-size: 18px; font-weight: bold; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,0.2); transition: transform 0.2s; } .guided-action-btn:active { transform: scale(0.95); } .guided-controls { position: absolute; top: 20px; right: 20px; display: flex; gap: 16px; } .icon-btn { background: rgba(255, 255, 255, 0.2); border: none; color: white; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; } .nav-item { display: flex; flex-direction: column; align-items: center; padding: 8px 16px; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: none; background: none; color: var(--on-surface-variant); position: relative; } .nav-item.active { color: var(--primary); transform: translateY(-4px); } .nav-item.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 10px var(--primary); } .nav-item:hover { color: var(--primary); transform: translateY(-2px); } .nav-item .material-icons { font-size: 24px; transition: transform 0.3s ease; } .nav-item:hover .material-icons { transform: scale(1.2); } /* Main Content & Cards */ .main-content { max-width: 1200px; margin: 0 auto; padding: 16px; /* Increased bottom padding to prevent content overlap with taller nav */ padding-bottom: calc(120px + env(safe-area-inset-bottom)); min-height: calc(100vh - 120px); position: relative; z-index: 1; } .card { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border-radius: 24px; padding: 24px; margin-bottom: 24px; box-shadow: 0 8px 32px rgba(0,0,0,0.1); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.5); } .card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 12px 40px rgba(0,0,0,0.2); background: rgba(255, 255, 255, 0.95); } .card-title { font-size: 22px; font-weight: 600; margin-bottom: 16px; color: var(--on-surface); position: relative; display: inline-block; } .card-title::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--primary), transparent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; } .card:hover .card-title::after { transform: scaleX(1); } /* Mood Selector - Enhanced */ .mood-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 16px; margin: 20px 0; } .mood-card { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); border-radius: 20px; padding: 20px; text-align: center; cursor: pointer; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 2px solid transparent; position: relative; overflow: hidden; } .mood-card:hover { transform: translateY(-8px) scale(1.05) rotate(2deg); box-shadow: 0 15px 35px rgba(0,0,0,0.2); background: rgba(255, 255, 255, 0.95); } .mood-card.selected { border-color: var(--primary); background: linear-gradient(135deg, var(--primary-container), white); transform: scale(1.05); box-shadow: 0 0 0 4px rgba(107, 144, 128, 0.2); } .mood-emoji { font-size: 48px; margin-bottom: 12px; display: block; transition: transform 0.3s ease; } .mood-card:hover .mood-emoji { animation: moodBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); } @keyframes moodBounce { 0% { transform: scale(1); } 50% { transform: scale(1.4); } 100% { transform: scale(1.2); } } /* Progress Section */ .progress-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 16px 0; } .progress-card { background-color: var(--surface-variant); border-radius: 12px; padding: 16px; text-align: center; transition: all 0.3s ease; } .progress-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); background-color: white; } .progress-value { font-size: 24px; font-weight: 500; color: var(--primary); margin-bottom: 4px; } .progress-label { font-size: 14px; color: var(--on-surface-variant); } /* Chart Container */ .chart-container { position: relative; height: 250px; background: rgba(255, 255, 255, 0.5); border-radius: 16px; padding: 16px; } /* Analytics Cards */ .analytics-card { background: rgba(255, 255, 255, 0.6); border-radius: 16px; padding: 16px; border: 1px solid rgba(255,255,255,0.5); } .analytics-card h4 { margin: 0 0 12px 0; color: var(--primary); font-size: 16px; } .emotion-bar { display: flex; align-items: center; margin-bottom: 8px; } .emotion-label { flex: 1; font-size: 14px; } .emotion-value { width: 40px; text-align: right; font-size: 14px; font-weight: 500; } .emotion-progress { flex: 2; height: 6px; background: var(--surface-variant); border-radius: 3px; margin: 0 8px; overflow: hidden; } .emotion-progress-fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width 0.3s ease; } /* Buttons - Alive */ .btn { padding: 16px 32px; border: none; border-radius: 50px; font-size: 18px; font-weight: 700; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: inline-flex; align-items: center; justify-content: center; gap: 12px; position: relative; overflow: hidden; text-transform: uppercase; letter-spacing: 1px; } /* Shimmer Effect */ .btn::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transition: 0.5s; } .btn:hover::after { left: 100%; transition: 0.7s ease-in-out; } .btn-primary { background: linear-gradient(45deg, var(--primary), var(--secondary)); color: white; box-shadow: 0 8px 20px rgba(107, 144, 128, 0.4); animation: breathBtn 3s infinite ease-in-out; } @keyframes breathBtn { 0% { transform: scale(1); box-shadow: 0 8px 20px rgba(107, 144, 128, 0.4); } 50% { transform: scale(1.02); box-shadow: 0 12px 24px rgba(107, 144, 128, 0.6); } 100% { transform: scale(1); box-shadow: 0 8px 20px rgba(107, 144, 128, 0.4); } } .btn-primary:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 15px 30px rgba(107, 144, 128, 0.5); animation: none; /* Stop breathing on hover to focus */ } .btn-secondary { background: linear-gradient(45deg, var(--tertiary), var(--peace)); color: white; box-shadow: 0 8px 20px rgba(79, 195, 247, 0.4); } .btn-secondary:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 15px 30px rgba(79, 195, 247, 0.5); } /* Inputs & Sliders */ .slider { width: 100%; height: 8px; border-radius: 4px; background: rgba(0,0,0,0.1); outline: none; -webkit-appearance: none; transition: all 0.3s ease; } .slider:hover { height: 10px; background: rgba(0,0,0,0.15); } .slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); cursor: pointer; box-shadow: 0 4px 10px rgba(107, 144, 128, 0.4); transition: all 0.3s ease; } .slider:hover::-webkit-slider-thumb { transform: scale(1.2); box-shadow: 0 6px 15px rgba(107, 144, 128, 0.6); } textarea, input[type="text"] { width: 100%; padding: 16px; border-radius: 16px; border: 2px solid rgba(0,0,0,0.05); background: rgba(255, 255, 255, 0.9); font-size: 16px; font-family: 'Roboto', sans-serif; transition: all 0.3s ease; } textarea:focus, input[type="text"]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(107, 144, 128, 0.1); transform: scale(1.01); } /* Proactive Badges */ .proactive-badge { position: absolute; background: var(--joy); color: white; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: bold; box-shadow: 0 4px 15px rgba(171, 71, 188, 0.4); animation: floatBadge 3s ease-in-out infinite; z-index: 10; pointer-events: none; opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; } .proactive-badge.visible { opacity: 1; transform: translateY(0); } @keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } /* Breathing Exercise - Super Alive */ .breathing-container { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 400px; } .breathing-circle { width: 250px; height: 250px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--tertiary), var(--primary)); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 60px rgba(79, 195, 247, 0.4); position: relative; transition: all 4s cubic-bezier(0.45, 0.05, 0.55, 0.95); } .breathing-circle::before { content: ''; position: absolute; top: -20px; left: -20px; right: -20px; bottom: -20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); animation: ripple 4s infinite; } .breathing-circle.inhale { transform: scale(1.5); box-shadow: 0 0 100px rgba(79, 195, 247, 0.6); filter: hue-rotate(30deg); } .breathing-circle.exhale { transform: scale(0.8); box-shadow: 0 0 30px rgba(79, 195, 247, 0.2); filter: hue-rotate(0deg); } .breathing-text { font-size: 32px; font-weight: 700; color: white; text-shadow: 0 2px 10px rgba(0,0,0,0.2); z-index: 2; } @keyframes ripple { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } } /* FAB - Alive */ .fab { position: fixed; bottom: 110px; /* Increased from 90px */ right: 24px; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; border: none; box-shadow: 0 8px 25px rgba(107, 144, 128, 0.5); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 99; } .fab:hover { transform: scale(1.15) rotate(90deg); box-shadow: 0 12px 35px rgba(107, 144, 128, 0.6); } .fab .material-icons { font-size: 32px; } /* Success Ping */ .success-ping { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 2000; } .ping-circle { position: absolute; border-radius: 50%; background: rgba(102, 187, 106, 0.6); animation: pingExpand 1s ease-out forwards; } @keyframes pingExpand { 0% { width: 0; height: 0; opacity: 1; } 100% { width: 500px; height: 500px; opacity: 0; } } /* Mobile Adaptation */ @media (max-width: 480px) { .welcome-title { font-size: 36px; } .card { padding: 16px; border-radius: 20px; } .btn { padding: 14px 24px; width: 100%; } .mood-emoji { font-size: 40px; } .breathing-circle { width: 180px; height: 180px; } .bottom-nav { padding: 8px 0; } .nav-item { padding: 6px 12px; } .nav-label { font-size: 10px; } } /* Exercise Modals */ .exercise-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto; z-index: 2000; animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .exercise-modal .card { margin: 0; box-shadow: 0 20px 60px rgba(0,0,0,0.4); border: 2px solid rgba(255, 255, 255, 0.8); } @keyframes zoomIn { from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } } .exercise-modal h3 { color: var(--primary); margin-bottom: 24px; font-size: 24px; } .exercise-actions { display: flex; gap: 12px; margin-top: 24px; justify-content: flex-end; } /* Desktop Sidebar */ @media (min-width: 1024px) { .bottom-nav { display: flex; flex-direction: column; top: 80px; left: 20px; right: auto; bottom: 20px; width: 100px; height: auto; border-radius: 20px; justify-content: flex-start; padding-top: 40px; gap: 20px; background: rgba(255, 255, 255, 0.85); } .main-content { margin-left: 120px; max-width: calc(100% - 140px); } .nav-item.active::after { left: 0; top: 50%; transform: translateY(-50%); bottom: auto; width: 4px; height: 20px; border-radius: 4px; } } /* History Lists */ .history-list { display: flex; flex-direction: column; gap: 16px; } .history-item { background: rgba(255, 255, 255, 0.5); border-radius: 12px; padding: 16px; transition: all 0.3s ease; } .history-item:hover { background: rgba(255, 255, 255, 0.8); transform: translateX(5px); } .history-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .history-type { font-weight: bold; font-size: 16px; } .history-date { font-size: 12px; color: var(--on-surface-variant); } .history-details { font-size: 14px; color: var(--on-surface); } .history-notes { font-style: italic; color: var(--on-surface-variant); margin-top: 4px; } .empty-state { text-align: center; padding: 40px; color: var(--on-surface-variant); font-size: 18px; } .error-state { text-align: center; padding: 20px; color: var(--error); background: rgba(255, 82, 82, 0.1); border-radius: 12px; } .btn-sm { padding: 8px 16px; font-size: 14px; } /* Loading Spinner */ .spinner { width: 40px; height: 40px; border: 4px solid rgba(0,0,0,0.1); border-left-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 20px auto; } @keyframes spin { to { transform: rotate(360deg); } } /* Auth Modal Styles */ .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; z-index: 3000; animation: fadeIn 0.3s ease; } .modal-card { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px); padding: 40px; border-radius: 30px; width: 90%; max-width: 400px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.8); text-align: center; animation: slideInUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden; } /* Animated gradient border top */ .modal-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: linear-gradient(90deg, var(--primary), var(--secondary), var(--tertiary)); animation: gradientFlow 3s linear infinite; background-size: 200% 100%; } @keyframes gradientFlow { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } } .auth-title { font-size: 32px; font-weight: 800; margin-bottom: 30px; background: linear-gradient(45deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: pulseText 3s infinite ease-in-out; } @keyframes pulseText { 0%, 100% { transform: scale(1); filter: brightness(100%); } 50% { transform: scale(1.05); filter: brightness(110%); } } .form-group { margin-bottom: 20px; text-align: left; } .form-group label { display: block; margin-bottom: 8px; color: var(--on-surface-variant); font-weight: 500; font-size: 14px; margin-left: 4px; } .form-input { width: 100%; padding: 16px; border-radius: 16px; border: 2px solid rgba(0,0,0,0.05); background: rgba(255, 255, 255, 0.5); font-size: 16px; transition: all 0.3s ease; } .form-input:focus { background: white; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(107, 144, 128, 0.1); transform: translateY(-2px); } .switch-form { margin-top: 24px; font-size: 14px; color: var(--on-surface-variant); } .switch-form a { color: var(--primary); text-decoration: none; font-weight: 700; margin-left: 4px; position: relative; } .switch-form a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform 0.3s ease; transform-origin: right; } .switch-form a:hover::after { transform: scaleX(1); transform-origin: left; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } /* Smart Breathing Enhanced Styles */ .breathing-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, #1a2a6c, #b21f1f, #fdbb2d); /* Deep calming gradient */ background: radial-gradient(circle at center, #2b5876, #4e4376); /* Deep calming blue/purple */ z-index: 5000; display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; animation: fadeIn 0.5s ease; } .breathing-visual-container { position: relative; width: 300px; height: 300px; display: flex; justify-content: center; align-items: center; margin-bottom: 40px; } .breath-circle-main { width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); border: 2px solid rgba(255, 255, 255, 0.5); box-shadow: 0 0 40px rgba(255, 255, 255, 0.2); position: absolute; transition: transform 0.1s linear, background-color 0.5s ease; } .breath-circle-inner { width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, 0.8); position: absolute; box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); transition: transform 0.1s linear; } .breath-particles { position: absolute; width: 100%; height: 100%; animation: rotateParticles 20s linear infinite; } .breath-instruction-text { font-size: 36px; font-weight: 300; letter-spacing: 2px; text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,0.3); margin-bottom: 10px; min-height: 50px; } .breath-sub-text { font-size: 18px; opacity: 0.8; margin-bottom: 40px; } .technique-selector { display: flex; gap: 12px; margin-bottom: 30px; overflow-x: auto; padding: 10px; max-width: 100%; } .technique-btn { background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3); padding: 12px 20px; border-radius: 30px; color: white; cursor: pointer; transition: all 0.3s; white-space: nowrap; } .technique-btn.active { background: white; color: #4e4376; font-weight: bold; box-shadow: 0 5px 15px rgba(0,0,0,0.2); } .breath-controls { display: flex; gap: 20px; } .control-btn-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); border: none; color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; } .control-btn-icon:hover { background: rgba(255, 255, 255, 0.4); transform: scale(1.1); } @keyframes rotateParticles { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } /* Specific States */ .inhale .breath-circle-main { background: rgba(100, 255, 218, 0.3); } .hold .breath-circle-main { background: rgba(255, 235, 59, 0.3); } .exhale .breath-circle-main { background: rgba(255, 107, 107, 0.3); } /* RTL Support Overrides */ html[dir="rtl"] { text-align: right; --direction: rtl; } html[dir="rtl"] .fab { right: auto; left: 24px; } html[dir="rtl"] .notification-badge { right: auto; left: 8px; } html[dir="rtl"] .notification-dropdown { right: auto; left: 0; } html[dir="rtl"] .card-title::after { transform-origin: right; left: auto; right: 0; } html[dir="rtl"] .switch-form a { margin-left: 0; margin-right: 4px; } html[dir="rtl"] .form-group label { margin-left: 0; margin-right: 4px; } html[dir="rtl"] .guided-controls { right: auto; left: 20px; } /* Adjust history item hover transform for RTL */ html[dir="rtl"] .history-item:hover { transform: translateX(-5px); } /* Adjust emotion value alignment */ html[dir="rtl"] .emotion-value { text-align: left; } /* Adjust desktop sidebar for RTL */ @media (min-width: 1024px) { html[dir="rtl"] .bottom-nav { left: auto; right: 20px; } html[dir="rtl"] .main-content { margin-left: 0; margin-right: 120px; } html[dir="rtl"] .nav-item.active::after { left: auto; right: 0; } }