.floating-button {
    z-index: 2000;
    bottom: 65px;
    right: 22px;
    position: fixed;
}

/* --------- HEADER CARD --------- */
.header-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    margin-bottom: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-pic {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    object-fit: cover;
}

.header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.athlete-name {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified {
    color: #00a3ff;
    font-size: 14px;
}

.athlete-subinfo {
    font-size: 14px;
    color: #6b7280;
}

.athlete-email {
    font-size: 14px;
    color: #6b7280;
}

/* Stats and progress */
.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.stat-box {
    min-width: 80px;
    padding: 8px 10px;
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.stat-number {
    font-size: 18px;
    font-weight: 600;
    color: #00a3ff;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 12px;
    color: #6b7280;
}

.progress-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 210px;
}

.progress-wrapper span {
    font-size: 13px;
    color: #6b7280;
}

.progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #00a3ff, #22c1c3);
}

.progress-number {
    text-align: right;
    font-size: 13px;
    color: #00a3ff;
    font-weight: 600;
}

/* --------- TABS --------- */
.tabs {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.tab {
    flex: 1;
    padding: 14px 0;
    font-size: 14px;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    position: relative;
    transition: background 0.15s, color 0.15s;
}

.tab.active {
    color: #00a3ff;
    background: #f4f8ff;
}

.tab.active::after {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: #00a3ff;
}

/* --------- TAB CONTENT WRAPPER --------- */
.tab-content {
    display: none;
    margin-top: 18px;
}

.tab-content.active {
    display: block;
}

@media (max-width: 960px) {
    .header-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
    }
}

.btn-primary {
    border-radius: 999px;
    border: none;
    padding: 10px 22px;
    background: #00a3ff;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 163, 255, 0.45);
    transition: background 0.15s, transform 0.1s, box-shadow 0.1s;
}

.btn-primary:hover {
    background: #0087d1;
    transform: translateY(-1px);
}

.side-tabs {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #edf0f6;
    padding-right: 18px;
    gap: 6px;
}

.side-tab {
    border-radius: 12px;
    border: none;
    padding: 10px 14px;
    text-align: left;
    font-size: 14px;
    background: transparent;
    color: #4b5563;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.side-tab.active {
    background: #f4f8ff;
    color: #111827;
    box-shadow: 0 10px 26px rgba(148, 163, 184, 0.35);
}