
.chatbox-survey {
    font-family: Arial, sans-serif;
    max-width: 420px;
    margin: 30px auto;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.chat-msg {
    background: #f1f1f1;
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 20px;
    position: relative;
    font-size: 15px;
}
.chat-msg:not(.user)::before {
    content: "🎧";
    margin-right: 5px;
}
.btn {
    display: inline-block;
    margin: 8px 5px 0;
    padding: 10px 20px;
    background: #e53e3e;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
}
.result {
    background: #e6fff2;
    padding: 20px;
    border: 2px solid #38a169;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 15px;
	text-align: center;
}
.hidden {
    display: none;
}
.phone {
    font-size: 26px;
    font-weight: bold;
    color: #e53e3e;
    margin: 15px 0;
}
.timer {
    background: #fff;
    border: 2px solid #e53e3e;
    padding: 12px;
    border-radius: 10px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    width: 260px;
    margin: 15px auto 0;
}
ul {
    padding-left: 20px;
}
ul li {
    margin-bottom: 6px;
}
ul li a {
    color: #2b6cb0;
    text-decoration: underline;
}
h3 {
    color: #2f855a;
    margin-bottom: 10px;
}
.chat-msg.user {
    background: #d1f1dc;
    color: #000;
    text-align: center;
    border-radius: 20px;
    /* border-top-left-radius: 0px; */
    margin: 10px 0 10px 80px;
    padding: 12px 15px;
    display: block;
    /* float: right; */
}
.chat-msg.user::before {
    content: none !important;
}
.chat-msg:not(.user)::before {
     content: "🎧";
    margin-right: 5px;
}


.chat-msg.typing {
    background: #f1f1f1;
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 20px;
    display: inline-block;
    max-width: 100px;
    font-size: 20px;
    animation: pulse 1s infinite;
}
.dots span {
    animation: blink 1.4s infinite both;
    animation-delay: 0s;
}
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
}


