    .movie-card {
    border: 1px #84a5d8 solid;
    display: flex;
    gap: 25px;
    padding: 10px;
    border-radius: 5px;
    background: #e0eded;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.16);
}

.movie-poster {
    width: 160px;
    min-width: 160px;
    height: 230px;
    overflow: hidden;
    border-radius: 16px;
    background: #e5e7eb;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.no-poster {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 12px;
    color: #6b7280;
    text-align: center;
    font-weight: 700;
}

.movie-info {
    flex: 1;
}

.movie-info h3 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 22px;
    line-height: 1.25;
}

.movie-info p {
    margin: 7px 0;
    color: #4b5563;
    font-size: 15px;
}

.movie-watch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 165px;
    height: 48px;
    margin-top: 16px;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #4c7dff, #7c3aed);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(76, 125, 255, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.movie-watch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(76, 125, 255, 0.42);
    filter: brightness(1.05);
}

.movie-watch-btn:active {
    transform: translateY(0);
}

.movie-unavailable {
    display: inline-block;
    margin-top: 14px;
    color: #9ca3af;
    font-weight: 700;
}

.movie-card--player {
    display: block;
    padding: 16px;
}

.movie-card--player:hover {
    transform: none;
}

.movie-player-card {
    width: 100%;
}

.movie-player-top {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 14px;
}

.movie-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.movie-back-btn:hover {
    background: #374151;
    transform: translateY(-1px);
}

.movie-player-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: #000000;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.movie-player-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
#movie_form {
        text-align: center;
    max-width: 100%;
    padding: 20px;
    margin-bottom: 15px;
    }

    .field {
        margin-bottom: 15px;
    }


    #status {
        text-align: center;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .error {
        text-align: center;
        color: #dc2626;
        font-weight: 700;
    }
    .field label {
        display: block;
        margin-bottom: 7px;
        font-weight: 700;
    }

    .field input {
        width: 80%;
    box-sizing: border-box;
    padding: 10px 25px;
    border: 1px solid #d8deea;
    border-radius: 3px;
    font-size: 14px;
    outline: none;
    }

    .field input:focus {
        border-color: #4c7dff;
        box-shadow: 0 0 0 3px rgba(76, 125, 255, 0.14);
    }
@media (max-width: 640px) {
    .movie-card {
        flex-direction: column;
    }

    .movie-poster {
        width: 100%;
        height: 360px;
    }

    .movie-watch-btn {
        width: 100%;
    }
}
/* Общие настройки таблиц */
table.tables,
table.tablesl {
    width: 100%;
    padding: 0;
    border: none;
    border-spacing: 0;
    border-collapse: separate;
    color: #263238;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

/* Основная таблица */
table.tables {
    overflow: hidden;
    border: 1px solid #2652a6;
    border-radius: 0px 0px 3px 3px;
    background: #e0eded;
    box-shadow: 0 4px 15px rgba(31, 45, 61, 0.08);
}

/* Шапка */
table.tables thead {
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, #3063c3, #244e9f);
}

/* Ячейки шапки */
table.tables thead th {
    padding: 10px 12px;
    border-right: 1px solid rgb(255 255 255 / 57%);
    color: #e0eded;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

table.tables thead th:last-child {
    border-right: none;
}

/* Ссылки в шапке */
table.tables thead th a {
    color: #ffffff;
    text-decoration: none;
    outline: none;
    transition: color 0.2s ease;
}

table.tables thead th a:hover {
    color: #fae897;
    text-decoration: underline;
}

/* Обычные ячейки */
table.tables tbody td {
    padding: 10px 12px;
    border-right: 1px solid #2652a640;
    border-bottom: 1px solid #edf0f5;
    vertical-align: middle;
}

table.tables tbody td:last-child {
    border-right: none;
}

table.tables tbody tr:last-child td {
    border-bottom: none;
}

/* Чередование строк */
table.tables tbody tr:nth-child(even) {
    background: #f7f9fc;
}

/* Подсветка строки */
table.tables tbody tr {
    transition: background-color 0.2s ease;
}

table.tables tbody tr:hover {
    background: #edf4ff;
}
.statinfo {
     text-align: center;
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
/* Окно прокрутки только для десктопной версии */

    .table-scroll {
        width: 100%;
        max-height: 600px;
        overflow-y: auto;
        overflow-x: auto;

        border-radius: 4px;
        background: #ffffff;

    }

    table.tables {
        width: 100%;
        min-width: 700px;
        border-collapse: separate;
        border-spacing: 0;
    }

    table.tables thead th {
        position: sticky;
        top: 0;
        z-index: 2;

        padding: 13px 15px;
        color: #ffffff;
        text-align: left;
        white-space: nowrap;

        background: #3478db;
    }

    table.tables tbody td {
        padding: 12px 15px;
        border-bottom: 1px solid #edf0f4;
        white-space: nowrap;
    }

    table.tables tbody tr:hover {
        background: #f1f6ff;
    }

    /* Красивый вертикальный скролл */
    .table-scroll::-webkit-scrollbar {
        width: 9px;
        height: 9px;
    }

    .table-scroll::-webkit-scrollbar-track {
        background: #f1f3f6;
        border-radius: 10px;
    }

    .table-scroll::-webkit-scrollbar-thumb {
        background: #aebbd0;
        border-radius: 10px;
    }

    .table-scroll::-webkit-scrollbar-thumb:hover {
        background: #7d91b0;
    }
