
					/* Premium Profile Styles */
					.premium-profile-card {
						background: #fff;
						border-radius: 16px;
						padding: 35px 30px;
						margin-bottom: 20px;
						border: 1px solid #eef0f2;
						display: flex;
						align-items: center;
						position: relative;
						box-shadow: 0 4px 20px rgba(0,0,0,0.02);
					}

					.premium-avatar-container {
						position: relative;
						margin-right: 35px;
						flex-shrink: 0;
					}

					.premium-avatar {
						width: 150px;
						height: 150px;
						border-radius: 50%;
						object-fit: cover;
						border: 1px solid #f0f0f0;
					}

					.avatar-camera-btn {
						position: absolute;
						bottom: 5px;
						right: 5px;
						background: #fff;
						width: 40px;
						height: 40px;
						border-radius: 50%;
						display: flex;
						align-items: center;
						justify-content: center;
						box-shadow: 0 2px 10px rgba(0,0,0,0.08);
						color: #111;
						cursor: pointer;
						border: 1px solid #eaeaea;
						font-size: 14px;
					}

					.premium-header-content {
						flex: 1;
					}

					.rider-name {
						font-family: 'Inter', 'Segoe UI', sans-serif;
						font-size: 32px;
						font-weight: 800;
						margin: 0 0 15px 0;
						color: #1a1a24;
					}

					.rider-location {
						font-size: 16px;
						color: #555;
						display: flex;
						align-items: center;
						margin-bottom: 25px;
					}

					.share-btn-floating {
						position: absolute;
						top: 30px;
						right: 30px;
						background: #fff;
						border: 1px solid #e0e4e8;
						color: #111;
						padding: 10px 20px;
						border-radius: 30px;
						font-size: 14px;
						font-weight: 600;
						cursor: pointer;
						display: flex;
						align-items: center;
						gap: 8px;
						transition: all 0.2s;
					}
					
					.share-btn-floating:hover {
						background: #f8f9fa;
						border-color: #d0d4d8;
					}

					/* Compact Inline Chips */
					.compact-chips-row {
						display: flex;
						flex-wrap: wrap;
						gap: 15px;
					}
					
					.compact-chip {
						background: #fff;
						border: 1px solid #e8e8e8;
						width: 120px;
						height: 32px;
						border-radius: 20px;
					}

					@media (max-width: 768px) {
						.premium-profile-card {
							flex-direction: column;
							text-align: center;
							padding: 25px 20px;
						}
						.premium-avatar-container {
							margin-right: 0;
							margin-bottom: 20px;
						}
						.share-btn-floating {
							position: static;
							margin: 0 auto 20px auto;
						}
						.rider-location {
							justify-content: center;
						}
						.compact-chips-row {
							justify-content: center;
						}
					}
					

					.nav-cards-container {
						display: flex;
						flex-direction: row;
						gap: 15px;
						margin-bottom: 25px;
						align-items: stretch;
					}

					.premium-nav-card {
						background: #fff;
						border-radius: 16px;
						padding: 20px 24px;
						display: flex;
						align-items: flex-start;
						box-shadow: 0 4px 15px rgba(0,0,0,0.02);
						border: 1px solid #eef0f2;
						cursor: pointer;
						transition: all 0.2s;
						text-decoration: none;
						color: #1a1a1a;
						flex: 1;
					}

					.premium-nav-card:hover {
						transform: translateY(-2px);
						box-shadow: 0 6px 20px rgba(0,0,0,0.05);
						color: #1a1a1a;
						text-decoration: none;
					}

					.nav-card-icon {
						width: 44px;
						height: 44px;
						border-radius: 50%;
						background: #eef2f6;
						display: flex;
						align-items: center;
						justify-content: center;
						font-size: 20px;
						color: #112a46;
						margin-right: 18px;
						flex-shrink: 0;
					}
					
					.nav-card-icon.yellow-bg {
						background: #fff7e6;
						color: #e6a200;
					}

					.nav-card-icon.blue-bg {
						background: #e8f4fd;
						color: #007bff;
					}

					.nav-card-content {
						flex: 1;
						display: flex;
						flex-direction: column;
						height: 100%;
					}

					.nav-card-title {
						font-size: 20px;
						font-weight: 800;
						margin-bottom: 12px;
						margin-top: 8px;
					}

					.nav-card-desc {
						font-size: 15px;
						color: #555;
						line-height: 1.6;
					}

					.nav-card-readmore {
						font-size: 14px;
						font-weight: 700;
						color: #0d47a1;
						margin-top: 15px;
					}

					.nav-card-arrow {
						color: #111;
						font-size: 20px;
						margin-top: 10px;
					}

					/* Career Highlights Card */
					.career-highlights-card {
						background: #fff;
						border-radius: 16px;
						padding: 20px 24px;
						display: flex;
						flex-direction: column;
						box-shadow: 0 4px 15px rgba(0,0,0,0.02);
						border: 1px solid #eef0f2;
						flex: 1;
					}

					.ch-header {
						display: flex;
						justify-content: space-between;
						align-items: center;
						margin-bottom: 15px;
					}

					.ch-title-wrap {
						display: flex;
						align-items: center;
						gap: 12px;
					}

					.ch-icon {
						width: 44px;
						height: 44px;
						border-radius: 50%;
						background: #fff7e6;
						color: #e6a200;
						display: flex;
						align-items: center;
						justify-content: center;
						font-size: 20px;
					}

					.ch-title {
						font-size: 20px;
						font-weight: 800;
						margin: 0;
						color: #1a1a24;
						font-family: 'Inter', 'Segoe UI', sans-serif;
					}

					.ch-arrow {
						color: #111;
						font-size: 20px;
					}

					.ch-list {
						display: flex;
						flex-direction: column;
					}

					.ch-item-new {
						display: flex;
						align-items: flex-start;
						padding: 12px 14px;
						border: 1px solid #f0f0f0;
						gap: 18px;
						background: #fff;
						border-radius: 12px;
						margin-bottom: 10px;
						cursor: pointer;
						transition: transform 0.2s, box-shadow 0.2s;
						box-shadow: 0 2px 8px rgba(0,0,0,0.04);
					}
					.ch-item-new:last-child {
						margin-bottom: 0;
					}
					.ch-item-new:hover {
						transform: translateY(-1px);
						box-shadow: 0 4px 12px rgba(0,0,0,0.08);
					}
					.medal-wrapper {
						position: relative;
						width: 50px;
						display: flex;
						flex-direction: column;
						align-items: center;
						flex-shrink: 0;
						margin-top: 4px;
					}
					.medal-circle {
						width: 50px;
						height: 50px;
						border-radius: 50%;
						display: flex;
						align-items: center;
						justify-content: center;
						font-size: 22px;
						font-weight: 800;
						color: #fff;
						z-index: 2;
						box-shadow: 0 4px 8px rgba(0,0,0,0.1);
						position: relative;
						background-image: radial-gradient(circle at top left, rgba(255,255,255,0.3), transparent);
					}
					.medal-1 { background-color: #facc15; color: #854d0e; border: 2px solid #fef08a; }
					.medal-2 { background-color: #e5e7eb; color: #374151; border: 2px solid #f3f4f6; }
					.medal-3 { background-color: #d97706; color: #fff; border: 2px solid #fcd34d; }

					.medal-ribbon {
						width: 28px;
						height: 24px;
						background: #2563eb;
						position: relative;
						top: -6px;
						z-index: 1;
						clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
					}

					.ch-info-new {
						flex: 1;
						display: flex;
						flex-direction: column;
						font-family: 'Inter', 'Segoe UI', sans-serif;
					}
					.ch-ev-title {
						font-size: 16px;
						font-weight: 800;
						color: #111827;
						margin: 0 0 6px 0;
						line-height: 1.3;
					}
					.ch-ev-pos {
						font-size: 14px;
						font-weight: 800;
						display: flex;
						align-items: center;
						gap: 6px;
						margin-bottom: 6px;
					}
					.text-gold { color: #d97706; }
					.text-silver { color: #4b5563; }
					.text-bronze { color: #b45309; }

					.ch-ev-cat {
						font-size: 14px;
						color: #374151;
						margin-bottom: 6px;
					}
					.ch-ev-cat strong {
						color: #2563eb;
					}

					.ch-ev-meta-new {
						font-size: 13px;
						color: #6b7280;
						display: flex;
						align-items: center;
						gap: 10px;
						flex-wrap: wrap;
					}
					.ch-ev-meta-new span {
						display: flex;
						align-items: center;
						gap: 5px;
					}

					.ch-view-all {
						margin-top: auto;
						padding-top: 15px;
						font-size: 15px;
						font-weight: 700;
						color: #0d47a1;
						text-decoration: none;
						display: inline-block;
					}

					.ch-view-all:hover {
						color: #003d82;
						text-decoration: none;
					}

                    @media (max-width: 991px) { 
						.nav-cards-container { flex-direction: column; } 
					}
					

.compact-events-section {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    margin-top: 20px;
}

.pill-search-bar {
    position: relative;
    margin-bottom: 20px;
}
.pill-search-bar input {
    width: 100%;
    height: 36px;
    border-radius: 18px;
    border: 1px solid #e0e6ed;
    padding: 0 16px 0 36px;
    font-size: 14px;
    background: #fff;
    outline: none;
    transition: all 0.2s;
}
.pill-search-bar input:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0,86,179,0.1);
}
.pill-search-bar i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

.compact-event-card {
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #f0f0f0;
}
.compact-event-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.card-left-date {
    flex-shrink: 0;
    width: 45px;
    text-align: center;
    line-height: 1.2;
    border-right: 1px solid #eaeaea;
    padding-right: 10px;
    margin-right: 10px;
}
.card-left-date .day-month {
    font-size: 12px;
    font-weight: 700;
    color: #333;
}
.card-left-date .year {
    font-size: 10px;
    color: #888;
}
.card-center-info {
    flex: 1;
    min-width: 0; /* for text truncation */
}
.card-event-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.card-event-org {
    font-size: 11px;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-right-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.trophy-icon {
    font-size: 14px;
}
.trophy-p1 { color: #fbbc05; }
.trophy-p2 { color: #9e9e9e; }
.trophy-p3 { color: #cd7f32; }
.trophy-px { color: #d0d0d0; }

.view-all-btn {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 20px;
    color: #0056b3;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.view-all-btn:hover {
    background: #f8f9fa;
}

/* Accordion Styles */
.year-accordion {
    display: none; /* hidden initially */
}
.year-header {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    padding: 10px 0;
    margin-top: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: sticky;
    top: 0;
    background: #f5f7fb; /* matching profile background */
    z-index: 10;
}
.year-header i {
    transition: transform 0.3s;
    color: #888;
}
.year-header.collapsed i {
    transform: rotate(-90deg);
}
.year-content {
    display: block;
}
.year-content.collapsed {
    display: none;
}


					.discover-racers-section {
						margin-top: 30px;
						margin-bottom: 30px;
					}
					.discover-header {
						display: flex;
						justify-content: space-between;
						align-items: flex-end;
						margin-bottom: 15px;
					}
					.discover-title-wrap {
						flex: 1;
					}
					.discover-title {
						font-family: 'Inter', 'Segoe UI', sans-serif;
						font-size: 22px;
						font-weight: 800;
						color: #1a1a24;
						margin: 0 0 5px 0;
					}
					.discover-subtitle {
						font-size: 14px;
						color: #666;
						margin: 0;
					}
					.discover-view-all {
						font-size: 14px;
						font-weight: 700;
						color: #0d47a1;
						text-decoration: none;
						white-space: nowrap;
						margin-left: 15px;
					}
					.discover-view-all:hover {
						text-decoration: underline;
						color: #0056b3;
					}
					.discover-carousel {
						display: flex;
						gap: 15px;
						overflow-x: auto;
						padding-bottom: 15px;
						scroll-snap-type: x mandatory;
						scrollbar-width: thin;
						-webkit-overflow-scrolling: touch;
					}
					.discover-carousel::-webkit-scrollbar {
						height: 6px;
					}
					.discover-carousel::-webkit-scrollbar-thumb {
						background: #ccc;
						border-radius: 4px;
					}
					.racer-card {
						background: #fff;
						border-radius: 16px;
						padding: 20px;
						border: 1px solid #eef0f2;
						box-shadow: 0 4px 15px rgba(0,0,0,0.02);
						flex: 0 0 calc(25% - 11.25px); /* 4 items on desktop */
						scroll-snap-align: start;
						text-align: center;
						transition: transform 0.2s, box-shadow 0.2s;
					}
					.racer-card:hover {
						transform: translateY(-3px);
						box-shadow: 0 8px 25px rgba(0,0,0,0.06);
					}
					.racer-card-avatar {
						width: 80px;
						height: 80px;
						border-radius: 50%;
						object-fit: cover;
						margin: 0 auto 15px auto;
						border: 1px solid #f0f0f0;
					}
					.racer-card-name {
						font-family: 'Inter', 'Segoe UI', sans-serif;
						font-size: 16px;
						font-weight: 700;
						color: #1a1a24;
						margin: 0 0 5px 0;
						white-space: nowrap;
						overflow: hidden;
						text-overflow: ellipsis;
					}
					.racer-card-loc {
						font-size: 13px;
						color: #666;
						margin-bottom: 15px;
						display: flex;
						align-items: center;
						justify-content: center;
						white-space: nowrap;
						overflow: hidden;
						text-overflow: ellipsis;
					}
					.racer-card-btn {
						display: block;
						width: 100%;
						background: #f8f9fa;
						border: 1px solid #e0e4e8;
						color: #111;
						padding: 8px 0;
						border-radius: 20px;
						font-size: 13px;
						font-weight: 600;
						text-decoration: none;
						transition: all 0.2s;
					}
					.racer-card-btn:hover {
						background: #f33544 !important;
						color: #ffffff !important;
						border-color: #f33544 !important;
						text-decoration: none;
					}

					@media (max-width: 992px) {
						.racer-card {
							flex: 0 0 calc(33.333% - 10px);
						}
					}
					@media (max-width: 768px) {
						.racer-card {
							flex: 0 0 calc(50% - 7.5px);
						}
					}
					@media (max-width: 576px) {
						.racer-card {
							flex: 0 0 calc(85% - 15px);
						}
						.discover-header {
							flex-direction: column;
							align-items: flex-start;
						}
						.discover-view-all {
							margin-left: 0;
							margin-top: 10px;
						}
					}
					
