/* =============================================
   Gym Timetable – Front-end stílusok
   ============================================= */


:root {
    --yellow: #FFD700;
    --grey: #3E3E3E;
    --white: #fff;
}   

.gym-tt-wrap {
    overflow-x: auto;
    margin: 24px 0;
}

.gym-tt-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    /*border: 1px solid #e2e8f0;*/
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    min-width: 600px;
    font-family: "Poppins"
}

.gym-tt-day {
    display: flex;
    flex-direction: column;
    /*border-right: 1px solid #e2e8f0;*/
}
.gym-tt-day:last-child { border-right: none; }

.gym-tt-day-header {
    background: #ffffff57;
    color: var(--white);
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
    padding: 14px 8px;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: .4px;
}

.gym-tt-classes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 0;
    background: none;
    flex: 1;
}

.gym-tt-empty {
    text-align: center;
    color: #c0c8d4;
    font-size: 18px;
    padding: 20px 0;
}

/* Kártya */
.gym-tt-class {
    border-radius: 6px;
    padding: 9px 10px;
    transition: border 100ms ease;
    border: 2px solid #2f2f3100;
}

.gym-tt-class:hover {
     border: 2px solid rgba(255, 255, 255, 0.15);
}

/* Fejléc sor: név + ikon egymás mellett */
.gym-tt-class-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
}

.gym-tt-class-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
    line-height: 1.3;
    flex: 1;
    text-transform: uppercase;
}

/* Külső link ikon */
.gym-tt-trainer-link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 0px;
    color: var(--white);
    opacity: 1;
    transition: opacity .2s, color .2s, background .2s;
    text-decoration: none;
}
.gym-tt-trainer-link:hover {
    opacity: 1;
    color: #ffffff;
    background: rgb(255 255 255 / 9%);
    border-radius: 4px;
}

.gym-tt-trainer-link svg {
    display: block;
    padding: 2px; 
    fill: #00bdff
}

.gym-tt-time {
    font-size: 14px;
    color: var(--white);
    font-weight: 400;
}

/* Responsive */
@media (max-width: 640px) {
    .gym-tt-grid {
        grid-template-columns: 1fr;
        min-width: 0;
    }
    .gym-tt-day {
        border-right: none;
        /* border-bottom: 1px solid #e2e8f0; */
    }
    .gym-tt-day:last-child { border-bottom: none; }
    .gym-tt-day-header {
        text-align: left;
        padding: 10px 14px;
    }
}
