/* Floating Button */
.wa-floating-btn {
    position: fixed;
    bottom: 22px;
    right: 22px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    z-index: 99999;
    transition: .2s;
}
.wa-floating-btn:hover { transform: scale(1.1); }

/* Chat Box */
.wa-chatbox {
    position: fixed;
    bottom: 110px;
    right: 25px;
    width: 360px;
    height: 480px;
    background: #fff;
    border-radius: 18px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 6px 26px rgba(0,0,0,0.28);
    animation: slideUp .35s ease-out;
    z-index: 99999;
    border: 1px solid #e0e0e0;
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity:0; }
    to { transform: translateY(0); opacity:1; }
}

/* Header */
.wa-header {
    background: linear-gradient(135deg, #064c44, #0B8A68);
    padding: 16px;
    color: #fff;
    display: flex;
    gap: 14px;
    align-items: center;
    position: relative;
}
.wa-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
}
.wa-header .title { font-size: 17px; font-weight: bold; }
.wa-header .subtitle { font-size: 13px; opacity: 0.85; }

.wa-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 22px;
    cursor: pointer;
}

/* Body */
.wa-body {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    background: url('featured.jpg');
    background-size: cover;
    background-position: center;
}

/* Bubbles */
.wa-bubble {
    background: #fff;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 14px 14px 14px 0;
    max-width: 75%;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    font-size: 14px;
}

.wa-bubble.me {
    background: #dcf8c6;
    margin-left: auto;
    border-radius: 14px 14px 0 14px;
}

/* Typing */
.wa-typing {
    display: flex;
    margin-top: 10px;
    gap: 6px;
}
.wa-typing span {
    width: 7px;
    height: 7px;
    background: #ccc;
    border-radius: 50%;
    animation: typing 1s infinite ease;
}
.wa-typing span:nth-child(2){ animation-delay:0.2s; }
.wa-typing span:nth-child(3){ animation-delay:0.4s; }

@keyframes typing {
    0% { opacity: .3; transform:translateY(0); }
    50% { opacity:1; transform:translateY(-4px); }
    100% { opacity:.3; transform:translateY(0); }
}

/* Quick Replies */
.wa-quick-btn {
    background:#dcf8c6;
    padding:7px 12px;
    border-radius:20px;
    font-size:13px;
    display:inline-block;
    margin:5px 5px 0 0;
    cursor:pointer;
}

/* Input */
.wa-input-area {
    display:flex;
    padding:8px;
    background:white;
    border-top:1px solid #ddd;
}
.wa-input-area input {
    flex:1;
    padding:10px;
    border-radius:20px;
    border:1px solid #ccc;
}
.wa-input-area button {
    background:#25D366;
    color:white;
    border:none;
    margin-left:8px;
    padding:10px 18px;
    border-radius:20px;
    font-weight:bold;
}

/* MOBILE RESPONSIVE */
@media (max-width:420px){
    .wa-chatbox { width:92%; right:4%; height:70vh; }
}
@media (max-width:360px){
    .wa-chatbox { width:95%; right:2.5%; height:75vh; }
}
@media (max-width:320px){
    .wa-chatbox { width:100%; right:0; bottom:0; height:78vh; border-radius:0; }
}

/* DARK MODE */
@media (prefers-color-scheme:dark){
    .wa-chatbox { background:#222; }
    .wa-bubble { background:#333; color:white; }
    .wa-bubble.me { background:#2b4f3e; }
    .wa-input-area input { background:#333; color:white; border:1px solid #666; }
}
/* INPUT FIELD */
	
}

.wa-input-row {
    display: flex;
    align-items: center;
   
    padding: 10px;
    border-top: 1px solid #eee;
    background: #fff;
	width:60%;
}

.wa-input-row input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 15px;
	width:60%;
}

.wa-send-btn {
   
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 24px;
	width:30%;
	  padding: 10px;
}

.wa-send-btn:hover {
    background: #1ebe5b;
	width:30%;
}


