/* Premium CSS for WhatsApp Order Popup */
.wa-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wa-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.wa-popup-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.wa-popup-overlay.active .wa-popup-content {
    transform: translateY(0);
}

.wa-close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.wa-popup-header {
    text-align: center;
    margin-bottom: 25px;
}

.wa-popup-header h2 {
    margin: 0;
    color: #128C7E;
    font-size: 24px !important;
}

.wa-popup-header p {
    margin: 5px 0 0;
    color: #777;
    font-size: 14px;
}

.wa-product-preview {
    background: #f7f7f7;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: bold;
}

.wa-form-row {
    display: flex;
    gap: 15px;
}

.wa-field {
    margin-bottom: 15px;
    flex: 1;
}

.wa-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 13px;
}

.wa-field input,
.wa-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.wa-location-picker {
    display: flex;
    gap: 10px;
}

#wa-get-location {
    padding: 0 10px;
    background: #128C7E;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#wa-get-location.loading {
    opacity: 0.5;
    pointer-events: none;
}

.wa-submit-btn {
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wa-submit-btn:hover {
    background: #128C7E;
}

.wa-status-msg.error {
    margin-top: 15px;
    color: #d32f2f;
    text-align: center;
    font-weight: bold;
}

/* Floating WA Button */
.wa-floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}