#whatsapp-support {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    cursor: pointer !important;
    z-index: 99999 !important;
    display: block !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    outline: none !important;
}

#whatsapp-support img {
    width: 100% !important;
    height: 100% !important;
    max-width: 60px !important;
    max-height: 60px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}
#whatsapp-form-container {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 350px;
    background: #fff;
    box-shadow: 0 -3px 15px rgba(0,0,0,0.2);
    z-index: 99999;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    max-height: 80vh;
    overflow-y: auto;
}
@media (max-width: 767px) {
    #whatsapp-form-container {
        width: 100% !important;
        right: 0;
        left: 0;
        border-radius: 0;
    }
}
.whatsapp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #075E54;
    color: #fff;
    padding: 15px 15px;
    margin: -20px -20px 20px -20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
}
.whatsapp-header img.icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    margin-right: 5px;
}
#whatsapp-form-container .close-btn {
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}
.whatsapp-head {
    font-size:16px;
    font-weight:bold;
    display:block;
    margin-bottom:15px;
}
.whatsapp-spot {
    font-size: 13px;
    line-height: 20px;
    display: block;
    margin-bottom: 15px;
    color: #666;
}

#whatsapp-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: left;
    direction: ltr;
}

.phone-input-container {
    display: flex !important;
    align-items: center !important;
    background: #fff !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    padding: 0 !important;
    margin: 10px 0 !important;
    overflow: hidden !important;
}

.phone-prefix {
    background: #f8f9fa !important;
    color: #666 !important;
    padding: 12px 15px !important;
    border-right: 1px solid #ddd !important;
    font-weight: bold !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    user-select: none !important;
}

#whatsapp-form input[name="phone_number"] {
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    text-align: left !important;
    direction: ltr !important;
    unicode-bidi: bidi-override !important;
    background: transparent !important;
    margin: 0 !important;
    border-radius: 0 !important;
    caret-color: #25D366 !important;
    color: #333 !important;
    font-family: monospace !important;
    letter-spacing: 1px !important;
}

#whatsapp-form input[name="phone_number"]:focus {
    background: transparent !important;
    box-shadow: none !important;
}

.phone-input-container:focus-within {
    border-color: #25D366 !important;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2) !important;
}

#whatsapp-form input:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

#whatsapp-form button {
    width: 100%;
    padding: 12px 15px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
}

#whatsapp-form button:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

#whatsapp-form button:active {
    transform: translateY(0);
}

.g-recaptcha {
    margin: 15px 0;
    display: flex;
    justify-content: center;
}

.g-recaptcha > div {
    transform: scale(0.9);
    transform-origin: center;
}
#whatsapp-chat {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 350px;
    background: #ece5dd;
    box-shadow: 0 -3px 15px rgba(0,0,0,0.2);
    z-index: 99999;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
    max-height: 80vh;
}
@media (max-width: 767px) {
    #whatsapp-chat {
        width: 100% !important;
        right: 0;
        left: 0;
        border-radius: 0;
    }
}
.chat-header {
    background: #075E54;
    color: #fff;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-header .close-btn {
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}
.chat-body {
    height: 250px;
    overflow-y: auto;
    padding: 10px;
    background: #ece5dd;
    display: flex;
    flex-direction: column;
}
.msg {
    max-width: 75%;
    padding: 8px 12px;
    border-radius: 8px;
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
}
.msg .time {
    display: block;
    font-size: 11px;
    color: #999;
    text-align: right;
    margin-top: 4px;
    font-style: italic;
}
.msg.bot {
    background: #fff;
    align-self: flex-start;
}
.msg.user {
    background: #dcf8c6;
    align-self: flex-end;
    margin-left: auto;
}
.msg .time {
    display: block;
    font-size: 11px;
    color: #666;
    margin-top: 3px;
    text-align: right;
}
.chat-header-left {
    display: flex;
    align-items: center;
}
.chat-header-left img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: contain !important;
    padding: 3px !important;
    background: #fff !important;
    margin-right: 10px !important;
}
.chat-info {
    display: flex;
    flex-direction: column;
}
.chat-info .title {
    font-weight: bold;
    font-size: 15px;
}
.chat-info .status {
    font-size: 12px;
    font-weight:400;
    color: #ffffff;
}
.chat-footer {
    display: flex;
    padding: 10px;
    background: #f0f0f0;
}
.chat-footer input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.chat-footer input:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.chat-footer button {
    background: #25D366;
    color: #fff;
    border: none;
    margin-left: 10px;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-footer button:hover {
    background: #128C7E;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}