/*
|--------------------------------------------------------------------------
| TV SHOW EPISODE-WISE DOWNLOAD SYSTEM
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| Main Wrapper
|--------------------------------------------------------------------------
*/

.tvshow-download-system {
    width: 100%;

    margin: 30px 0;
    padding: 25px 15px;

    box-sizing: border-box;

    background: #252a2f;

    border-radius: 8px;
}


/*
|--------------------------------------------------------------------------
| Heading
|--------------------------------------------------------------------------
*/

.tvshow-download-heading {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin: 0 0 5px;

    text-align: center;
}


/*
|--------------------------------------------------------------------------
| Heading Icon
|--------------------------------------------------------------------------
*/

.tvshow-download-heading-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    color: #ed101a;

    font-size: 30px;
}


/*
|--------------------------------------------------------------------------
| Heading
|--------------------------------------------------------------------------
*/

.tvshow-download-heading h2 {
    margin: 0;
    padding: 0;

    font-size: 29px;

    line-height: 1.3;

    font-weight: 800;
}


/*
|--------------------------------------------------------------------------
| Heading White
|--------------------------------------------------------------------------
*/

.tvshow-download-heading-white {
    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Heading Red
|--------------------------------------------------------------------------
*/

.tvshow-download-heading-red {
    color: #ed101a;
}


/*
|--------------------------------------------------------------------------
| Subtitle
|--------------------------------------------------------------------------
*/

.tvshow-download-subtitle {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin: 0 0 25px;

    color: #f4bd2b;

    font-size: 18px;

    font-weight: 700;

    text-align: center;
}


/*
|--------------------------------------------------------------------------
| Search Box
|--------------------------------------------------------------------------
*/

.tvshow-download-search {
    width: 100%;

    margin: 0 0 14px;
}


/*
|--------------------------------------------------------------------------
| Search Input
|--------------------------------------------------------------------------
*/

.tvshow-download-search input {
    width: 100%;

    height: 58px;

    padding: 0 18px;

    box-sizing: border-box;

    background: #3b4048;

    border: 0;

    border-radius: 8px;

    color: #ffffff;

    font-size: 17px;

    outline: none;

    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}


/*
|--------------------------------------------------------------------------
| Search Placeholder
|--------------------------------------------------------------------------
*/

.tvshow-download-search input::placeholder {
    color: #eeeeee;

    opacity: 1;
}


/*
|--------------------------------------------------------------------------
| Search Focus
|--------------------------------------------------------------------------
*/

.tvshow-download-search input:focus {
    background: #424750;

    box-shadow:
        0 0 0 2px rgba(
            237,
            16,
            26,
            0.35
        );
}


/*
|--------------------------------------------------------------------------
| Episode Grid
|--------------------------------------------------------------------------
*/

.tvshow-download-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;

    box-sizing: border-box;
}


/*
|--------------------------------------------------------------------------
| Episode Card
|--------------------------------------------------------------------------
*/

.tvshow-download-card {
    min-width: 0;

    padding: 18px 16px 14px;

    box-sizing: border-box;

    background: #2e3339;

    border-radius: 10px;

    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/*
|--------------------------------------------------------------------------
| Card Hover
|--------------------------------------------------------------------------
*/

.tvshow-download-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(
            0,
            0,
            0,
            0.25
        );
}


/*
|--------------------------------------------------------------------------
| Episode Number
|--------------------------------------------------------------------------
*/

.tvshow-download-episode {
    margin: 0 0 16px;

    padding: 0;

    color: #f0f0f0;

    font-size: 23px;

    line-height: 1.3;

    font-weight: 800;

    text-align: center;
}


/*
|--------------------------------------------------------------------------
| Watch Online
|--------------------------------------------------------------------------
*/

.tvshow-watch-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 5px;

    margin: 0 0 18px;

    color: #ed101a;

    font-size: 16px;

    font-weight: 700;

    text-decoration: none !important;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


/*
|--------------------------------------------------------------------------
| Watch Icon
|--------------------------------------------------------------------------
*/

.tvshow-watch-button i {
    font-size: 19px;
}


/*
|--------------------------------------------------------------------------
| Watch Hover
|--------------------------------------------------------------------------
*/

.tvshow-watch-button:hover {
    color: #ffffff;

    text-decoration: none !important;

    transform: translateY(-1px);
}


/*
|--------------------------------------------------------------------------
| Download List
|--------------------------------------------------------------------------
*/

.tvshow-download-list {
    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 7px;
}


