/* General Form Styles */
form {
    width: 100%;
    font-size: 20px;
    border-radius: 8px;
   padding: 50px 35px 50px 35px;
   font-family: Bornomala;
    /*background-color: #f9f9f9; /* Added subtle background color for better visibility */
    
}

/* General Div Styling for Sections */
form > div {
    margin-bottom: 0px; /* Adjusted margin for better spacing */
    padding: 0px;
}

/* Donation Amount Options Container */
.donation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 19px;
    padding: 0px;
}

/* Donor Details Container */
.donor-details input[type="text"], 
.donor-details input[type="number"],
#donation-amount-custom { /* Ensure custom amount field is styled consistently */
    width: 100%;
    padding: 10px; /* Slightly increased padding for better UX */
    margin-top: 0px; /* Added margin for spacing */
    border: 1px solid #CDE2E7;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Donation Amount Options (Style Labels and Hide Radio Buttons) */
input[type="radio"] {
    display: none;
}

label[for^="amount_"] {
    flex: 1;
    background-color: #ffffff;
    padding:20px;
    border: 1px solid #CDE2E7;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    box-sizing: border-box;
    font-size: 15px;
    min-width: 80px; /* Ensure minimum width for better responsiveness */
}

/* Hover Effect for Donation Amount Options */
label[for^="amount_"]:hover {
    background-color: #f0f8ff; /* Subtle hover background */
    color: #3D81C5;
}

/* Selected Donation Option */
input[type="radio"]:checked + label {
    background: #007F9D;
    color: white;
   
}

/* Submit Button */
input[type="submit"] {
     background: #007F9D;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 15px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #1a5b91; /* Updated hover color for consistency */
}

/* Custom Amount Field */
.hidden {
    display: none;
}

/* Fund Selection Dropdown */
#fund-selection {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fffcdb;
    font-size: 16px;
    box-sizing: border-box;
    margin-top: 24px;
}

label[for="fund-selection"] {
    display: none;
    
}

/* Agreement Message */
.agreement-message {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    padding: 10px;
    margin-top: 15px;
}

.agreement-message a {
    color: #007F9D;
    cursor: pointer;
    transition: color 0.3s ease;
}

.agreement-message a:hover {
    color: #18518c;
}
