/* ----- Basic styling for Shortcode button ----- */
.mswr-button-wrap button {
	padding: 10px;
}

/* ------ General styling for the Donate payment form ------- */
.mswr-donate-wrap {
	  max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f4f4f4; /* Light background for emphasis */
}

/* Title styling */
.mswr-form-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px; /* Space between the title and form */
    letter-spacing: 1px; /* Optional: to give some spacing between letters */
}

/* Styling for the payment table */
.mswr-payment-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-style: hidden;
}

.mswr-payment-table tr {
    border-style: hidden;
}

.mswr-payment-table td {
    padding: 10px;
    vertical-align: middle;
}


.mswr-form-label {
    font-weight: bold;
    text-align: right;
    padding-right: 10px;
    width: 200px;
    display: inline-block;
}

.mswr-form-input {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    width: 100%;
    max-width: 350px; /* Default max width */
}

.mswr-form-input:focus {
    border-color: #007bff;
    outline: none;
}

/* Custom sizes for specific input fields */
#amount {
    max-width: 100px;
}

#currency {
    width: auto; /* Let the currency field automatically adjust */
}

#email {
    max-width: 500px;
}

.mswr-form-submit {
    text-align: center;
}

.mswr-submit-button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.mswr-submit-button:hover {
    background-color: #218838;
}

.mswr-submit-button:active {
    background-color: #1e7e34;
}

/* Styling for invalid inputs */
.mswr-form-input:invalid {
    border-color: #e74c3c; /* Red border when input is invalid */
    background-color: #f8d7da; /* Light red background to highlight invalid field */
}

.mswr-form-input:focus:invalid {
    border-color: #e74c3c; /* Red border when focused on invalid input */
    background-color: #f8d7da; /* Light red background when focused on invalid input */
}

.mswr-form-input:valid {
    border-color: #28a745; /* Green border when input is valid */
}

.mswr-form-input:focus:valid {
    border-color: #28a745; /* Green border when focused on valid input */
}
