/* Floating WhatsApp button */
#whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    min-width: 56px;
    min-height: 56px;
    padding: 8px; /* reduced padding */
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); /* more visible */
    z-index: 9999;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

#whatsapp-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
    background: #1ebe5d;
}

/* Popup container */
.whatsapp-popup {
    display: none;
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 10000;
    max-width: 320px;
}

/* Shown state */
.whatsapp-popup.active {
    display: block;
}

/* Popup content */
.whatsapp-popup-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    max-width: 320px;
    font-family: inherit;
}

/* Close icon */
.whatsapp-close {
    position: absolute;
    right: 12px;
    top: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.whatsapp-close:hover {
    color: #333;
}

/* Heading (h4, half-size feel) */
.whatsapp-popup-content h4 {
    margin: 0 0 14px 0;
    font-size: 6px; /* half-ish of a normal small heading */
    font-weight: 600;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Inputs */
#whatsapp-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 15px;
}

/* Submit button (theme #F8B54A) */
#whatsapp-form button {
    width: 100%;
    padding: 10px;
    background: #F8B54A;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.18s ease, transform 0.1s ease, box-shadow 0.18s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#whatsapp-form button:hover {
    background: #e6a43d;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

#whatsapp-form button:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

/* Mobile tweaks */
@media (max-width: 480px) {
    .whatsapp-popup {
        left: 10px;
        right: 10px;
        bottom: 80px;
    }

    .whatsapp-popup-content h4 {
        font-size: 8px;
    }

    #whatsapp-btn {
        bottom: 16px;
        left: 16px;
    }
}
