body{margin:0;padding:0}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-image:url(/assets/PT1-CFCrLkFN.jpg);background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:fixed}.app{min-height:100vh;background-color:transparent}.navbar{background-color:#1976d2d9;color:#fff;padding:1rem 2rem;box-shadow:0 2px 4px #0000001a;display:flex;justify-content:space-between;align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .6s ease}.app-title{font-size:2rem;font-weight:600;margin:0}.nav-tabs{display:flex;gap:.5rem}.nav-tab{background:none;border:none;color:#fffc;padding:.75rem 1.5rem;font-size:1rem;cursor:pointer;border-bottom:3px solid transparent;transition:all .3s ease}.nav-tab:hover{color:#fff;background-color:#ffffff1a}.nav-tab.active{color:#fff;border-bottom-color:#fff;font-weight:500}.dark-mode-toggle{background-color:#fff3;border:2px solid white;color:#fff;padding:.5rem;border-radius:8px;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;width:40px;height:40px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.dark-mode-toggle:hover{background-color:#ffffff1a;transform:scale(1.05)}.dark-mode-toggle svg{width:20px;height:20px}.tab-content{padding:2rem}.dark-mode{background-color:#1a1a1a;color:#e0e0e0}.dark-mode body{background-image:url(/assets/PT1-CFCrLkFN.jpg);background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:fixed}.dark-mode .app{background-color:transparent}.dark-mode .navbar{background-color:#0d47a1d9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.dark-mode .nav-tab{color:#ffffffb3}.dark-mode .nav-tab:hover{color:#fff;background-color:#ffffff26}.dark-mode .nav-tab.active{color:#fff}.dark-mode .tab-content{background-color:#1a1a1a}@media(max-width:768px){.navbar{padding:.75rem 1rem;flex-direction:row;flex-wrap:wrap;gap:.5rem;align-items:center}.app-title{font-size:1.5rem;flex:1}.dark-mode-toggle{order:2;width:40px;height:40px}.nav-tabs{order:3;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:.25rem}.nav-tab{padding:.5rem 1rem;font-size:.9rem;white-space:nowrap}.tab-content{padding:1rem}}@media(max-width:480px){.navbar{padding:.5rem .75rem}.app-title{font-size:1.25rem}.dark-mode-toggle{width:36px;height:36px}.nav-tab{padding:.5rem .75rem;font-size:.85rem}.tab-content{padding:.5rem}}.dashboard{max-width:1200px;margin:0 auto}.placeholder{background:#ffffff4d;border-radius:8px;padding:4rem;text-align:center;box-shadow:0 2px 4px #0000001a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.placeholder h2{font-size:2rem;color:#333;margin-bottom:1rem}.placeholder p{font-size:1.2rem;color:#666}.dark-mode .placeholder{background:#2d2d2d4d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.dark-mode .placeholder h2{color:#e0e0e0}.dark-mode .placeholder p{color:#b0b0b0}@media(max-width:768px){.dashboard{padding:0 1rem;margin-top:3%}.placeholder{padding:2rem 1rem}.placeholder h2{font-size:1.5rem}.placeholder p{font-size:1rem}}@media(max-width:480px){.placeholder{padding:1.5rem 1rem}.placeholder h2{font-size:1.25rem}.placeholder p{font-size:.9rem}}.dashboard{max-width:1200px;margin:5% auto 0}.recent-laps{max-width:1200px;margin:20px auto 0;transition:all .6s ease}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;transition:all .6s ease}.page-title{font-size:2rem;color:#1976d2;margin:0;transition:all .6s ease}.fullscreen-btn{background:#ffffffe6;border:2px solid #1976d2;border-radius:8px;padding:.75rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s ease;color:#1976d2;width:48px;height:48px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.fullscreen-btn:hover{background-color:#1976d2;color:#fff;transform:scale(1.05)}.fullscreen-btn svg{display:block}.header-controls{display:flex;gap:.75rem;align-items:center}.header-controls .dark-mode-toggle{background:#ffffffe6;border:2px solid #1976d2;border-radius:8px;padding:.75rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s ease;color:#1976d2;width:48px;height:48px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header-controls .dark-mode-toggle:hover{background-color:#1976d2;color:#fff;transform:scale(1.05)}.header-controls .dark-mode-toggle svg{width:24px;height:24px;display:block}.loading,.error{background:#ffffffe6;border-radius:8px;padding:3rem;text-align:center;box-shadow:0 2px 4px #0000001a;font-size:1.2rem;color:#666;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.error{color:#d32f2f}.table-container{background:#ffffffb3;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .6s ease}.laps-table{width:100%;border-collapse:collapse;font-size:1.1rem}.laps-table thead{background-color:#1976d2;color:#fff}.laps-table th{padding:1.5rem 1rem;text-align:left;font-weight:600;font-size:1.2rem}.laps-table tbody tr{border-bottom:1px solid #e0e0e0;transition:background-color .2s ease}.laps-table tbody tr:hover{background-color:#f5f5f5}.laps-table tbody tr:last-child{border-bottom:none}.laps-table tbody tr.clickable-row:hover{background-color:#1976d21a;cursor:pointer}.laps-table tbody tr.in-progress{animation:pulse-green 2s ease-in-out infinite}@keyframes pulse-green{0%,to{background-color:#4caf501a}50%{background-color:#4caf504d}}.laps-table td{padding:1.5rem 1rem;color:#333}.athlete-name,.plate-number{font-weight:600}.lap-time{font-family:Courier New,monospace;font-weight:600;font-size:1.2rem;color:#1976d2}.loading-dots{display:inline-flex;gap:.3rem;align-items:center}.loading-dots .dot{width:8px;height:8px;background-color:#1976d2;border-radius:50%;animation:pulse-dot 1.4s infinite ease-in-out both}.loading-dots .dot:nth-child(1){animation-delay:-.32s}.loading-dots .dot:nth-child(2){animation-delay:-.28s}.loading-dots .dot:nth-child(3){animation-delay:-.24s}.loading-dots .dot:nth-child(4){animation-delay:-.2s}.loading-dots .dot:nth-child(5){animation-delay:-.16s}.loading-dots .dot:nth-child(6){animation-delay:-.12s}.loading-dots .dot:nth-child(7){animation-delay:-.08s}.loading-dots .dot:nth-child(8){animation-delay:-.04s}@keyframes pulse-dot{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1.2);opacity:1}}.no-data{text-align:center;color:#999;padding:3rem!important;font-style:italic}@media(max-width:768px){.recent-laps{margin-top:10px;padding:0 .5rem}.page-header{flex-direction:column;gap:1rem;margin-bottom:1rem;align-items:flex-start}.page-title{font-size:1.5rem}.header-controls{width:100%;justify-content:flex-end}.fullscreen-btn,.header-controls .dark-mode-toggle{width:40px;height:40px;padding:.5rem}.table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}.laps-table{font-size:.85rem;min-width:600px}.laps-table th{padding:1rem .5rem;font-size:1rem}.laps-table td{padding:1rem .5rem}.lap-time{font-size:1rem}.loading,.error{padding:2rem 1rem;font-size:1rem}}@media(max-width:480px){.page-title{font-size:1.25rem}.laps-table{font-size:.75rem;min-width:500px}.laps-table th,.laps-table td{padding:.75rem .4rem}.laps-table th,.lap-time{font-size:.9rem}.fullscreen-btn,.header-controls .dark-mode-toggle{width:36px;height:36px}}.dark-mode .page-title{color:#e0e0e0}.dark-mode .table-container{background:#2d2d2db3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.dark-mode .laps-table thead{background-color:#0d47a1}.dark-mode .laps-table tbody tr{border-bottom:1px solid #404040}.dark-mode .laps-table tbody tr:hover{background-color:#383838}.dark-mode .laps-table td,.dark-mode .athlete-name{color:#e0e0e0}.dark-mode .lap-time{color:#64b5f6}.dark-mode .loading-dots .dot{background-color:#64b5f6}.dark-mode .loading,.dark-mode .error{background:#2d2d2de6;color:#e0e0e0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.dark-mode .error{color:#ef5350}.dark-mode .no-data{color:#888}.dark-mode .fullscreen-btn{background:#2d2d2de6;border-color:#64b5f6;color:#64b5f6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.dark-mode .fullscreen-btn:hover{background-color:#64b5f6;color:#1a1a1a}.dark-mode .header-controls .dark-mode-toggle{background:#2d2d2de6;border-color:#64b5f6;color:#64b5f6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.dark-mode .header-controls .dark-mode-toggle:hover{background-color:#64b5f6;color:#1a1a1a}.dark-mode .dark-mode-toggle{background-color:transparent;border:2px solid #64b5f6;color:#64b5f6}.dark-mode .dark-mode-toggle:hover{background-color:#64b5f61a}.modal-overlay{position:fixed;inset:0;background-color:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:700px;max-height:80vh;overflow-y:auto;box-shadow:0 4px 20px #0000004d;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:2px solid #e0e0e0;background-color:#1976d2;color:#fff;border-radius:12px 12px 0 0}.modal-header h3{margin:0;font-size:1.5rem}.modal-close{background:none;border:none;font-size:2rem;color:#fff;cursor:pointer;padding:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s ease}.modal-close:hover{background-color:#fff3}.modal-body{padding:1.5rem}.modal-table{width:100%;border-collapse:collapse}.modal-table thead{background-color:#f5f5f5}.modal-table th{padding:1rem;text-align:left;font-weight:600;color:#333;border-bottom:2px solid #e0e0e0}.modal-table tbody tr{border-bottom:1px solid #e0e0e0}.modal-table tbody tr:last-child{border-bottom:none}.modal-table tbody tr:hover{background-color:#f9f9f9}.modal-table td{padding:1rem;color:#333}.modal-table .lap-time{font-family:Courier New,monospace;font-weight:600;font-size:1.2rem;color:#1976d2}.dark-mode .modal-content{background:#2d2d2d;color:#e0e0e0}.dark-mode .modal-header{background-color:#0d47a1;border-bottom-color:#404040}.dark-mode .modal-table thead{background-color:#383838}.dark-mode .modal-table th{color:#e0e0e0;border-bottom-color:#404040}.dark-mode .modal-table tbody tr{border-bottom-color:#404040}.dark-mode .modal-table tbody tr:hover{background-color:#333}.dark-mode .modal-table td{color:#e0e0e0}.dark-mode .modal-table .lap-time{color:#64b5f6}@media(max-width:768px){.modal-content{width:95%;max-height:85vh}.modal-header{padding:1rem}.modal-header h3{font-size:1.25rem}.modal-body{padding:1rem}.modal-table th,.modal-table td{padding:.75rem .5rem;font-size:.9rem}.modal-table .lap-time{font-size:1rem}}@media(max-width:480px){.modal-header h3{font-size:1.1rem}.modal-close{width:36px;height:36px;font-size:1.75rem}.modal-table th,.modal-table td{padding:.6rem .4rem;font-size:.85rem}.modal-table .lap-time{font-size:.95rem}}
