:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;font-weight:400;--primary: #1a5f7a;--primary-light: #2a7ea1;--primary-dark: #0d4d66;--secondary: #2c3e50;--accent: #e67e22;--background: #f8fafc;--surface: #ffffff;--text-primary: #1a2b3c;--text-secondary: #475569;--text-tertiary: #64748b;--border: #e2e8f0;--error: #dc2626;--success: #059669;color:var(--text-primary);background-color:var(--background);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box;margin:0;padding:0}html,body{margin:0;padding:0;width:100%;height:100%}body{min-width:320px;min-height:100vh;overflow-x:hidden;background-color:var(--background)}#root{width:100%;min-height:100vh}a{font-weight:500;color:var(--primary);text-decoration:none;transition:color .2s ease}a:hover{color:var(--primary-light)}h1,h2,h3,h4,h5,h6{margin:0;font-weight:600;line-height:1.2;color:var(--text-primary);letter-spacing:-.02em}h1{font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.75rem}h4{font-size:1.5rem}h5{font-size:1.25rem}h6{font-size:1rem}button{border-radius:8px;border:1px solid transparent;padding:.75em 1.5em;font-size:1em;font-weight:500;font-family:inherit;background-color:var(--primary);color:#fff;cursor:pointer;transition:all .2s ease}button:hover{background-color:var(--primary-light);transform:translateY(-1px)}button:focus,button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}button:disabled{opacity:.6;cursor:not-allowed;transform:none}@media (prefers-color-scheme: dark){:root{--primary: #38bdf8;--primary-light: #7dd3fc;--primary-dark: #0284c7;--secondary: #475569;--accent: #f97316;--background: #0f172a;--surface: #1e293b;--text-primary: #f1f5f9;--text-secondary: #cbd5e1;--text-tertiary: #94a3b8;--border: #334155}}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--background);padding:1.5rem;position:relative;overflow:hidden}.login-container:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);opacity:.05;pointer-events:none}.login-card{background:var(--surface);border-radius:16px;box-shadow:0 25px 50px #0000001a,0 0 1px #0003;padding:3rem;width:100%;max-width:420px;position:relative;z-index:1;border:1px solid var(--border)}.login-header{text-align:center;margin-bottom:2.5rem}.login-header h1{color:var(--text-primary);font-size:2rem;font-weight:700;margin:0 0 .75rem;letter-spacing:-.02em}.login-header p{color:var(--text-secondary);font-size:1rem;margin:0;font-weight:500}.login-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem;position:relative}.form-group label{color:var(--text-primary);font-size:.95rem;font-weight:600;margin-left:.25rem}.form-group input{padding:.875rem 1rem;border:2px solid var(--border);border-radius:8px;font-size:1rem;transition:all .2s ease;background:var(--surface);color:var(--text-primary);font-weight:500}.form-group input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 4px #1a5f7a1a;transform:translateY(-1px)}.form-group input:disabled{background:var(--background);cursor:not-allowed;opacity:.7}.form-group input[type=date]{position:relative;color:var(--text-primary);font-family:inherit}.form-group input[type=date]::-webkit-calendar-picker-indicator{background:transparent;color:transparent;cursor:pointer;height:auto;inset:0;position:absolute;width:auto}.form-group input[type=date]::-webkit-datetime-edit{color:inherit}.form-group input[type=date]::-webkit-datetime-edit-fields-wrapper{color:inherit}.form-group input[type=date]::-webkit-datetime-edit-text{color:inherit}.form-group input[type=date]::-webkit-datetime-edit-month-field,.form-group input[type=date]::-webkit-datetime-edit-day-field,.form-group input[type=date]::-webkit-datetime-edit-year-field{color:inherit}.form-group .date-format-hint{font-size:.8rem;color:var(--text-secondary);margin-top:.25rem;font-style:italic;opacity:.8}.login-button{background:var(--primary);color:#fff;border:none;padding:1rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;margin-top:.5rem;position:relative;overflow:hidden;letter-spacing:.01em}.login-button:hover:not(:disabled){background:var(--primary-light);transform:translateY(-1px);box-shadow:0 4px 12px #1a5f7a33}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.6;cursor:not-allowed}.error-message{background:#dc26260d;color:var(--error);padding:1rem 1.25rem;border-radius:8px;font-size:.95rem;border:1px solid rgba(220,38,38,.1);margin-bottom:1.5rem;font-weight:500;display:flex;align-items:flex-start;gap:.5rem;animation:slideIn .3s ease-out}.error-message strong{font-weight:600}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.form-group input[aria-invalid=true]{border-color:var(--error);background-color:#dc262605}.form-group input[aria-invalid=true]:focus{border-color:var(--error);box-shadow:0 0 0 4px #dc26261a}.login-footer{text-align:center;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border)}.login-footer p{color:var(--text-tertiary);font-size:.9rem;margin:0}.database-error-message{background:var(--surface);border-radius:16px;box-shadow:0 25px 50px #0000001a;padding:3rem;width:100%;max-width:600px;text-align:center;border:1px solid var(--border)}.error-content{margin:2rem 0;text-align:left}.error-message-large{background:#dc26260d;color:var(--error);padding:1.5rem;border-radius:8px;font-size:1rem;border:1px solid rgba(220,38,38,.1);margin-bottom:2rem;font-family:monospace;white-space:pre-wrap}.error-details{background:var(--background);padding:1.5rem;border-radius:8px;border:1px solid var(--border)}.error-details p{color:var(--text-secondary);font-size:1rem;margin:0 0 1rem;line-height:1.6}.error-details p:last-child{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border);font-style:italic}.error-details ul{list-style:none;padding:0;margin:0 0 1rem;color:var(--text-secondary)}.error-details li{margin-bottom:.75rem;padding-left:1.5rem;position:relative;line-height:1.5}.error-details li:before{content:"•";position:absolute;left:.5rem;color:var(--error)}.error-actions{margin-top:2.5rem;text-align:center}.retry-button{background:var(--primary);color:#fff;border:none;padding:1rem 2rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.75rem}.retry-button:hover{background:var(--primary-light);transform:translateY(-1px);box-shadow:0 4px 12px #1a5f7a33}@media (max-width: 480px){.login-container{padding:1rem}.login-card{padding:2rem}.login-header h1{font-size:1.75rem}.database-error-message{padding:2rem}.error-header h1{font-size:1.75rem}.error-message-large{font-size:.9rem;padding:1rem}.retry-button{width:100%}.error-card{padding:2rem;margin:1rem}.error-message{padding:1rem;font-size:.9rem;flex-direction:column;gap:.25rem}}@media (prefers-color-scheme: dark){.login-card{background:#111827f2;color:#fff}.form-group label{color:#d1d5db}.form-group input{background:#1f2937cc;border-color:#374151;color:#fff}.form-group input:focus{background:#1f2937f2;border-color:#667eea}.login-header p,.login-footer p{color:#9ca3af}}.error-card{background:var(--surface);border-radius:16px;box-shadow:0 25px 50px #0000001a;padding:3rem;width:100%;max-width:600px;text-align:center;border:1px solid var(--border);animation:fadeIn .5s ease-out}@keyframes fadeIn{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}.error-header{margin-bottom:2rem}.error-header h1{color:var(--error);font-size:2rem;font-weight:700;margin:0 0 1rem;letter-spacing:-.02em;display:flex;align-items:center;justify-content:center;gap:.75rem}.error-header p{color:var(--text-secondary);font-size:1.1rem;margin:0;line-height:1.6}.error-content{display:flex;flex-direction:column;gap:24px}.error-message-large{background:#ff6b6b1a;border:2px solid rgba(255,107,107,.3);color:#ff6b6b;padding:20px;border-radius:12px;font-size:16px;font-weight:600;text-align:center}.error-details{text-align:left;background:#667eea0d;border-radius:12px;padding:20px;border:1px solid rgba(102,126,234,.1)}.error-details p{color:#374151;font-weight:600;margin:0 0 12px;font-size:16px}.error-details ul{margin:0;padding-left:20px;color:#64748b;font-size:14px;line-height:1.6}.error-details li{margin-bottom:8px}.error-actions{margin-top:16px}.retry-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:16px 32px;border-radius:12px;font-size:16px;font-weight:700;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;letter-spacing:.5px}.retry-button:hover{transform:translateY(-2px);box-shadow:0 8px 25px #667eea4d}.retry-button:active{transform:translateY(0)}@media (prefers-color-scheme: dark){.error-card{background:#000c;border-color:#ffffff1a}.error-header p{color:#ffffffb3}.error-details{background:#ffffff0d;border-color:#ffffff1a}.error-details p{color:#ffffffe6}.error-details ul{color:#ffffffb3}}@media (max-width: 480px){.error-card{padding:32px 24px;margin:20px}.error-header h1{font-size:24px}.error-header p{font-size:16px}.error-message-large{font-size:14px;padding:16px}.retry-button{padding:14px 24px;font-size:14px}}.logout-confirm-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.logout-confirm-modal{background:var(--surface);border-radius:12px;padding:2rem;max-width:400px;width:90%;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;border:1px solid var(--border);animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.logout-confirm-header{margin-bottom:1.5rem;text-align:center}.logout-confirm-header h3{color:var(--text-primary);font-size:1.5rem;font-weight:700;margin:0;letter-spacing:-.02em}.logout-confirm-content{margin-bottom:2rem;text-align:center}.logout-confirm-content p{color:var(--text-secondary);font-size:1rem;margin:0 0 1rem;line-height:1.5}.logout-confirm-subtitle{color:var(--text-tertiary)!important;font-size:.875rem!important;margin:0!important}.logout-confirm-actions{display:flex;gap:1rem;justify-content:center}.logout-confirm-cancel,.logout-confirm-confirm{padding:.75rem 1.5rem;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:none;min-width:100px}.logout-confirm-cancel{background:var(--background);color:var(--text-secondary);border:1px solid var(--border)}.logout-confirm-cancel:hover:not(:disabled){background:var(--border);color:var(--text-primary)}.logout-confirm-confirm{background:var(--error);color:#fff}.logout-confirm-confirm:hover:not(:disabled){background:#b91c1c;transform:translateY(-1px);box-shadow:0 4px 8px #dc262633}.logout-confirm-cancel:disabled,.logout-confirm-confirm:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.logout-confirm-cancel:disabled:hover,.logout-confirm-confirm:disabled:hover{transform:none;box-shadow:none}@media (max-width: 480px){.logout-confirm-modal{padding:1.5rem;margin:1rem}.logout-confirm-actions{flex-direction:column}.logout-confirm-cancel,.logout-confirm-confirm{width:100%}}.app{min-height:100vh;background:var(--background);font-family:inherit}.app-header{background:var(--surface);padding:1.5rem 2rem;box-shadow:0 2px 4px #00000014;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100;min-height:80px}.app-header h1{margin:0;color:var(--text-primary);font-size:1.875rem;font-weight:700;letter-spacing:-.025em;display:flex;align-items:center;gap:.75rem;flex-shrink:0}.header-info{display:flex;align-items:center;gap:2rem;flex:1;justify-content:center;margin:0 2rem}.last-update{color:var(--text-tertiary);font-size:.875rem;padding:.5rem 1rem;background:var(--background);border-radius:6px;border:1px solid var(--border);white-space:nowrap;font-weight:500;display:flex;align-items:center;gap:.5rem}.last-update:before{content:"🕒";font-size:.875rem}.logout-button{background:var(--error);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:600;transition:all .2s ease;display:flex;align-items:center;gap:.5rem;flex-shrink:0;min-width:120px;justify-content:center}.logout-button:hover{background:#b91c1c;transform:translateY(-1px);box-shadow:0 4px 8px #dc262633}.logout-button:active{transform:translateY(0)}.logout-button:disabled{background:var(--text-tertiary);cursor:not-allowed;transform:none;box-shadow:none}.logout-button:disabled:hover{background:var(--text-tertiary);transform:none;box-shadow:none}.dashboard{max-width:1200px;margin:0 auto;padding:2rem;position:relative}.loading-overlay{position:absolute;inset:0;background:#ffffffe6;display:flex;align-items:center;justify-content:center;z-index:10;border-radius:12px}.loading-spinner{background:var(--surface);padding:2rem 3rem;border-radius:12px;box-shadow:0 4px 20px #0000001a;border:1px solid var(--border);color:var(--text-primary);font-weight:600;font-size:1.1rem;display:flex;align-items:center;gap:1rem}.loading-spinner:before{content:"";width:24px;height:24px;border:3px solid var(--border);border-top:3px solid var(--primary);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.user-info{background:var(--surface);border-radius:12px;padding:2rem;margin-bottom:2rem;box-shadow:0 1px 3px #0000001a;border:1px solid var(--border);text-align:left}.user-info h2{color:var(--text-primary);font-size:1.75rem;font-weight:700;margin-bottom:1rem;letter-spacing:-.02em}.user-info p{color:var(--text-secondary);font-size:1.1rem;margin:.5rem 2rem .5rem 0;display:inline-block}.sport-data{background:var(--surface);border-radius:12px;padding:2rem;box-shadow:0 1px 3px #0000001a;border:1px solid var(--border)}.sport-data h3{color:var(--text-primary);font-size:1.5rem;font-weight:700;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid var(--border);letter-spacing:-.02em}.data-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}.data-section{background:var(--background);padding:1.5rem;border-radius:8px;border:1px solid var(--border);transition:all .2s ease}.data-section:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000000d}.data-section h4{color:var(--primary);font-size:1.25rem;font-weight:600;margin-bottom:1.25rem;padding-bottom:.75rem;border-bottom:2px solid var(--border);letter-spacing:.02em}.data-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid var(--border);gap:1rem}.data-item:last-child{border-bottom:none;padding-bottom:0}.data-item span:first-child{color:var(--text-secondary);font-weight:500;flex:1}.data-item span:last-child{color:var(--text-primary);font-weight:600;text-align:right;min-width:80px}@media (max-width: 1024px){.data-grid{grid-template-columns:1fr}}@media (max-width: 768px){.app-header{padding:1rem;flex-direction:column;gap:1rem;min-height:auto}.app-header h1{font-size:1.5rem}.header-info{margin:0;flex-direction:column;gap:.5rem}.last-update{font-size:.8rem;padding:.25rem .5rem}.logout-button{width:100%;max-width:200px}.dashboard{padding:1rem}.user-info{padding:1.5rem}.user-info h2{font-size:1.5rem}.user-info p{font-size:1rem;margin-right:1rem}.sport-data{padding:1.5rem}.sport-data h3{font-size:1.25rem}.data-section{padding:1rem}.data-section h4{font-size:1.1rem}.data-item{flex-direction:column;align-items:flex-start;gap:.25rem}.data-item span:last-child{text-align:left;min-width:auto}}.info-box{margin-top:2rem;padding:1.5rem;color:var(--text-secondary)}.info-box a{color:var(--primary);text-decoration:none;font-weight:600}.info-box a:hover{text-decoration:underline}
