/* ====================================================
   ROOT / RESET
==================================================== */
:root {
    --orange-gradient: linear-gradient(180deg, #ff9966, rgb(242, 179, 137));
    --panel-bg: #ffffff;
    --panel-border: #bbbbbb;
    --card-bg: #fbe6d3;
    --text-grey: #6f7580;
    --font-body: Verdana, Geneva, Tahoma, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #ffffff;
    font-family: var(--font-body);
}

/* NAVBAR -------------- */
body {
    margin: 0;
}

.navigation{
    width: 100%;
    background: linear-gradient(
        180deg,
        #ff9966,
        rgb(242, 179, 137)
    );
    border-color: black;
    border-bottom: solid;

    display:flex;
    justify-content:center;
    flex-direction: row;
    align-items:center;
}

.navigation h1{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
}

/* ====================================================
   PAGE LAYOUT
==================================================== */
.prog-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
    max-width: 2200px;
    width: 94%;
    margin: 32px auto;
    align-items: start;
}
 
/* ====================================================
   SHARED PANEL (used by the RECENT box)
==================================================== */
.panel {
    background: var(--panel-bg);
    border: 2px solid var(--panel-border);
    border-radius: 14px;
    overflow: hidden;
}
 
.panel-header {
    background: var(--orange-gradient);
    border-bottom: 2px solid black;
    padding: 18px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
 
.panel-title {
    height: 44px;
    width: auto;
}
 
.panel-body {
    padding: 22px 26px;
}
 
/* ====================================================
   RECENT VIDEOS PANEL
==================================================== */
.recent-scroll {
    max-height: 73vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
 
.recent-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 16px;
}
 
.recent-card__media {
    flex: 0 0 260px;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
    position: relative;
    cursor: pointer;
}
 
.recent-card__media iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
 
.recent-card__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
 
.recent-card__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding-left: 4px;
    transition: background 0.15s ease, transform 0.15s ease;
}
 
.recent-card__media:hover .recent-card__play-btn,
.recent-card__media:focus-visible .recent-card__play-btn {
    background: rgba(255, 60, 60, 0.85);
    transform: translate(-50%, -50%) scale(1.08);
}
 
.recent-card__info {
    min-width: 0;
}
 
.recent-card__title {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #000000;
    line-height: 1.25;
}
 
.recent-card__desc {
    margin: 0;
    font-size: 1rem;
    color: var(--text-grey);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
 
.recent-placeholder {
    padding: 24px;
    margin: 0;
    color: var(--text-grey);
    font-size: 1rem;
    text-align: center;
}
 
/* ====================================================
   PRACTICE LEVEL LIST (right column)
==================================================== */
.prog-list {
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 8px;
    font-family: 'Montserrat', sans-serif;
}
 
.prog-card {
    background: #ffffff;
    border: 1px solid rgb(212, 212, 212);
    border-radius: 6px;
    display: grid;
    grid-template-columns: 260px 1fr;
    overflow: hidden;
    margin-bottom: 16px;
}
 
.prog-card:last-child {
    margin-bottom: 0;
}
 
.prog-card__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000 center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b8f9b;
    font-size: 16px;
}
 
.prog-card__rank {
    position: absolute;
    top: 8px;
    left: 8px;
    font-weight: 700;
    font-size: 22px;
    color: #ffffff;
    padding: 2px 10px;
    border-radius: 3px;
}
 
.prog-card__body {
    display: flex;
    flex-direction: column;
}
 
.prog-card__title {
    font-weight: 700;
    font-size: 1.75rem;
    color: #000000;
    padding: 12px 18px 4px;
}
 
.prog-card__stats {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
}
 
.prog-card__line1 {
    font-size: 1.2rem;
    color: #000000;
}
 
.prog-card__line1 strong {
    font-weight: 700;
}
 
.prog-card__line2 {
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(101, 101, 101, 0.736);
    line-height: 1.5;
}
 
.prog-card--pending .prog-card__title {
    opacity: 0.5;
}
 
/* ====================================================
   RESPONSIVE
==================================================== */
@media (max-width: 900px) {
    .prog-grid {
        grid-template-columns: 1fr;
        width: 92%;
    }
 
    .navigation {
        flex-wrap: wrap;
        gap: 16px;
    }
 
    .navigation a img {
        height: 34px;
    }
 
    .recent-card {
        flex-direction: column;
        align-items: stretch;
    }
 
    .recent-card__media {
        flex-basis: auto;
    }
 
    .prog-card {
        grid-template-columns: 1fr;
    }
}
 
