﻿.trainers-page {
    padding: 34px 0 60px;
}

.container {
    max-width: 1200px;
}

.tp-topbar {
    display: flex;
    gap: 18px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.tp-title h1 {
    margin: 0;
    font-size: 34px;
    letter-spacing: -.4px;
}

.tp-title p {
    margin: 6px 0 0;
    opacity: .75;
}

.tp-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tp-search {
    position: relative;
    min-width: 290px;
    flex: 1;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 10px 42px 10px 40px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.03);
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

    .tp-search i {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        opacity: .7;
    }

    .tp-search input {
        width: 100%;
        background: transparent;
        border: 0;
        outline: 0;
        color: inherit;
    }

.tp-clear {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    opacity: .7;
    padding: 6px;
    border-radius: 10px;
}

    .tp-clear:hover {
        opacity: 1;
        background: rgba(255,255,255,.06);
    }

.tp-filters {
    display: flex;
    gap: 10px;
}

    .tp-filters select {
        border-radius: 14px;
        padding: 10px 12px;
        border: 1px solid rgba(255,255,255,.12);
        background: rgba(255,255,255,.03);
        color: inherit;
        outline: 0;
    }

.tp-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0 14px;
}

.tp-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
}

    .tp-chip button {
        border: 0;
        background: transparent;
        opacity: .75;
    }

        .tp-chip button:hover {
            opacity: 1;
        }

.tp-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1100px) {
    .tp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 820px) {
    .tp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .tp-grid {
        grid-template-columns: 1fr;
    }

    .tp-search {
        min-width: 100%;
    }
}

.tp-card {
    position: relative;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    padding: 16px;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .tp-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 26px 70px rgba(0,0,0,.25);
        border-color: rgba(255,255,255,.22);
    }

    .tp-card::before {
        content: "";
        position: absolute;
        inset: -80px;
        background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.14), transparent 40%), radial-gradient(circle at 80% 10%, rgba(255,255,255,.10), transparent 45%), radial-gradient(circle at 50% 90%, rgba(255,255,255,.08), transparent 50%);
        pointer-events: none;
        transform: rotate(6deg);
    }

.tp-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.tp-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tp-badge {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.18);
}

    .tp-badge.featured {
        background: rgba(255,255,255,.08);
    }

    .tp-badge.level {
        opacity: .9;
    }

.tp-quick {
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.18);
    border-radius: 14px;
    padding: 8px 10px;
    opacity: .85;
}

    .tp-quick:hover {
        opacity: 1;
    }

.tp-avatar-wrap {
    position: relative;
    margin: 14px auto 12px;
    idth: 240px;
    height: 193px;
}

.tp-avatar-img {
    width: 240px;
    height: 193px;
    border-radius: 22px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.16);
    position: relative;
    z-index: 2;
}

.tp-glow {
    position: absolute;
    inset: -14px;
    background: radial-gradient(circle, rgba(255,255,255,.22), transparent 60%);
    filter: blur(10px);
    z-index: 1;
}

.tp-name {
    margin: 0;
    text-align: center;
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.tp-meta {
    margin-top: 6px;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: .78;
    position: relative;
    z-index: 1;
}

.tp-dot {
    opacity: .5;
}

.tp-stats {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: relative;
    z-index: 1;
}

.tp-stat {
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.16);
    border-radius: 18px;
    padding: 10px;
    text-align: center;
}

    .tp-stat i {
        display: block;
        margin-bottom: 4px;
        opacity: .85;
    }

    .tp-stat span {
        font-weight: 700;
        display: block;
    }

    .tp-stat small {
        opacity: .7;
    }

.tp-tags {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.tp-tag {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.02);
    opacity: .9;
}

    .tp-tag.more {
        opacity: .7;
    }

.tp-card-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.tp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border-radius: 16px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.14);
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, background .15s ease, opacity .15s ease;
}

    .tp-btn:hover {
        transform: translateY(-2px);
    }

    .tp-btn.primary {
        background: rgba(255,255,255,.08);
    }

    .tp-btn.ghost {
        background: rgba(0,0,0,.12);
        opacity: .92;
    }

.tp-empty {
    margin-top: 18px;
}

.tp-empty-card {
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    padding: 28px;
    text-align: center;
}

    .tp-empty-card i {
        font-size: 28px;
        opacity: .8;
    }

    .tp-empty-card h3 {
        margin: 10px 0 6px;
    }

    .tp-empty-card p {
        margin: 0 0 14px;
        opacity: .75;
    }

