.chat-phone {
    max-width: 640px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(49, 120, 69, 0.25);
    background: #e9f5e8;
}
.chat-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.chat-header img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    background: var(--white);
    border-radius: 50%;
    padding: 4px;
}
.chat-header .chat-name { font-weight: 700; line-height: 1.2; }
.chat-header .chat-status { font-size: 0.8rem; opacity: 0.85; }

.chat-body {
    padding: 1.25rem 1rem;
    background-image: radial-gradient(rgba(49, 120, 69, 0.06) 1px, transparent 1px);
    background-size: 18px 18px;
    max-height: 65vh;
    overflow-y: auto;
}
.bubble {
    max-width: 80%;
    padding: 0.6rem 0.9rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.bubble p { margin: 0; }
.bubble-left {
    background: var(--white);
    color: var(--text);
    border-radius: 4px 15px 15px 15px;
    margin-right: auto;
}
.bubble-right {
    background: var(--primary);
    color: var(--white);
    border-radius: 15px 4px 15px 15px;
    margin-left: auto;
}
.bubble p + p, .bubble div { margin-top: 0.25rem; }

.chat-input-bar {
    background: var(--white);
    padding: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.chat-input-bar .fake-input {
    flex: 1;
    background: #f0f2f5;
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.chat-input-bar .send-btn {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.2s;
}
.chat-input-bar .send-btn:hover { background: var(--primary-dark); }
