.brand-link .brand-text {
    font-weight: 700;
    letter-spacing: 0;
}

.content-header h1 {
    font-weight: 700;
}

.badge {
    font-size: 0.82rem;
    padding: 0.4em 0.58em;
}

.table td,
.table th {
    vertical-align: middle;
}

.select2-container--default .select2-selection--single,
.form-control,
.btn {
    border-radius: 6px;
}

.topic-card {
    border-left: 4px solid #6c757d;
    border-radius: 8px;
    padding: 14px 16px;
    background: #f8f9fa;
}

.topic-card-success {
    border-left-color: #28a745;
}

.topic-card-danger {
    border-left-color: #dc3545;
}

.topic-card-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.topic-card-body {
    color: #4f5962;
}

.chat-phone {
    max-width: 760px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #eef4f8;
    overflow: hidden;
}

.chat-phone-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    color: #fff;
    background: #176b87;
}

.chat-phone-header span {
    opacity: 0.82;
}

.chat-window {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 620px;
    padding: 16px;
    overflow-y: auto;
    background:
        linear-gradient(135deg, rgba(23, 107, 135, 0.08), rgba(100, 204, 197, 0.08)),
        #eef4f8;
}

.chat-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.chat-row-out {
    flex-direction: row-reverse;
}

.chat-avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    background: #176b87;
}

.chat-row-out .chat-avatar {
    background: #3b8b5f;
}

.chat-bubble {
    max-width: min(78%, 560px);
    padding: 9px 11px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.chat-row-out .chat-bubble {
    background: #dcf8c6;
}

.chat-sender {
    margin-bottom: 3px;
    color: #176b87;
    font-size: 0.78rem;
    font-weight: 700;
}

.chat-row-out .chat-sender {
    color: #2f7d4f;
}

.chat-text {
    color: #1f2933;
    line-height: 1.35;
    white-space: pre-wrap;
    word-break: break-word;
}

.empty-chat {
    padding: 20px;
    color: #6c757d;
    background: #fff;
}
