/* Promo Code Section */
.xpay-promo-code-container {
    display: flex;
    flex-direction: column; /* Ensures label is on top */
    margin-top: 10px;
    margin-bottom: 15px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Label Styling - Display on a separate line */
.xpay-promo-code-label {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

/* Input Field - Below Label */
.xpay-promo-code-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Input Focus Effect */
.xpay-promo-code-input:focus {
    border-color: #007cba;
    box-shadow: 0 0 5px rgba(0, 124, 186, 0.5);
    outline: none;
}

/* Apply Button - Appears Below Textbox */
.xpay-apply-button {
    background-color: black;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    margin-top: 10px; /* Ensure spacing below textbox */
}

/* Button Hover & Click Effect */
.xpay-apply-button:hover {
    background-color: #333;
}

.xpay-apply-button:active {
    transform: scale(0.95);
}

/* Promo Code Message */
#promo_code_message {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

/* Mobile Friendly */
@media (max-width: 600px) {
    .xpay-promo-code-container {
        padding: 12px;
    }

    .xpay-apply-button {
        width: 100%; /* Full width on small screens */
    }
}
