/* avatar image */
img.avatar.avatar-sm.me-3 {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}
.border-rounded {
    border-radius: 50%;
}
.w-60px {
    width: 60px;
}
.h-60px {
    height: 60px;
}
.w-fit {
    width: fit-content;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-marker {
    position: absolute;
    left: -20px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #e9ecef;
}

.timeline-content {
    padding-left: 10px;
}

.timeline-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-text {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 0;
}


/* pagination */
.pagination {
    margin-bottom: 0;
}
.pagination .page-link {
    border: 1px solid #e1e3ea;
    color: #7e8299;
    background-color: #ffffff;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.475rem;
    margin: 0 2px;
}
.pagination .page-link:hover {
    background-color: #f8f9fa;
    border-color: #e1e3ea;
    color: #7e8299;
}
.pagination .page-item.active .page-link {
    background-color: #009ef7;
    border-color: #009ef7;
    color: #ffffff;
}
.pagination .page-item.disabled .page-link {
    background-color: #f8f9fa;
    border-color: #e1e3ea;
    color: #b5b5c3;
}
.pagination .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 158, 247, 0.25);
}

/* File Upload Component Styles */
.file-upload-container {
    margin-bottom: 1.5rem;
}

.file-upload-area {
    position: relative;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background-color: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-upload-area:hover {
    border-color: #0d6efd;
    background-color: #f0f8ff;
}

.file-upload-area.dragover {
    border-color: #0d6efd;
    background-color: #e3f2fd;
    transform: scale(1.02);
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.file-upload-content i {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

.file-upload-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.file-upload-main-text {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    display: block;
}

.file-upload-sub-text {
    font-size: 0.875rem;
    color: #6b7280;
}

.file-preview {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.file-preview-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.file-preview-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.file-preview-name {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
    text-align: center;
    word-break: break-word;
}

.file-remove-btn {
    margin-top: 0.5rem;
}

.file-remove-btn:hover {
    transform: translateY(-1px);
}
.trainer-of-month-row {
	--bs-table-bg: #fff8db;
}

.trainer-crown-badge {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 4px;
    border-radius: 999px;
}

.trainer-crown-icon {
    width: 28px;
    height: 28px;
}


.leaderboard-avatar {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 50%;
}
.trainer-profile-highlight {
    border: 3px solid #f6c000 !important;
    padding: 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fffaf0;
}

.trainer-profile-crown-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 4px;
    border-radius: 999px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.trainer-profile-crown-icon {
    width: 36px;
    height: 36px;
}