/* Стили таблиц (избранное, история) */
.fav-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.95rem;
}

.fav-table thead th {
    text-align: left;
    padding: 15px 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fav-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.3s;
}

.fav-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.fav-table td {
    padding: 12px;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.8);
}

.fav-table td:first-child {
    width: 60px;
}

.fav-table .fav-poster {
    width: 45px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.fav-table .fav-title {
    font-weight: 600;
    color: #fff;
}

.fav-table .fav-type {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.fav-table .fav-year {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.fav-table .fav-del {
    width: 40px;
    text-align: center;
}

.fav-table .fav-del-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    line-height: 1;
    transition: all 0.3s;
}

.fav-table tbody tr:hover .fav-del-btn {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.1);
}

@media (max-width: 768px) {
    .fav-table { font-size: 0.85rem; }
    .fav-table th:nth-child(3), .fav-table td:nth-child(3) { display: none; }
}