/* Skeleton */
.tp-skeleton {
    pointer-events: none;
}

    .tp-skeleton .tp-avatar {
        width: 96px;
        height: 96px;
        border-radius: 22px;
        margin: 16px auto;
        background: rgba(255,255,255,.06);
    }

    .tp-skeleton .tp-line {
        height: 12px;
        border-radius: 10px;
        margin: 10px auto;
        background: rgba(255,255,255,.06);
    }

    .tp-skeleton .w-70 {
        width: 70%;
    }

    .tp-skeleton .w-45 {
        width: 45%;
    }

    .tp-skeleton .w-90 {
        width: 90%;
    }

    .tp-skeleton .tp-actions-row {
        display: flex;
        gap: 10px;
        justify-content: center;
        margin-top: 14px;
    }

    .tp-skeleton .tp-pill {
        width: 40%;
        height: 34px;
        border-radius: 16px;
        background: rgba(255,255,255,.06);
    }

.tp-skeleton {
    animation: tpPulse 1.2s ease-in-out infinite;
}

@keyframes tpPulse {
    0%,100% {
        opacity: .55;
    }

    50% {
        opacity: 1;
    }
}

/* Modal */
.tp-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
    color: aliceblue;
}

    .tp-modal[aria-hidden="false"] {
        display: block;
    }

.tp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
}

.tp-modal-dialog {
    position: relative;
    max-width: 980px;
    margin: 7vh auto;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(20,20,24,.92);
    box-shadow: 0 30px 100px rgba(0,0,0,.45);
    overflow: hidden;
}

@media (max-width: 1020px) {
    .tp-modal-dialog {
        margin: 4vh 14px;
    }
}

.tp-modal-close {
    position: absolute;
    right: 14px;
    top: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background : rgb(255 255 255 / 70%);
    border-radius: 14px;
    padding: 8px 10px;
    z-index: 2;
}

.tp-modal-body {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
}

@media (max-width: 820px) {
    .tp-modal-body {
        grid-template-columns: 1fr;
    }
}

.tp-modal-left {
    padding: 22px;
    border-right: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
}

    .tp-modal-left img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        border-radius: 22px;
        border: 1px solid rgba(255,255,255,.14);
    }

.tp-modal-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.tp-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.14);
    text-decoration: none;
    color: inherit;
    background: rgba(0,0,0,.14);
}

.tp-modal-right {
    padding: 22px;
}

.tp-modal-head h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -.3px;
}

.tp-modal-sub {
    margin-top: 6px;
    opacity: .78;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tp-modal-kpis {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.tp-kpi {
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.14);
    border-radius: 18px;
    padding: 12px;
    text-align: center;
}

    .tp-kpi span {
        font-weight: 800;
        font-size: 18px;
        display: block;
    }

    .tp-kpi small {
        opacity: .7;
    }

.tp-modal-bio {
    margin: 14px 0 10px;
    opacity: .86;
    line-height: 1.6;
}

.tp-modal-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}




.tr-slider-section {
    padding: 40px 0;
}

.container {
    max-width: 1200px;
}

.tr-slider-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

    .tr-slider-head h2 {
        margin: 0;
        font-size: 28px;
    }

    .tr-slider-head p {
        margin: 6px 0 0;
        opacity: .7;
    }

.tr-all {
    text-decoration: none;
    opacity: .85;
}

    .tr-all:hover {
        opacity: 1;
    }

.tr-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 18px 60px rgba(0,0,0,.25);
    height: 100%;
    transition: transform .2s ease;
}

    .tr-card:hover {
        transform: translateY(-6px);
    }

.tr-avatar {
    width: 240px;
    height: 193px;
    margin: 0 auto 12px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 0 0 6px rgba(255,255,255,.08);
}

    .tr-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.tr-card h3 {
    margin: 12px 0 4px;
    font-size: 18px;
}

.tr-role {
    opacity: .7;
    font-size: 14px;
}

.tr-stats {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 10px 0;
    font-size: 13px;
}

.tr-tags {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

    .tr-tags span {
        font-size: 11px;
        padding: 5px 10px;
        border-radius: 999px;
        background: rgba(255,255,255,.1);
    }

.tr-card .btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.2);
    text-decoration: none;
    color: inherit;
}

    .tr-card .btn:hover {
        background: rgba(255,255,255,.06);
    }

.trSwiper .swiper-slide {
    height: auto;
}

.trSwiper .swiper-pagination {
    margin-top: 10px;
    position: relative;
}
