.container{max-width:1200px!important;margin:0 auto;padding:0 24px}.driver-hero{position:relative;min-height:500px;background-size:cover;background-position:center;color:#fff;padding:120px 0 60px}.driver-hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,#000c,#0009,#000c);z-index:1}.driver-hero-content{position:relative;z-index:2}.driver-hero-main{display:flex;gap:60px;align-items:center;justify-content:space-between;margin-bottom:40px}.driver-profile-image-large{flex-shrink:0;width:400px;height:400px;border-radius:24px;overflow:hidden;border:3px solid rgba(255,255,255,.9);box-shadow:0 25px 80px #0009,0 0 0 1px #ffffff1a inset;background:linear-gradient(135deg,#ffffff1a,#ffffff0d)}.driver-profile-image-large img{width:100%;height:100%;object-fit:cover}.driver-info{flex:1}.driver-name{font-size:56px;font-weight:800;margin:0 0 8px;line-height:1.1;text-shadow:0 2px 10px rgba(0,0,0,.5)}.driver-number-inline{display:block;font-size:40px;font-weight:800;color:#ef4444;text-shadow:0 2px 8px rgba(0,0,0,.5);margin-bottom:16px}.driver-meta{display:flex;gap:24px;align-items:center;margin-bottom:24px;font-size:18px}.driver-nationality{display:flex;align-items:center;gap:8px;font-weight:600}.driver-number{font-size:32px;font-weight:900;text-shadow:0 2px 8px rgba(0,0,0,.5)}.driver-details{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.driver-detail-item{display:flex;gap:20px}.detail-label{font-weight:600;opacity:.8;min-width:120px;font-size:18px}.detail-value{font-weight:500;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:18px}.team-logo-inline{height:20px;width:auto;object-fit:contain;vertical-align:middle}.team-history-inline{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.team-history-item{display:flex;align-items:center;gap:6px}.team-name-inline{font-weight:500;font-size:18px}.team-arrow{color:#fff;opacity:.7;font-size:14px;font-weight:600;margin:0 4px}.driver-social{display:flex;gap:16px;margin-top:24px}.driver-quick-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:32px;width:100%}.stats-card{background:#fff!important;border:1px solid #E5E7EB;border-radius:12px;padding:12px;text-align:center;width:235px;height:150px;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;overflow:visible;box-shadow:0 1px 3px #0000000d;position:relative}.driver-hero .stats-card{background:#fff!important;width:auto!important;height:auto!important;min-height:95px;padding:18px 16px;gap:8px;justify-content:center}.stats-section .stats-card,.stats-grid .stats-card,.records-grid .stats-card{justify-content:center}.stats-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;height:24px;position:relative;width:100%}.stats-card-header-content{display:flex;align-items:center;justify-content:center;gap:6px;flex:1}.stats-icon{font-size:20px;line-height:1}.stats-label{font-size:12px;color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:.5px;line-height:1}.stats-value{font-size:32px;font-weight:900;line-height:1;margin:0;color:#111827!important}.stats-subtitle{font-size:14px;color:#9ca3af;font-weight:500;height:24px;line-height:1.7;display:flex;align-items:center;justify-content:center}.stats-tooltip-wrapper{position:absolute;top:-25px;right:0;z-index:10}.stats-tooltip-icon{font-size:11px;cursor:help;opacity:.6;transition:opacity .2s;user-select:none;color:#6b7280;font-weight:600;line-height:1;display:inline-block}.stats-tooltip-wrapper:hover .stats-tooltip-icon{opacity:1}.stats-tooltip{position:absolute;top:100%;right:0;margin-top:8px;background:#111827;color:#fff;padding:12px 16px;border-radius:8px;font-size:13px;line-height:1.5;width:280px;z-index:1000;opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .2s,visibility .2s,transform .2s;pointer-events:none;box-shadow:0 4px 12px #0000004d}.stats-tooltip:before{content:"";position:absolute;bottom:100%;right:12px;border-width:6px;border-style:solid;border-color:transparent transparent #111827 transparent}.stats-tooltip-wrapper:hover .stats-tooltip{opacity:1;visibility:visible;transform:translateY(0)}.driver-bio-section{background:#fff;padding:60px 0;border-bottom:1px solid #E5E7EB}.driver-bio p{font-size:18px;line-height:1.8;color:#374151;max-width:900px;margin:0 auto 40px;text-align:center}.fun-facts{max-width:800px;margin:0 auto}.fun-facts-title{font-size:24px;font-weight:700;margin-bottom:20px;text-align:center;color:#111827}.fun-facts-list{list-style:none;padding:0;display:grid;gap:12px}.fun-fact-item{padding:16px 20px;background:linear-gradient(135deg,#f9fafb,#f3f4f6);border-left:4px solid #ef4444;border-radius:8px;font-size:16px;color:#374151}.driver-tabs-container{background:#f9fafb}.season-filter-sticky{position:sticky;top:130px;background:#fff;border-bottom:2px solid #E5E7EB;padding:24px 0;z-index:900;box-shadow:0 2px 8px #0000000d}.season-filter{display:flex;align-items:center;gap:16px;justify-content:center}.season-filter label{font-weight:600;color:#374151;font-size:16px}.season-select{padding:12px 40px 12px 20px;border:2px solid #E5E7EB;border-radius:12px;font-size:16px;font-weight:600;color:#111827;background:#fff;cursor:pointer;transition:all .3s ease;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23111827' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}.season-select:hover{border-color:#ef4444}.season-select:focus{outline:none;border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.tabs-navigation{background:#fff;border-bottom:2px solid #E5E7EB;padding:0}.tabs-nav{display:flex;gap:0;overflow-x:auto}.tab-button{flex:1;padding:20px 32px;border:none;background:transparent;font-size:16px;font-weight:600;color:#6b7280;cursor:pointer;transition:all .3s ease;border-bottom:3px solid transparent;white-space:nowrap}.tab-button:hover{color:#111827;background:#f9fafb}.tab-button.active{color:#ef4444;border-bottom-color:#ef4444;background:#fff}.tab-content{padding:60px 0}.section-title{font-size:28px;font-weight:700;color:#111827;margin:0 0 32px;text-align:center}.stats-grid{display:grid;grid-template-columns:repeat(auto-fill,235px);gap:20px;margin-bottom:60px;justify-content:start}.overview-tab{max-width:1000px;margin:0 auto}.stats-section,.recent-form-section,.milestones-section,.current-team-section{margin-bottom:60px}.recent-form-card{background:#fff;border:1px solid #E5E7EB;border-radius:12px;padding:32px;box-shadow:0 1px 3px #0000001a}.form-legend-container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;margin-bottom:24px}.form-legend-left{display:flex;gap:20px;align-items:center}.legend-item{display:flex;align-items:center;gap:8px;font-size:14px;color:#6b7280}.legend-item.average-badge{padding:8px 16px;background:#3b82f6;border-radius:8px;color:#fff;font-weight:600;flex-direction:column;align-items:center;gap:2px}.average-value{font-size:16px;font-weight:700}.legend-circle{width:16px;height:16px;min-width:16px;min-height:16px;flex-shrink:0;border-radius:50%}.form-explanation{font-size:14px;color:#6b7280;line-height:1.6;margin-top:24px;margin-bottom:24px;padding:16px;background:#f9fafb;border-radius:8px}.recent-form-chart{display:flex;gap:24px;justify-content:center;align-items:flex-end;flex-wrap:wrap}.form-item{text-align:center;flex:0 0 auto}.form-circle{width:50px;height:50px;min-width:50px;min-height:50px;flex-shrink:0;margin:0 auto 8px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;font-weight:900;font-size:16px;box-shadow:0 4px 12px #0003}.form-race-name{font-size:12px;color:#6b7280;font-weight:600}.milestones-timeline{display:grid;gap:24px;max-width:800px;margin:0 auto}.milestone-item{display:flex;gap:20px;padding:24px;background:#fff;border-radius:16px;border:2px solid #E5E7EB}.milestone-item.highlight{background:linear-gradient(135deg,#fef3c7,#fde68a);border-color:#f59e0b}.milestone-icon{font-size:40px;flex-shrink:0}.milestone-content h3{font-size:18px;font-weight:700;color:#111827;margin:0 0 8px}.milestone-content p{font-size:14px;color:#6b7280;margin:0}.milestone-detail{font-weight:600;color:#374151}.team-card{max-width:600px;margin:0 auto;padding:32px;background:#fff;border:3px solid;border-radius:20px;text-align:center}.team-logo{height:80px;object-fit:contain;margin-bottom:20px}.team-card h3{font-size:28px;font-weight:800;margin:0 0 12px}.team-seasons{font-size:16px;color:#6b7280;font-weight:600}.statistics-tab{max-width:1000px;margin:0 auto}.stats-category{margin-bottom:60px}.comparison-bars{display:grid;gap:24px;max-width:800px;margin:0 auto}.comparison-item{display:flex;flex-direction:column;gap:8px}.comparison-label{font-weight:600;color:#374151;font-size:14px}.comparison-bar-container{position:relative;height:40px;background:#e5e7eb;border-radius:10px;overflow:hidden}.comparison-bar{height:100%;transition:width .6s ease;border-radius:10px}.win-bar{background:linear-gradient(90deg,#ef4444,#dc2626)}.podium-bar{background:linear-gradient(90deg,#3b82f6,#2563eb)}.pole-bar{background:linear-gradient(90deg,#eab308,#ca8a04)}.dnf-bar{background:linear-gradient(90deg,#6b7280,#4b5563)}.comparison-value{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-weight:700;color:#111827;font-size:14px}.career-tab{max-width:1000px;margin:0 auto}.full-bio-section,.team-history-section,.season-progression-section,.records-section{margin-bottom:60px}.bio-content p{font-size:17px;line-height:1.8;color:#374151;text-align:left}.table-container,.team-history-table-container,.season-table-container{overflow-x:auto;border-radius:12px;box-shadow:0 4px 20px #00000014}.team-history-table,.season-table,.results-table,.circuit-table{width:100%;border-collapse:collapse;background:#fff}.team-history-table thead,.season-table thead,.results-table thead,.circuit-table thead{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.team-history-table th,.season-table th,.results-table th,.circuit-table th{padding:16px;text-align:left;font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.5px}.team-history-table td,.season-table td,.results-table td,.circuit-table td{padding:16px;border-bottom:1px solid #E5E7EB;color:#374151;font-weight:500}.team-cell{display:flex;align-items:center;gap:12px}.team-logo-small{height:30px;object-fit:contain}.champion-row{background:linear-gradient(90deg,#FEF3C7,transparent);font-weight:600}.champion-badge{margin-right:8px}.records-grid{display:grid;grid-template-columns:repeat(auto-fill,235px);gap:24px;justify-content:start}.record-item{display:flex;gap:12px;padding:12px;background:#fff;border:1px solid #E5E7EB;border-radius:12px;width:235px;height:150px;align-items:center;box-shadow:0 1px 3px #0000000d}.record-item.highlight{background:linear-gradient(135deg,#fef3c7,#fde68a);border-color:#f59e0b}.record-icon{font-size:24px;flex-shrink:0}.record-content h3{font-size:11px;font-weight:600;color:#6b7280;margin:0 0 4px;text-transform:uppercase;letter-spacing:.5px}.record-value{font-size:26px;font-weight:900;color:#111827;margin:0;line-height:1}.races-tab{max-width:1200px;margin:0 auto}.race-results-section,.circuit-stats-section{margin-bottom:60px}.sortable{cursor:pointer;user-select:none}.position-1{color:gold;font-weight:900}.position-2{color:silver;font-weight:900}.position-3{color:#cd7f32;font-weight:900}.position-points{color:#10b981;font-weight:700}.fastest-lap-indicator{margin-left:4px;font-size:12px}.status-dnf{color:#ef4444;font-weight:600;font-size:13px}.status-finished{color:#10b981;font-weight:600;font-size:13px}@media (max-width: 1024px){.driver-quick-stats{grid-template-columns:repeat(2,1fr)}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));justify-content:center}}@media (max-width: 768px){.driver-hero{padding:80px 0 40px;min-height:400px}.driver-hero-main{flex-direction:column;align-items:center;text-align:center;gap:12px}.driver-profile-image-large{order:-1;margin-bottom:0}.driver-info{order:0}.driver-name{font-size:36px}.driver-number-inline{font-size:28px}.driver-meta{justify-content:center;flex-wrap:wrap}.driver-details{align-items:center}.driver-detail-item{flex-direction:column;gap:4px;text-align:center}.detail-label{min-width:auto}.driver-quick-stats{grid-template-columns:repeat(2,1fr);gap:12px}.driver-hero .stats-card{width:auto;height:auto;min-height:120px;padding:16px 12px;gap:8px}.stats-card{max-width:100%;padding:12px}.stats-label{font-size:11px}.stats-value{font-size:28px}.record-item{width:auto;height:auto;min-height:120px;padding:10px;gap:10px}.record-icon{font-size:22px}.record-value{font-size:24px}.recent-form-card{padding:24px 20px}.driver-profile-image-large{width:100%;max-width:350px;height:350px}.driver-social{justify-content:center}.season-filter-sticky{top:60px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:16px;justify-content:center}.tabs-nav{overflow-x:scroll}.tab-button{padding:16px 24px;font-size:14px}.recent-form-chart{gap:16px}.season-filter{flex-direction:column;gap:12px}.records-grid{grid-template-columns:1fr}.table-container,.team-history-table-container,.season-table-container{font-size:14px}.team-history-table th,.season-table th,.results-table th,.circuit-table th,.team-history-table td,.season-table td,.results-table td,.circuit-table td{padding:12px 8px}}@media (max-width: 480px){.driver-hero{padding:60px 0 30px}.driver-profile-image{width:150px;height:150px}.driver-helmet-badge{width:60px;height:60px}.driver-name{font-size:28px}.driver-number-inline{font-size:22px}.driver-number{font-size:24px}.team-logo-inline{height:16px}.detail-label{min-width:100px}.driver-quick-stats{grid-template-columns:repeat(2,1fr);gap:10px}.driver-hero .stats-card{width:auto;height:auto;min-height:100px;padding:14px 10px;gap:6px}.stats-tooltip-wrapper{top:10px}.stats-card{width:auto;height:auto;min-height:100px;padding:10px}.stats-value{font-size:24px}.stats-label{font-size:10px}.stats-icon{font-size:18px}.record-item{width:auto;height:auto;min-height:100px;padding:10px;gap:8px}.record-icon{font-size:20px}.record-value{font-size:22px}.section-title{font-size:24px}.recent-form-chart{gap:12px}.form-circle,.form-position{width:50px;height:50px;min-width:50px;min-height:50px;font-size:16px}.form-item{min-width:50px}.form-race-name{font-size:11px}.form-legend-container{flex-direction:column;align-items:flex-start;gap:16px}.form-legend-left{flex-wrap:wrap;gap:12px}.recent-form-card{padding:20px 16px}.legend-item.average-badge{width:100%;padding:10px 16px}}
