/* External YouTube Table - Admin Styles */


/*
 * Settings page
 */

.eyt-admin-notice {
    margin-top: 15px;
}


#eyt-test-result {
    display: inline-block;
    margin-left: 12px;
    font-weight: 600;
}


#eyt-test-result.eyt-success {
    color: #008a20;
}


#eyt-test-result.eyt-error {
    color: #b32d2e;
}



/*
 * Settings fields
 */

.wrap .form-table th {
    width: 220px;
}


.wrap input.regular-text {
    max-width: 420px;
}


.wrap input[type="password"].regular-text {
    font-family: monospace;
}



/*
 * Frontend table
 */

.eyt-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
}


.eyt-video-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}


.eyt-video-table th {
    background: #f1f1f1;
    font-weight: 600;
    text-align: left;
    padding: 10px;
    border: 1px solid #ddd;
}


.eyt-video-table td {
    padding: 10px;
    border: 1px solid #ddd;
    vertical-align: middle;
}


.eyt-video-table tr:nth-child(even) {
    background: #fafafa;
}


.eyt-video-table img {
    max-width: 160px;
    height: auto;
    display: block;
}



/*
 * Pagination
 */

.eyt-pagination {
    margin-top: 20px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}


.eyt-pagination a,
.eyt-pagination strong {

    display: inline-block;

    padding: 6px 12px;

    border: 1px solid #ddd;

    background: #ffffff;

    text-decoration: none;

}


.eyt-pagination strong {

    background: #2271b1;

    color: #ffffff;

    border-color: #2271b1;

}



/*
 * Mobile support
 */

@media screen and (max-width: 600px) {


    .eyt-video-table th,
    .eyt-video-table td {

        padding: 8px;

        font-size: 14px;

    }


    .eyt-video-table img {

        max-width: 100px;

    }


}