@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', sans-serif; background: #0a0a0f; color: #ffffff; min-height: 100vh; background-image: radial-gradient(circle at 20% 80%, #1a1a2e 0%, transparent 50%), radial-gradient(circle at 80% 20%, #16213e 0%, transparent 50%), radial-gradient(circle at 40% 40%, #0f3460 0%, transparent 50%); } .main-container { max-width: 1400px; margin: 0 auto; padding: 2rem; min-height: 100vh; } /* Language Selector */ .language-selector { position: fixed; top: 2rem; left: 2rem; z-index: 1000; } .language-selector select { padding: 0.5rem 1rem; background: rgba(15, 23, 42, 0.9); border: 1px solid #334155; border-radius: 0.5rem; color: #ffffff; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; backdrop-filter: blur(10px); padding-left: 2.5rem; background-image: url('data:image/svg+xml,'); background-repeat: no-repeat; background-position: 0.5rem center; background-size: 20px 15px; } .language-selector select:hover { border-color: #00d4ff; box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.1); } .language-selector select:focus { outline: none; border-color: #00d4ff; box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2); } .header-section { text-align: center; margin-bottom: 3rem; } .main-title { font-size: 4rem; font-weight: 700; background: linear-gradient(135deg, #00d4ff, #ff6b35, #ffd700); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.5rem; letter-spacing: -0.02em; } .tagline { font-size: 1.2rem; color: #8892b0; font-weight: 300; } .nav-buttons { position: fixed; top: 2rem; right: 2rem; display: flex; gap: 1rem; align-items: center; z-index: 1000; } .btn { padding: 0.75rem 1.5rem; border: none; border-radius: 0.75rem; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; text-decoration: none; display: inline-block; } /* ============================================================================ NAVIGATION BUTTONS - COMPLETE REDESIGN ============================================================================ */ /* Base button styles */ .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border: none; border-radius: 0.5rem; font-weight: 600; font-size: 0.9rem; text-decoration: none; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; } /* Primary button (Dashboard) */ .btn-primary { background: #2563eb; color: white; } .btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4); } /* Logout button */ .btn-logout { background: #dc2626; color: white; } .btn-logout:hover { background: #b91c1c; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4); } /* Mobile navigation container */ .mobile-nav-buttons { display: flex; gap: 1rem; align-items: center; justify-content: flex-end; margin: 1rem 0; flex-wrap: wrap; position: absolute; top: 1rem; right: 1rem; } /* Login button */ .admin-login-btn { background: #f59e0b; color: white; } .admin-login-btn:hover { background: #d97706; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4); } /* Dashboard button */ .dashboard-btn { background: #2563eb; color: white; } .dashboard-btn:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4); } /* Logout button */ .logout-btn { background: #dc2626; color: white; } .logout-btn:hover { background: #b91c1c; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4); } .dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 2rem; } .welcome-card { background: rgba(15, 23, 42, 0.8); border: 1px solid #1e293b; border-radius: 1rem; padding: 2rem; backdrop-filter: blur(20px); margin-bottom: 2rem; text-align: center; } .card { background: rgba(15, 23, 42, 0.8); border: 1px solid #1e293b; border-radius: 1rem; padding: 2rem; backdrop-filter: blur(20px); transition: all 0.2s ease; } .card:hover { transform: translateY(-2px); border-color: #00d4ff; box-shadow: 0 10px 25px rgba(0, 212, 255, 0.1); } .card h3 { color: #ffffff; font-size: 1.3rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; } .card p { color: #8892b0; line-height: 1.6; } .loading { text-align: center; padding: 2rem; color: #8892b0; } .spinner { border: 3px solid #1e293b; border-top: 3px solid #00d4ff; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 0 auto 1rem; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .user-info { display: flex; align-items: center; gap: 0.5rem; color: #8892b0; font-size: 0.9rem; } .user-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #00d4ff, #0891b2); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 0.8rem; } /* Modal Styles */ .modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); } .modal-content { background: rgba(15, 23, 42, 0.95); margin: 5% auto; padding: 2rem; border: 1px solid #1e293b; border-radius: 1rem; width: 90%; max-width: 500px; max-height: 80vh; overflow-y: auto; backdrop-filter: blur(20px); } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; } .modal-title { color: #ffffff; font-size: 1.5rem; font-weight: 600; } .close { color: #8892b0; font-size: 2rem; font-weight: bold; cursor: pointer; } /* RFID Modal specific styles */ #rfidModal .modal-content { max-height: 85vh; overflow-y: auto; } /* Smooth scrolling for modal content */ .modal-content { scroll-behavior: smooth; } /* Custom scrollbar for modal content */ .modal-content::-webkit-scrollbar { width: 8px; } .modal-content::-webkit-scrollbar-track { background: rgba(30, 41, 59, 0.3); border-radius: 4px; } .modal-content::-webkit-scrollbar-thumb { background: rgba(100, 116, 139, 0.6); border-radius: 4px; } .modal-content::-webkit-scrollbar-thumb:hover { background: rgba(100, 116, 139, 0.8); } .close:hover { color: #ffffff; } .form-group { margin-bottom: 1.5rem; } .form-label { display: block; color: #e2e8f0; font-weight: 500; margin-bottom: 0.5rem; } .form-input { width: 100%; padding: 0.75rem; background: #1e293b; border: 2px solid #334155; border-radius: 0.5rem; color: #ffffff; font-size: 1rem; transition: border-color 0.2s ease; } .form-input:focus { outline: none; border-color: #00d4ff; } .form-input::placeholder { color: #64748b; } .message { padding: 1rem; border-radius: 0.5rem; margin-bottom: 1rem; font-weight: 500; } .message.success { background: rgba(34, 197, 94, 0.1); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.3); } .message.error { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); } .message.info { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); } .player-selection { display: grid; gap: 0.5rem; max-height: 200px; overflow-y: auto; background: #0f172a; border-radius: 0.5rem; padding: 1rem; } .player-option { padding: 0.75rem; background: #1e293b; border: 2px solid #334155; border-radius: 0.5rem; cursor: pointer; transition: all 0.2s ease; display: flex; justify-content: space-between; align-items: center; } .player-option:hover { border-color: #00d4ff; background: #334155; } .player-option.selected { border-color: #00d4ff; background: rgba(0, 212, 255, 0.1); } .player-info { color: #e2e8f0; } .player-rfid { color: #8892b0; font-size: 0.9rem; font-family: monospace; } .times-grid { display: grid; gap: 1rem; max-height: 400px; overflow-y: auto; } .time-card { background: #1e293b; border: 1px solid #334155; border-radius: 0.5rem; padding: 1rem; } .time-location { color: #00d4ff; font-weight: 600; margin-bottom: 0.5rem; } .time-value { color: #ffffff; font-size: 1.2rem; font-weight: bold; font-family: monospace; } .time-date { color: #8892b0; font-size: 0.9rem; margin-top: 0.5rem; } /* Times Section Styles */ .times-section { background: rgba(15, 23, 42, 0.8); border: 1px solid #1e293b; border-radius: 1rem; padding: 2rem; backdrop-filter: blur(20px); margin-top: 2rem; } .times-header { text-align: center; margin-bottom: 2rem; } .times-header h2 { color: #ffffff; font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; } .times-header p { color: #8892b0; font-size: 1.1rem; } .times-loading { text-align: center; padding: 3rem; color: #8892b0; } .times-not-linked { text-align: center; padding: 3rem 2rem; } .not-linked-content { max-width: 600px; margin: 0 auto; } .not-linked-icon { font-size: 4rem; margin-bottom: 1rem; } .times-not-linked h3 { color: #ffffff; font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; } .times-not-linked p { color: #8892b0; font-size: 1.1rem; margin-bottom: 2rem; line-height: 1.6; } .link-info { background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.3); border-radius: 0.75rem; padding: 1.5rem; margin-top: 2rem; text-align: left; } .link-info h4 { color: #00d4ff; font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; } .link-info ol { color: #cbd5e1; padding-left: 1.5rem; } .link-info li { margin-bottom: 0.5rem; line-height: 1.5; } .times-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; } .stat-card { background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.3); border-radius: 0.75rem; padding: 1.5rem; text-align: center; transition: all 0.2s ease; } .stat-card:hover { transform: translateY(-2px); border-color: #00d4ff; box-shadow: 0 10px 25px rgba(0, 212, 255, 0.1); } .stat-number { color: #00d4ff; font-size: 2rem; font-weight: 700; font-family: monospace; margin-bottom: 0.5rem; } .stat-label { color: #8892b0; font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; } .times-content { margin-top: 2rem; } .times-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; } .user-time-card { background: #1e293b; border: 1px solid #334155; border-radius: 0.75rem; padding: 1.5rem; transition: all 0.3s ease; position: relative; overflow: hidden; cursor: pointer; } .user-time-card:hover { transform: translateY(-2px); border-color: #00d4ff; box-shadow: 0 10px 25px rgba(0, 212, 255, 0.1); } .user-time-card.expanded { transform: none; border-color: #00d4ff; box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2); } .user-time-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #00d4ff, #0891b2); } .time-location-name { color: #00d4ff; font-weight: 600; font-size: 1.1rem; margin-bottom: 0.5rem; } .time-value-large { color: #ffffff; font-size: 2rem; font-weight: bold; font-family: monospace; margin-bottom: 0.5rem; } .time-date-info { color: #8892b0; font-size: 0.9rem; display: flex; justify-content: space-between; align-items: center; } .time-rank { background: rgba(255, 107, 53, 0.1); color: #ff6b35; padding: 0.25rem 0.5rem; border-radius: 0.375rem; font-size: 0.8rem; font-weight: 600; } .card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; } .expand-indicator { color: #8892b0; font-size: 1.2rem; transition: transform 0.3s ease; margin-left: 0.5rem; } .user-time-card.expanded .expand-indicator { transform: rotate(180deg); } .card-main-content { margin-bottom: 1rem; } .expanded-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, opacity 0.3s ease; opacity: 0; } .user-time-card.expanded .expanded-content { max-height: 1000px; opacity: 1; } .all-runs-title { color: #00d4ff; font-size: 1rem; font-weight: 600; margin-bottom: 1rem; padding-top: 1rem; border-top: 1px solid #334155; } .run-item { background: rgba(0, 212, 255, 0.05); border: 1px solid rgba(0, 212, 255, 0.1); border-radius: 0.5rem; padding: 1rem; margin-bottom: 0.75rem; display: flex; justify-content: space-between; align-items: center; transition: all 0.2s ease; } .run-item:hover { background: rgba(0, 212, 255, 0.1); border-color: rgba(0, 212, 255, 0.3); } .run-item:last-child { margin-bottom: 0; } .run-time { color: #ffffff; font-size: 1.1rem; font-weight: 600; font-family: monospace; } .run-details { text-align: right; color: #8892b0; font-size: 0.85rem; } .run-rank-badge { background: #00d4ff; color: #0a0a0f; padding: 0.2rem 0.5rem; border-radius: 0.3rem; font-size: 0.75rem; font-weight: 700; margin-left: 0.5rem; } .run-rank-badge.best { background: #22c55e; } .run-rank-badge.second { background: #f59e0b; } .run-rank-badge.third { background: #ef4444; } /* Mobile First Responsive Design */ @media (max-width: 768px) { .main-container { padding: 1rem; max-width: 100%; } .main-title { font-size: 2.5rem; margin-bottom: 0.5rem; } .tagline { font-size: 1rem; } .nav-buttons { position: fixed; top: 1rem; right: 1rem; left: 1rem; flex-direction: column; gap: 0.5rem; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(20px); border: 1px solid #1e293b; border-radius: 1rem; padding: 1rem; z-index: 1000; } .user-info { order: -1; margin-bottom: 0.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid #334155; width: 100%; justify-content: center; } .btn { width: 100%; padding: 1rem; font-size: 1rem; text-align: center; } .dashboard-grid { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; } .card { padding: 1.5rem; } .card h3 { font-size: 1.1rem; } .welcome-card { padding: 1.5rem; margin-bottom: 1.5rem; } .times-section { padding: 1.5rem; margin-top: 1.5rem; } .times-header h2 { font-size: 1.5rem; } .times-header p { font-size: 1rem; } .times-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1.5rem; } .stat-card { padding: 1rem; } .stat-number { font-size: 1.5rem; } .stat-label { font-size: 0.8rem; } .times-grid { grid-template-columns: 1fr; gap: 1rem; } .user-time-card { padding: 1rem; } .time-value-large { font-size: 1.5rem; } .modal-content { margin: 1% auto; width: 95%; padding: 1rem; max-height: 90vh; overflow-y: auto; } .modal-title { font-size: 1.2rem; } .form-input { padding: 1rem; font-size: 1rem; } .player-selection { max-height: 150px; } .player-option { padding: 1rem; } .run-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; } .run-details { text-align: left; } } /* Extra small devices (phones in portrait) */ @media (max-width: 480px) { .main-container { padding: 0.5rem; } .main-title { font-size: 2rem; } .tagline { font-size: 0.9rem; } .nav-buttons { top: 0.5rem; right: 0.5rem; left: 0.5rem; padding: 0.75rem; } .card { padding: 1rem; } .times-section { padding: 1rem; } .times-stats { grid-template-columns: 1fr; gap: 0.75rem; } .stat-card { padding: 0.75rem; } .stat-number { font-size: 1.25rem; } .modal-content { margin: 0.5% auto; width: 98%; padding: 0.75rem; } .times-header h2 { font-size: 1.25rem; } .times-header p { font-size: 0.9rem; } } /* Landscape orientation on mobile */ @media (max-width: 768px) and (orientation: landscape) { .nav-buttons { flex-direction: row; flex-wrap: wrap; justify-content: space-between; } .user-info { order: 0; margin-bottom: 0; padding-bottom: 0; border-bottom: none; width: auto; } .btn { width: auto; flex: 1; min-width: 120px; } .main-title { font-size: 2rem; } .times-stats { grid-template-columns: repeat(4, 1fr); } } /* Touch-friendly improvements for mobile */ @media (max-width: 768px) { .btn { min-height: 44px; /* Apple's recommended minimum touch target */ touch-action: manipulation; /* Prevents double-tap zoom */ } .card { touch-action: manipulation; } .user-time-card { touch-action: manipulation; } .player-option { min-height: 44px; touch-action: manipulation; } .close { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; } /* Improve scrolling on mobile */ .times-grid { -webkit-overflow-scrolling: touch; } .player-selection { -webkit-overflow-scrolling: touch; } /* Better spacing for mobile */ .header-section { margin-bottom: 2rem; margin-top: 5rem; /* Account for fixed nav */ } /* Improve modal usability on mobile */ .modal { padding: 1rem; } .modal-content { border-radius: 0.75rem; } /* Better form inputs on mobile */ .form-input { -webkit-appearance: none; appearance: none; border-radius: 0.5rem; } /* Improve video container on mobile */ #cameraContainer video { max-width: 100%; height: auto; border-radius: 0.5rem; } } /* Footer Styles */ .footer { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border-top: 1px solid #2a2a3e; margin-top: 3rem; padding: 2rem 0; } .footer-content { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; } .footer-links { display: flex; gap: 2rem; align-items: center; } .footer-link { color: #8892b0; text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; background: none; border: none; cursor: pointer; font-family: inherit; } .footer-link:hover { color: #00d4ff; } .cookie-settings-btn { background: none !important; border: none !important; padding: 0 !important; font-size: 0.9rem !important; } .footer-text { color: #6b7280; font-size: 0.85rem; } .footer-text p { margin: 0; } @media (max-width: 768px) { .footer-content { flex-direction: column; text-align: center; gap: 1.5rem; } .footer-links { flex-wrap: wrap; justify-content: center; gap: 1.5rem; } } /* ==================== ACHIEVEMENT STYLES ==================== */ .achievements-section { margin-bottom: 3rem; } .achievements-header { text-align: center; margin-bottom: 2rem; } .achievements-header h2 { font-size: 2.5rem; font-weight: 700; background: linear-gradient(135deg, #ffd700, #ff6b35); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.5rem; } .achievements-header p { color: #8892b0; font-size: 1.1rem; } /* Achievement Stats */ .achievement-stats { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; justify-content: center; } .achievement-stat { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #2a2a3e; border-radius: 1rem; padding: 1.5rem; text-align: center; min-width: 150px; flex: 1; max-width: 200px; } .achievement-stat .stat-number { font-size: 2rem; font-weight: 700; color: #00d4ff; margin-bottom: 0.5rem; } .achievement-stat .stat-label { color: #8892b0; font-size: 0.9rem; font-weight: 500; } /* Achievement Categories */ .achievement-categories { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #2a2a3e; border-radius: 1rem; padding: 2rem; } .category-tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; justify-content: center; } .category-tab { background: transparent; border: 1px solid #2a2a3e; color: #8892b0; padding: 0.75rem 1.5rem; border-radius: 0.5rem; cursor: pointer; transition: all 0.3s ease; font-family: inherit; font-size: 0.9rem; font-weight: 500; } .category-tab:hover { background: #2a2a3e; color: #ffffff; } .category-tab.active { background: linear-gradient(135deg, #00d4ff, #ff6b35); border-color: transparent; color: #ffffff; } /* Achievements Grid */ .achievements-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; } .achievement-card { background: linear-gradient(135deg, #0f1419 0%, #1a1a2e 100%); border: 1px solid #2a2a3e; border-radius: 1rem; padding: 1.5rem; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; } .achievement-card:hover { transform: translateY(-2px); border-color: #00d4ff; box-shadow: 0 8px 25px rgba(0, 212, 255, 0.1); } .achievement-card.completed { border-color: #10b981; background: linear-gradient(135deg, #064e3b 0%, #1a1a2e 100%); } .achievement-card.completed:hover { border-color: #10b981; box-shadow: 0 8px 25px rgba(16, 185, 129, 0.1); } .achievement-card.incomplete { opacity: 0.7; } .achievement-card.incomplete:hover { opacity: 1; } .achievement-icon { font-size: 2.5rem; margin-bottom: 1rem; text-align: center; } .achievement-content { flex: 1; } .achievement-name { font-size: 1.2rem; font-weight: 600; color: #ffffff; margin-bottom: 0.5rem; } .achievement-description { color: #8892b0; font-size: 0.9rem; line-height: 1.4; margin-bottom: 1rem; } .achievement-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; } .achievement-points { color: #ffd700; font-weight: 600; font-size: 0.9rem; } .achievement-progress { color: #00d4ff; font-size: 0.8rem; font-weight: 500; } .achievement-status { position: absolute; top: 1rem; right: 1rem; font-size: 1.2rem; } /* Achievement Loading States */ .achievements-loading { text-align: center; padding: 3rem; color: #8892b0; } .achievements-not-available { text-align: center; padding: 3rem; } .not-available-content { max-width: 400px; margin: 0 auto; } .not-available-icon { font-size: 4rem; margin-bottom: 1rem; } .not-available-content h3 { color: #ffffff; margin-bottom: 1rem; font-size: 1.5rem; } .not-available-content p { color: #8892b0; margin-bottom: 2rem; line-height: 1.5; } /* No Achievements State */ .no-achievements { text-align: center; padding: 3rem; color: #8892b0; grid-column: 1 / -1; } .no-achievements-icon { font-size: 3rem; margin-bottom: 1rem; } .no-achievements h3 { color: #ffffff; margin-bottom: 0.5rem; font-size: 1.3rem; } /* Achievement Notifications */ .achievement-notification { position: fixed; top: 2rem; right: 2rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #10b981; border-radius: 1rem; padding: 1.5rem; box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2); z-index: 1000; max-width: 350px; animation: slideInRight 0.3s ease; } @keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } .notification-content { display: flex; align-items: center; gap: 1rem; } .notification-icon { font-size: 2rem; } .notification-text h4 { color: #ffffff; margin-bottom: 0.25rem; font-size: 1.1rem; } .notification-text p { color: #8892b0; font-size: 0.9rem; margin: 0; } .notification-close { background: none; border: none; color: #8892b0; font-size: 1.5rem; cursor: pointer; padding: 0; margin-left: auto; transition: color 0.3s ease; } .notification-close:hover { color: #ffffff; } /* Mobile Responsiveness for Achievements */ @media (max-width: 768px) { .achievements-header h2 { font-size: 2rem; } .achievement-stats { flex-direction: column; align-items: center; } .achievement-stat { width: 100%; max-width: 250px; } .category-tabs { flex-direction: column; align-items: center; } .category-tab { width: 100%; max-width: 200px; text-align: center; } .achievements-grid { grid-template-columns: 1fr; gap: 1rem; } .achievement-notification { top: 1rem; right: 1rem; left: 1rem; max-width: none; } } .last-location-info small { color: #b3e5fc; font-size: 0.85rem; } /* Settings Modal Styles */ .settings-content { padding: 1.5rem 0; } .setting-item { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; background: #1e293b; border-radius: 0.75rem; margin-bottom: 1rem; border: 1px solid #334155; } .setting-info h3 { color: #ffffff; font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; } .setting-info p { color: #8892b0; font-size: 0.9rem; line-height: 1.4; } .setting-control { margin-left: 1rem; } /* Toggle Switch Styles */ .toggle-switch { position: relative; display: inline-block; width: 60px; height: 34px; } .toggle-switch input { opacity: 0; width: 0; height: 0; } .toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #334155; transition: 0.3s; border-radius: 34px; } .toggle-slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: 0.3s; border-radius: 50%; } input:checked+.toggle-slider { background-color: #00d4ff; } input:checked+.toggle-slider:before { transform: translateX(26px); } .setting-description { margin-top: 1rem; } .settings-actions { display: flex; gap: 1rem; margin-top: 2rem; justify-content: flex-end; } .settings-actions .btn { min-width: 120px; } /* Analytics and Statistics Styles */ .analytics-section, .statistics-section { margin: 2rem 0; padding: 1.5rem; background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); border-radius: 10px; border: 1px solid #34495e; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); } .section-header { text-align: center; margin-bottom: 2rem; } .section-header h2 { color: #ecf0f1; margin-bottom: 0.5rem; font-size: 2rem; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); } .section-header p { color: #bdc3c7; font-size: 1.1rem; } .analytics-grid, .statistics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; } .analytics-card, .statistics-card { background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%); padding: 1.5rem; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); border: 1px solid #34495e; transition: transform 0.2s ease, box-shadow 0.2s ease; } .analytics-card:hover, .statistics-card:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); } .analytics-card h3, .statistics-card h3 { color: #ecf0f1; margin-bottom: 1rem; font-size: 1.2rem; border-bottom: 2px solid #3498db; padding-bottom: 0.5rem; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } /* Mini Stats in Cards */ .analytics-stats, .statistics-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; margin-bottom: 1rem; } .mini-stat { text-align: center; padding: 0.5rem; background: rgba(52, 73, 94, 0.6); border-radius: 5px; border: 1px solid #34495e; } .mini-stat-number { font-size: 1.2rem; font-weight: bold; color: #ecf0f1; margin-bottom: 0.25rem; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .mini-stat-label { font-size: 0.8rem; color: #bdc3c7; } /* Trend Stats */ .trend-stats, .activity-stats, .monthly-stats, .consistency-stats, .progress-stats { display: flex; flex-direction: column; gap: 0.75rem; } .trend-item, .activity-item, .monthly-item, .consistency-item, .progress-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem; background: rgba(52, 73, 94, 0.6); border-radius: 5px; border: 1px solid #34495e; margin-bottom: 0.5rem; } .trend-label, .activity-label, .monthly-label, .consistency-label, .progress-label { font-weight: 500; color: #bdc3c7; } .trend-value, .activity-value, .monthly-value, .consistency-value, .progress-value { font-weight: bold; color: #ecf0f1; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } /* Personal Records */ .personal-records { max-height: 200px; overflow-y: auto; } .record-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem; margin-bottom: 0.5rem; background: rgba(52, 73, 94, 0.6); border-radius: 5px; border-left: 4px solid #3498db; border: 1px solid #34495e; } .record-rank { font-weight: bold; color: #e74c3c; font-size: 1.1rem; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .record-time { font-weight: bold; color: #ecf0f1; font-family: 'Courier New', monospace; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .record-location { color: #bdc3c7; font-size: 0.9rem; } /* Location Performance */ .location-stats { max-height: 200px; overflow-y: auto; } .location-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem; margin-bottom: 0.5rem; background: rgba(52, 73, 94, 0.6); border-radius: 5px; border: 1px solid #34495e; } .location-name { font-weight: 500; color: #ecf0f1; } .location-best { font-weight: bold; color: #27ae60; font-family: 'Courier New', monospace; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .location-runs { color: #bdc3c7; font-size: 0.9rem; } /* Ranking Stats */ .ranking-stats { max-height: 200px; overflow-y: auto; } .ranking-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem; margin-bottom: 0.5rem; background: rgba(52, 73, 94, 0.6); border-radius: 5px; border: 1px solid #34495e; } .ranking-category { font-weight: 500; color: #ecf0f1; } .ranking-position { font-weight: bold; color: #e74c3c; font-size: 1.1rem; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .ranking-total { color: #bdc3c7; font-size: 0.9rem; } /* Responsive Settings */ @media (max-width: 768px) { .setting-item { flex-direction: column; align-items: flex-start; gap: 1rem; } .setting-control { margin-left: 0; align-self: flex-end; } .settings-actions { flex-direction: column; } .settings-actions .btn { width: 100%; } }