/* ============ Вкладка "Клиенты" — стиль в духе "Сообщений" ============ */
#clients .page-header h2 { font-size: 22px; color: var(--gray-dark); }

#clients .search-box {
    margin-bottom: 16px;
}
#clients .search-box input {
    width: 320px;
    max-width: 100%;
    padding: 10px 14px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    font-size: 14px;
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
}
#clients .search-box input:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(255,107,107,.15);
}

/* Панель фильтра (создаётся скриптом) */
#clients #clientFilterBar {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}
#clients #clientFilterBar select {
    padding: 9px 12px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    font-size: 14px;
    background: var(--white);
}
#clients #clientFilterBar select:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(255,107,107,.15);
}
#clients #clientFilterCount { font-size: 13px; }

/* Таблица как аккуратная карточка */
#clients #clientsTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    margin-top: 14px;
}
#clients #clientsTable thead th {
    background: var(--gray-light);
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #ececec;
}
#clients #clientsTable tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f2f2f2;
    font-size: 14px;
    color: var(--text);
    vertical-align: middle;
}
#clients #clientsTable tbody tr:last-child td { border-bottom: none; }
#clients #clientsTable tbody tr {
    transition: background-color .15s ease;
}
#clients #clientsTable tbody tr:hover {
    background: #fafafa;
}

/* ФИО клиента — без подчёркивания, акцент проекта */
#clients #clientsTable tbody a {
    color: var(--coral);
    text-decoration: none;
    font-weight: 600;
    transition: color .15s ease;
}
#clients #clientsTable tbody a:hover {
    color: var(--coral-dark);
    text-decoration: none;
}

/* Кнопки действий компактнее и мягче */
#clients #clientsTable tbody .btn {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1;
}
#clients #clientsTable tbody .btn + .btn { margin-left: 6px; }
