/* ========================================= */
/* BASIS */
/* ========================================= */

body {
    margin: 0;
    padding: 0;

    background: #ffffff;

    font-family: 'Roboto', Arial, sans-serif;
}


/* ========================================= */
/* TITEL */
/* ========================================= */

.history-title {
    margin: 25px 0 35px;

    text-align: center;

    font-size: 24px;
    font-weight: 700;

    color: #222;
}


/* ========================================= */
/* FILTERS */
/* ========================================= */

.history-filters {
    width: 100%;
    max-width: 780px;

    margin: 0 auto 35px;
    padding: 0 10px;

    box-sizing: border-box;

    display: flex;
    justify-content: center;
    align-items: stretch;

    gap: 20px;
}


/* ========================================= */
/* FILTER KAART */
/* ========================================= */

.history-filter {
    position: relative;

    width: 380px;
    min-height: 76px;

    display: flex;
    align-items: center;

    box-sizing: border-box;

    background: #f8f9fb;

    border: 2px solid #dfe3ea;
    border-radius: 16px;

    padding: 10px 45px 10px 12px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.history-filter:hover {
    border-color: #244aa5;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.08);
}


/* ========================================= */
/* FILTER ICOON */
/* ========================================= */

.filter-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 13px;

    border-radius: 12px;

    color: #ffffff;

    font-size: 24px;
    font-weight: 400;

    line-height: 1;

    pointer-events: none;
}


/* ========================================= */
/* DAG ICOON */
/* ========================================= */

.filter-icon-day {
    background: #244aa5;
}


/* ========================================= */
/* TIJD ICOON */
/* ========================================= */

.filter-icon-time {
    background: #d6a62a;
}


/* ========================================= */
/* FILTER INHOUD */
/* ========================================= */

.filter-content {
    min-width: 0;

    flex: 1;

    display: flex;
    flex-direction: column;

    justify-content: center;

    pointer-events: none;
}


/* ========================================= */
/* FILTER LABEL */
/* ========================================= */

.filter-content label {
    display: block;

    margin: 0 0 2px;

    color: #7a8190;

    font-size: 11px;
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: 0.5px;

    pointer-events: none;
}


/* ========================================= */
/* SELECT */
/* ========================================= */

.filter-content select {
    width: 100%;

    margin: 0;
    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #222;

    font-family: 'Roboto', Arial, sans-serif;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.25;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    pointer-events: auto;
}


/* ========================================= */
/* SELECT FOCUS */
/* ========================================= */

.filter-content select:focus {
    outline: none;
}


/* ========================================= */
/* FILTER PIJL */
/* ========================================= */

.filter-arrow {
    position: absolute;

    top: 50%;
    right: 18px;

    transform: translateY(-50%);

    color: #8a94a5;

    font-size: 21px;
    font-weight: 400;

    line-height: 1;

    pointer-events: none;
}


/* ========================================= */
/* OVERZICHT */
/* ========================================= */

.history-wrapper {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto;
    padding: 0 10px 40px;

    box-sizing: border-box;

    display: grid;

    grid-template-columns: repeat(4, 300px);

    justify-content: center;

    gap: 20px;
}


/* ========================================= */
/* TRACK KAART */
/* ========================================= */

.track-item {
    position: relative;

    width: 300px;
    min-height: 370px;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid #e1e1e1;
    border-radius: 16px;

    overflow: hidden;

    box-sizing: border-box;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.track-item:hover {
    transform: translateY(-2px);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.10);
}


/* ========================================= */
/* COVER */
/* ========================================= */

.cover-wrapper {
    position: relative;

    width: 300px;
    height: 300px;

    flex-shrink: 0;

    overflow: hidden;
}

.cover-wrapper img {
    display: block !important;

    width: 300px;
    height: 300px;

    object-fit: cover;

    margin: 0;
    padding: 0;
}


/* ========================================= */
/* TIJD */
/* ========================================= */

.cover-wrapper .time {
    position: absolute !important;

    top: 10px !important;
    right: 10px !important;

    display: block !important;

    width: auto !important;
    height: auto !important;

    padding: 6px 9px !important;

    margin: 0 !important;

    background: rgba(25, 25, 25, 0.95) !important;

    color: #ffffff !important;

    border-radius: 16px !important;

    font-size: 11px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    z-index: 100 !important;
}


/* ========================================= */
/* TRACK INFORMATIE */
/* ========================================= */

.track-info {
    padding: 14px 15px 12px;

    box-sizing: border-box;
}


/* ========================================= */
/* TITEL */
/* ========================================= */

.song-title {
    margin: 0 0 7px;

    color: #222;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.25;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ========================================= */
/* ARTIEST */
/* ========================================= */

.artist {
    margin: 0;

    color: #777;

    font-size: 15px;
    font-weight: 400;

    line-height: 1.25;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ========================================= */
/* NU LIVE */
/* ========================================= */

.live-indicator {
    margin-top: 9px;

    color: #CC3300;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.2px;

}


/* ========================================= */
/* LIVE KAART */
/* ========================================= */

.track-item.is-live {
    border-color: #006600;
}


/* ========================================= */
/* TABLET / KLEINERE DESKTOP */
/* ========================================= */

@media (max-width: 1100px) {

    .history-wrapper {
        grid-template-columns: repeat(3, 300px);

        gap: 20px;
    }
}


/* ========================================= */
/* TABLET */
/* ========================================= */

@media (max-width: 780px) {

    .history-filters {
        max-width: 640px;

        gap: 12px;
    }

    .history-filter {
        width: calc(50% - 6px);
    }

    .history-wrapper {
        grid-template-columns: repeat(2, 300px);

        gap: 20px;
    }
}


/* ========================================= */
/* MOBIEL */
/* ========================================= */

@media (max-width: 640px) {

    .history-title {
        font-size: 20px;

        margin: 20px 15px 25px;
    }


    .history-filters {
        width: 100%;

        margin-bottom: 30px;

        padding: 0 15px;

        flex-direction: column;

        gap: 12px;
    }


    .history-filter {
        width: 100%;

        min-height: 72px;
    }


    .history-wrapper {
        grid-template-columns: 300px;

        gap: 20px;

        padding-left: 10px;
        padding-right: 10px;
    }
}