/* General form styling for all simpay forms */
.simpay-checkout-form {
    font-family: Arial, sans-serif;
    border-radius: 8px; /* Rounded form corners */
    padding: 20px;
    max-width: 600px; /* Adjust width as needed */
    margin: 0 auto; /* Center form */
}

/* Label styling */
.simpay-checkout-form label {
    font-weight: bold;
    color: #333333; /* Dark grey text */
    display: block;
    margin-bottom: 8px;
}

/* Input fields, selects, and text areas */
.simpay-checkout-form input[type="text"],
.simpay-checkout-form input[type="email"],
.simpay-checkout-form input[type="date"],
.simpay-checkout-form input[type="checkbox"],
.simpay-checkout-form select,
.simpay-checkout-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #00A889; /* Light grey border */
    background-color: #FFFFFF; /* Grey background */
    border-radius: 8px; /* Rounded corners */
    font-size: 16px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

/* Styling for checkboxes and their labels */
.simpay-checkout-form input[type="checkbox"] {
    width: auto; /* Fix width for checkbox */
    margin-right: 8px;
    vertical-align: middle;
}

/* Placeholder styling */
.simpay-checkout-form input::placeholder,
.simpay-checkout-form textarea::placeholder {
    color: #A0A0A0; /* Light grey placeholder */
    font-style: italic;
}

/* Submit buttons */
.simpay-checkout-form button,
.simpay-checkout-form .simpay-btn {
    width: 100%;
    background-color: #00A889; /* Brand green */
    color: #FFFFFF;
    border: none;
    padding: 14px;
    border-radius: 8px; /* Rounded corners */
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.simpay-checkout-form button:hover,
.simpay-checkout-form .simpay-btn:hover {
    background-color: #007F67; /* Darker green on hover */
}

/* Optional text styling */
.simpay-checkout-form .simpay-optional-indicator {
    font-style: italic;
    color: #A0A0A0;
}

/* Error messages */
.simpay-checkout-form .simpay-errors {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

/* Total, subtotal, and tax section styling */
.simpay-total-amount-container,
.simpay-subtotal-amount-container,
.simpay-tax-amount-container {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    display: flex;
    justify-content: space-between;
}

/* Small headings inside the form */
.simpay-checkout-form h6 {
    font-size: 16px;
    font-family: Verdana, Geneva, Tahoma, sans-serif !important;
    color: #666666;
    margin-top: -20px;
    font-weight: normal;
}

.simpay-payment-page-footer {
    display: none !important;
}

.simpay-form-title {
    text-align: left;
    display: none;
}
