/* =========================================================
   Кнопка i и карточка полной информации о клиенте
   ========================================================= */

.client-name-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.client-name-cell span {
    font-weight: 900;
    color: #111111;
    line-height: 1.25;
}

.client-info-btn {
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    padding: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;
    border: 1px solid #d71920 !important;
    background: #ffffff !important;
    color: #d71920 !important;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    font-style: normal !important;
    cursor: pointer !important;
}

.client-info-btn:hover {
    background: #d71920 !important;
    color: #ffffff !important;
    border-color: #d71920 !important;
}

.client-info-modal-box {
    width: 820px !important;
    max-width: 94vw !important;
}

.client-info-content {
    display: grid;
    gap: 14px;
}

.client-info-section {
    border: 1px solid #e5e7eb;
    border-left: 5px solid #d71920;
    border-radius: 12px;
    background: #ffffff;
    padding: 14px;
}

.client-info-section h3 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 16px;
    font-weight: 900;
}

.client-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.client-info-row {
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 10px;
    background: #ffffff;
}

.client-info-label {
    color: #6b7280;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 5px;
}

.client-info-value {
    color: #111827;
    font-size: 14px;
    line-height: 1.35;
    word-break: break-word;
}

.client-info-empty {
    padding: 16px;
    border-radius: 12px;
    background: #f9fafb;
    color: #6b7280;
}

.client-info-actions {
    grid-template-columns: 1fr !important;
}

@media (max-width: 950px) {
    .client-name-cell {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .client-info-modal-box {
        width: 100% !important;
    }

    .client-info-grid {
        grid-template-columns: 1fr;
    }
}
