﻿/* таблиця */
.custom-table {
    border-collapse: separate;
    border-spacing: 0;
}

    /* header */
    .custom-table thead th {
        background: #111827;
        color: #e5e7eb;
        font-weight: 600;
        font-size: 13px;
        padding: 12px 10px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        white-space: nowrap;
    }

    /* body */
    .custom-table tbody td {
        padding: 12px 10px;
        font-size: 13px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        vertical-align: middle;
    }

    /* hover */
    .custom-table tbody tr:hover {
        background-color: rgba(255,255,255,0.035);
    }

/* checkbox */
.custom-checkbox {
    transform: scale(1.1);
    cursor: pointer;
}

/* summary */
.summary-cell {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* колонки */
.col-checkbox {
    width: 40px;
}

.col-actions {
    width: 110px;
}

/* actions */
.task-actions {
    display: flex;
    justify-content: center;
    gap: 6px;
}

/* кнопки */
.action-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0b1118;
    color: #9aa4ad;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    /* hover */
    .action-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.45);
    }

    /* edit */
    .action-btn.edit:hover {
        color: #4dabf7;
        border-color: rgba(77,171,247,0.4);
    }

    /* delete */
    .action-btn.delete:hover {
        color: #ff4d6d;
        border-color: rgba(255,77,109,0.4);
        background: rgba(255, 0, 0, 0.05);
    }

/* мобілка */
@media (max-width: 768px) {
    .custom-table thead th,
    .custom-table tbody td {
        padding: 8px 6px;
        font-size: 12px;
    }

    .summary-cell {
        max-width: 140px;
    }

    .action-btn {
        width: 30px;
        height: 30px;
    }
}
