/* Strong wrapper to override Elementor/theme */
.pps-wrapper .pps-box {
    max-width: 600px !important;
    background: #ffffff !important;
    padding: 16px !important;
    border-radius: 14px !important;
    border: 1px solid #e6e6e6 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
    margin: 10px 0 !important;
}

/* Inner layout */
.pps-wrapper .pps-inner {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

/* Inputs – FORCED */
.pps-wrapper .pps-input.pps-input {
    flex: 1 !important;
    min-width: 160px !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    border: 1px solid #ccc !important;
    font-size: 14px !important;
    transition: 0.3s ease !important;
    outline: none !important;
    background: #fafafa !important;
    color: #000 !important;
}

.pps-wrapper .pps-input:focus {
    border-color: #4b7bec !important;
    box-shadow: 0 0 0 2px rgba(75,123,236,0.25) !important;
    background: #fff !important;
}

/* Button – FORCED */
.pps-wrapper .pps-btn.pps-btn {
    padding: 12px 20px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #4b7bec, #3867d6) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: 0.2s ease !important;
}

.pps-wrapper .pps-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15) !important;
}

/* Messages */
.pps-wrapper .pps-message {
    margin-top: 12px !important;
    font-size: 14px !important;
    padding: 12px !important;
    border-radius: 10px !important;
    display: none !important;
}

.pps-wrapper .pps-success {
    background: #e8f9ee !important;
    border-left: 4px solid #2ecc71 !important;
    color: #1e7d4d !important;
}

.pps-wrapper .pps-error {
    background: #fdecea !important;
    border-left: 4px solid #e74c3c !important;
    color: #7b241c !important;
}


/* Ensure message always becomes visible */
#pps_message {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 12px !important;
    font-size: 14px !important;
}

/* Success style */
#pps_message.pps-success {
    background: #e8f9ee !important;
    border-left: 4px solid #2ecc71 !important;
    color: #1e7d4d !important;
    padding: 12px !important;
    border-radius: 10px !important;
}

/* Error style */
#pps_message.pps-error {
    background: #fdecea !important;
    border-left: 4px solid #e74c3c !important;
    color: #7b241c !important;
    padding: 12px !important;
    border-radius: 10px !important;
}


/* Mobile */
@media(max-width:480px) {
    .pps-wrapper .pps-btn {
        width: 100% !important;
    }
	
	.pps-wrapper .pps-input {
        width: 100% !important;
        display: block !important;
    }

    /* Force button full width + restore color */
    .pps-wrapper .pps-btn {
        width: 100% !important;
        display: block !important;
        background: linear-gradient(135deg, #4b7bec, #3867d6) !important; /* Fix lost button color */
        color: #fff !important;
    }
}
