.card {
    max-width: 1440px;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 40px;
    padding: 2rem 1.8rem 2.2rem;
    box-shadow: 0 20px 40px -12px rgba(0, 20, 40, 0.35), 0 8px 24px -6px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.table-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
    gap: 1rem 0.5rem;
}

.table-header h2 {
    font-weight: 600;
    font-size: 1.7rem;
    letter-spacing: -0.3px;
    color: #0b1e33;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-header h2 i {
    color: #2a6df4;
    font-size: 1.9rem;
    background: rgba(42, 109, 244, 0.12);
    padding: 8px 10px;
    border-radius: 16px;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    padding: 0 16px;
    border-radius: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid #d9e2ef;
    transition: 0.2s;
}

.search-wrapper:focus-within {
    border-color: #2a6df4;
    box-shadow: 0 0 0 3px rgba(42, 109, 244, 0.2);
}

.search-wrapper i {
    color: #7c8ba0;
    font-size: 0.95rem;
}

.search-wrapper input {
    border: none;
    padding: 10px 12px;
    font-size: 0.95rem;
    background: transparent;
    min-width: 180px;
    outline: none;
    color: #1b2c44;
}

.search-wrapper input::placeholder {
    color: #a0b2c9;
    font-weight: 400;
}

.filter-badge {
    background: white;
    border-radius: 60px;
    padding: 4px 8px 4px 14px;
    border: 1px solid #d9e2ef;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #1f3a5f;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.filter-badge select {
    border: none;
    background: transparent;
    padding: 8px 4px 8px 8px;
    font-weight: 500;
    color: #0b1e33;
    outline: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.table-container {
    overflow-x: auto;
    border-radius: 24px;
    background: white;
    box-shadow: 0 4px 16px rgba(0, 20, 40, 0.06);
    padding: 2px 2px 2px 2px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 720px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
}

th {
    background: #f0f5fe;
    color: #1a3352;
    font-weight: 600;
    padding: 18px 16px;
    text-align: left;
    border-bottom: 1px solid #e2ebf6;
    white-space: nowrap;
    letter-spacing: 0.2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    opacity: 0.8;
}

td {
    padding: 15px 16px;
    border-bottom: 1px solid #eef3fa;
    color: #1b2d47;
    vertical-align: middle;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: #f8fbff;
}

.task-name {
    font-weight: 500;
    color: #0b1f38;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f6fe;
    padding: 6px 14px 6px 12px;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.status i {
    font-size: 0.6rem;
}

.status.waiting {
    background: #fff3e0;
    color: #b45a1c;
}

.status.waiting i {
    color: #e67e22;
}

.status.done {
    background: #e3f5e9;
    color: #11643c;
}

.status.done i {
    color: #1e9b4e;
}

.assignee {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #dce5f2;
    border-radius: 40px;
    color: #1f3a5f;
    font-weight: 600;
    font-size: 0.7rem;
    background: #e9eff8;
    flex-shrink: 0;
}

.avatar img {
    display: none;
}

.responsible {
    color: #2a4a74;
    font-weight: 450;
}

.badge-extra {
    background: #edf2fa;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #2f4b72;
}

.count-badge {
    background: #d3def0;
    padding: 2px 12px;
    border-radius: 60px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #1b3457;
}

/* адаптив */
@media (max-width: 700px) {
    .card {
        padding: 1.2rem 0.8rem;
    }

    .table-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .controls {
        width: 100%;
        flex-wrap: wrap;
    }

    .search-wrapper {
        flex: 1;
        min-width: 150px;
    }
}

.footer-info {
    margin-top: 1.4rem;
    display: flex;
    justify-content: flex-end;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 400;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-info span i {
    margin-right: 5px;
    color: #4b6f9a;
}

/* кастомный скролл */
::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #eef3f8;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb {
    background: #bfd1e8;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a2b9d6;
}