.whatsapp-frame {
background-color: #f0eae3;
background-image: url(https://www.transparenttextures.com/patterns/gplay.png);
background-repeat: repeat;
border-radius: 12px;
border: 1px solid #ccc;
padding: 20px;
max-width: 350px;
margin: 0 auto;
font-family: Arial, sans-serif;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.whatsapp-title {
font-size: 20px;
font-weight: bold;
color: #075e54;
text-align: center;
margin-bottom: 4px;
}
.whatsapp-subtitle {
font-size: 14px;
text-align: center;
color: #4a4a4a;
margin-bottom: 16px;
}
.whatsapp-chat {
display: flex;
align-items: flex-start;
gap: 10px;
margin-bottom: 16px;
position: relative;
}
.whatsapp-avatar {
position: relative;
}
.whatsapp-avatar img {
width: 60px;
height: 60px;
border-radius: 50%;
object-fit: cover;
}
.status-badge {
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
background: #1ec742;
color: white;
font-size: 10px;
padding: 2px 6px;
border-radius: 10px;
font-weight: 500;
white-space: nowrap;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
z-index: 1;
}
.whatsapp-bubble {
background-color: #ffffff;
color: #2d2d2d;
padding: 10px 14px;
border-radius: 8px 8px 8px 0;
border: 1px solid #d4d4d4;
font-size: 15px;
max-width: 70%;
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
position: relative;
}
.whatsapp-bubble::before {
content: "";
position: absolute;
left: -10px;
top: 10px;
width: 0;
height: 0;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-right: 10px solid #ffffff;
}
.whatsapp-input {
width: 100%;
border: 1px solid #ccc;
border-radius: 10px;
padding: 14px;
resize: vertical;
font-size: 16px;
margin-bottom: 14px;
background-color: #ffffff;
box-sizing: border-box;
}
.whatsapp-button {
width: 100%;
background-color: #25d366;
color: white;
font-size: 18px;
font-weight: bold;
padding: 16px;
border: none;
border-radius: 10px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.whatsapp-button:hover {
background-color: #1ebc59;
}