/* Profile Overhaul Styles */
.profile-page-container {
    padding-bottom: 50px;
}

.dash-card--white {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.promo-section {
    margin: 40px 0;
}

.membership-card {
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.membership-card h4 {
    font-weight: bold;
    margin-bottom: 20px;
}

.membership-card .tier {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.membership-card .tier.active {
    border-color: #397abb;
    background: #f0f7ff;
}

.savings-breakdown {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
}

.badge-savings {
    background: #e6ffed;
    color: #2da44e;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
}

.coaching-section {
    background: #f8fafc;
    display: flex;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    padding: 0px 10px 0px 10px;
}

.coaching-content {
    padding: 40px;
}

.recommended-section {
    padding: 60px 0;
}

.race-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.race-card:hover {
    transform: translateY(-5px);
}

.race-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.race-card .content {
    padding: 15px;
}

.race-card h5 {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 14px;
    height: 40px;
    overflow: hidden;
}

.race-card .footer {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Slider Styles */
.recommended-slider-container {
    overflow: hidden;
    padding: 20px 0;
    margin: 0 -15px;
}

.recommended-slider {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
    padding: 0 15px;
    align-items: flex-start;
    width: max-content;
}

.race-card-wrapper {
    flex: 0 0 300px;
    width: 300px;
    min-width: 300px;
    flex-shrink: 0;
}

.race-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    /* Ensure it fills wrapper */
}

/* Tier Styling Improvements */
.tier {
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tier:hover {
    border-color: #1a73e8;
    background: #fafafa;
}

.tier.active {
    border-color: #1a73e8;
    background: #f0f7ff;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.1);
}

.tier strong {
    font-size: 15px;
    color: #333;
}

.tier small {
    font-weight: 600;
}

.badge-danger {
    background: #ffebe9;
    color: #cf222e;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
}

.btn-rr-blue {
    background: #1557b0;
    color: #fff !important;
    padding: 15px;
    font-size: 18px;
    border-radius: 12px;
}

.btn-rr-blue:hover,
.btn-rr-blue:active,
.btn-rr-blue:focus {
    background: #1557b0;
    color: #fff !important;
}

.btn-rr-black {
    background: #000;
    color: #fff !important;
    font-size: 12px;
    border-radius: 4px;
}

.btn-rr-black:hover,
.btn-rr-black:active,
.btn-rr-black:focus {
    background: #000;
    color: #fff !important;
}

.btn-rr-outline:hover {
    background: #f0f7ff;
    color: #1557b0;
}

.btn-circle {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0px;
    background-color: #666;
    color: #fff;
}

.avatar-large {
    width: 80%;
    height: 80%;
    object-fit: cover;
    background: rgb(57, 122, 187);
    background: linear-gradient(to right, rgba(57, 122, 187, 1) 0%, rgba(184, 198, 239, 0.6) 100%);
    border-radius: 5px;
}

.membership-promo-list {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 18px;
}

.calculator-text {
    font-size: 14px;
    color: #666;
}