/* =========================
   MEDIA TABLE — DARK UI
========================= */

table.cols-0 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;

    margin-top: 28px;
}

/* Строки */
table.cols-0 tr {
    background: linear-gradient(
        180deg,
        rgba(23, 26, 33, 0.96) 0%,
        rgba(17, 19, 24, 0.96) 100%
    );

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;

    box-shadow:
        0 8px 24px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

/* Hover */
table.cols-0 tr:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 32px rgba(0,0,0,0.35),
        0 0 0 1px rgba(148, 68, 65, 0.18);
}

/* Ячейки */
table.cols-0 td {
    padding: 20px 22px;
    vertical-align: middle;

    border-top: 1px solid #262b36;
    border-bottom: 1px solid #262b36;

    color: #d7dce2;
    font-size: 0.96rem;
    line-height: 1.6;

    background: transparent;
}

/* Скругления 
table.cols-0 td:first-child {
    border-left: 1px solid #262b36;
    border-radius: 18px 0 0 18px;

    position: relative;
    overflow: hidden;
}*/

/* Акцентная линия 
table.cols-0 td:first-child::before {
    content: "";
    position: absolute;

    top: 18px;
    left: 0;

    width: 3px;
    height: calc(100% - 36px);

    border-radius: 999px;

    background: rgb(148, 68, 65);

    box-shadow:
        0 0 12px rgba(148, 68, 65, 0.35),
        0 0 22px rgba(148, 68, 65, 0.18);
}*/
/* 
table.cols-0 td:last-child {
    border-right: 1px solid #262b36;
    border-radius: 0 18px 18px 0;
}*/

/* Заголовок / ссылка */
table.cols-0 .views-field-title a {
    display: inline-block;

    color: #f3f4f6;
    text-decoration: none;

    font-size: 1rem;
    font-weight: 500;
    line-height: 1.65;

    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

/* Hover ссылки */
table.cols-0 .views-field-title a:hover {
    color: #d8b0ae;
}

/* Статус */
table.cols-0 .views-field-field-transcode-status {
    width: 110px;
    text-align: center;

    color: #7ee787;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Badge effect */
table.cols-0 .views-field-field-transcode-status::before {
    content: "●";
    margin-right: 6px;
    font-size: 0.75rem;
}

/* ID */
table.cols-0 .views-field-nid {
    width: 90px;
    text-align: center;
    color: #7d8694;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {

    table.cols-0,
    table.cols-0 tbody,
    table.cols-0 tr,
    table.cols-0 td {
        display: block;
        width: 100%;
    }

    table.cols-0 {
        border-spacing: 0;
    }

    table.cols-0 tr {
        margin-bottom: 16px;
        border-radius: 18px;
        overflow: hidden;
    }

    table.cols-0 td {
        border-left: 1px solid #262b36 !important;
        border-right: 1px solid #262b36 !important;
        border-radius: 0 !important;
        padding: 16px 18px;
    }

    table.cols-0 td:first-child {
        border-top-left-radius: 18px !important;
        border-top-right-radius: 18px !important;
    }

    table.cols-0 td:last-child {
        border-bottom-left-radius: 18px !important;
        border-bottom-right-radius: 18px !important;
    }

    table.cols-0 .views-field-field-transcode-status,
    table.cols-0 .views-field-nid {
        width: 100%;
        text-align: left;
    }
}