/*
|--------------------------------------------------------------------------
| Download Button
|--------------------------------------------------------------------------
*/

.tvshow-download-button {
    width: 100%;

    min-height: 60px;

    padding: 0 12px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    box-sizing: border-box;

    background: #0b0b0b;

    border: 2px solid #ed101a;

    border-radius: 11px;

    color: #eeeeee;

    text-decoration: none !important;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.2;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}


/*
|--------------------------------------------------------------------------
| Download Button Text
|--------------------------------------------------------------------------
*/

.tvshow-download-button-text {
    flex: 1;

    min-width: 0;

    padding: 0 7px;

    color: #eeeeee;

    text-align: center;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/*
|--------------------------------------------------------------------------
| Download Size
|--------------------------------------------------------------------------
*/

.tvshow-download-size {
    color: #aaaaaa;

    font-weight: 600;
}


/*
|--------------------------------------------------------------------------
| Download Arrow
|--------------------------------------------------------------------------
*/

.tvshow-download-arrow {
    width: 27px;
    height: 27px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #ed101a;

    font-size: 20px;

    animation:
        tvshowDownloadArrowMove
        0.8s
        ease-in-out
        infinite;
}


/*
|--------------------------------------------------------------------------
| Arrow Animation
|--------------------------------------------------------------------------
|
| Arrow ALWAYS points downward.
| Only its position moves.
|
*/

@keyframes tvshowDownloadArrowMove {

    0% {
        transform: translateY(-4px);
    }

    50% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(-4px);
    }

}


/*
|--------------------------------------------------------------------------
| Download Hover
|--------------------------------------------------------------------------
*/

.tvshow-download-button:hover {
    background: #ed101a;

    border-color: #ed101a;

    color: #ffffff;

    text-decoration: none !important;

    box-shadow:
        0 8px 22px rgba(
            237,
            16,
            26,
            0.35
        );
}


/*
|--------------------------------------------------------------------------
| Hover Text
|--------------------------------------------------------------------------
*/

.tvshow-download-button:hover
.tvshow-download-button-text {
    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Hover Size
|--------------------------------------------------------------------------
*/

.tvshow-download-button:hover
.tvshow-download-size {
    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Hover Arrow
|--------------------------------------------------------------------------
*/

.tvshow-download-button:hover
.tvshow-download-arrow {
    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Active
|--------------------------------------------------------------------------
*/

.tvshow-download-button:active {
    box-shadow:
        0 3px 10px rgba(
            237,
            16,
            26,
            0.25
        );
}


/*
|--------------------------------------------------------------------------
| Focus
|--------------------------------------------------------------------------
*/

.tvshow-download-button:focus {
    outline: none;

    text-decoration: none !important;
}


/*
|--------------------------------------------------------------------------
| No Results
|--------------------------------------------------------------------------
*/

.tvshow-download-no-results {
    display: none;

    width: 100%;

    padding: 25px;

    box-sizing: border-box;

    color: #ffffff;

    font-size: 17px;

    font-weight: 600;

    text-align: center;
}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media screen and (max-width: 1000px) {

    .tvshow-download-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media screen and (max-width: 650px) {

    .tvshow-download-system {
        margin: 20px 0;

        padding: 20px 10px;
    }


    .tvshow-download-heading {
        gap: 7px;
    }


    .tvshow-download-heading-icon {
        font-size: 25px;
    }


    .tvshow-download-heading h2 {
        font-size: 22px;
    }


    .tvshow-download-subtitle {
        margin-bottom: 20px;

        font-size: 15px;
    }


    .tvshow-download-search input {
        height: 54px;

        font-size: 15px;
    }


    .tvshow-download-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .tvshow-download-card {
        padding: 17px 12px 13px;
    }


    .tvshow-download-episode {
        font-size: 21px;
    }


    .tvshow-download-button {
        min-height: 57px;

        font-size: 15px;

        padding: 0 10px;
    }


    .tvshow-download-arrow {
        width: 24px;
        height: 24px;

        font-size: 18px;
    }

}


/*
|--------------------------------------------------------------------------
| Very Small Mobile
|--------------------------------------------------------------------------
*/

@media screen and (max-width: 380px) {

    .tvshow-download-heading h2 {
        font-size: 19px;
    }


    .tvshow-download-subtitle {
        font-size: 14px;
    }


    .tvshow-download-episode {
        font-size: 19px;
    }


    .tvshow-download-button {
        min-height: 54px;

        font-size: 14px;
    }

}