/* General Styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Donation Section */
#donate {
    /* max-width: 800px;
     */
     display: flex;
     width:100%;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    /* min-width: 540px; */
}

/* Donation Container */
.donate-container {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;

    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Donation Form */
.donation-container {
    background: white;
    padding: 20px;
    width: 90%;
    max-width: 540px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.secure-tag {
    color: green;
    font-weight: bold;
}

.donation-type button {
    padding: 10px 20px;
    border: none;
    background: #e9ecef;
    cursor: pointer;
    margin-right: 10px;
}

.donation-type button.active {
    background: #007BFF;
    color: white;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.amount-box {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box; /* Ensures padding and border are included in the width */

}

.amount-box:hover {
    background: #f0f0f0;
}

.amount-box.custom input {
    width: 80%;
    grid-column: span 2; /* Span across two columns */

}

.note-section {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

.custom-input {
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

#note-details {
    margin-top: 10px;
    transition: opacity 0.3s ease;
}

#add-note:checked ~ #note-details {
    display: block;
}

#add-note:checked ~ #note-details .custom-input {
    /* Custom styling for the input when checkbox is checked */
    background-color: #f9f9f9;
    border-color: #aaa;
}
#note-label{
    margin:0px!important;
    margin-left:20px!important;
    margin-bottom:2px!important;

    margin-top:10px !important;
}

.continue-btn {
    display: block;
    background: #007BFF;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.summary{
    /* padding: 20px; */
    flex: auto;
    display: flex;
    align-items: center;
    justify-content: left

}


.summarize{
    flex: auto;
    display: flex;
    align-items: center;
    justify-content: space-between
}
.billing-info{
    background-color: #fff;
    border-radius: 30px !important;
    border: 1px solid #888;
    /* padding: 30px; */


}

.modal-content {
    background-color: #fefefe;
    border-radius: 30px !important;
    /* overflow: ; */
    margin: 15% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#card-info{
    font-size: x-large;
}

.summary, .contact-option {
    /* display: flex; */
    margin-bottom: 10px;
    align-items: center;
    /* justify-content: center; */
}

.active{
    color: white;
}

.grayed{
    padding:10px;
    /* background-color: #F3F4F6; */
    background-color: #fff;

    margin: 0 !important;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}


.payment-method .credit-cards {
    flex: 1; /* This allows the text to grow and take available space */
    word-wrap: break-word; /* Ensures long words wrap to the next line */
    white-space: normal;   /* Allows text to wrap */
    min-width: 80px;      /* Adjust this based on your design needs */

    max-width: 200px;      /* Adjust this based on your design needs */
}

.payment-method .cards {
    display: flex;         /* Makes sure the image aligns with text */
    align-items: center;   /* Vertically centers the image */
}



#payment-element label {
    /* display: block; */
    margin: 20px;
    /* margin-bottom: 10px; */
}

.payment-form {
    margin-top: 20px;
}

.payment-method {
    margin-bottom: 15px;
}

.payment-summary{
    margin-bottom: 10px;
    margin-top: 0px;

}


.stripe-form {
    max-width: 600px;
    margin: 0 auto;
}

#card-number {
    width: 100%;
    margin-bottom: 10px;
}

.half-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

#card-expiry, #card-cvc {
    width: 100%;
}

#card-number, #card-expiry, #card-cvc {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
}

#submit-payment {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    background-color: #0070f3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#submit-payment:hover {
    background-color: #0761d1;
}


.custom-inputs > input {
    border: 1px solid #ccc;
}

.price{
    font-size: 1.6em;
}
.radio-class-1 {
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Vertically center items */
}

.radio-class-1 input[type="radio"] {
    margin-right: 10px;
}

.credit-split {
    display: flex; /* Make credit-split a flex container */
    align-items: center; /* Vertically center items */
    flex-grow: 1; /* Allow this to grow to full width of .radio-class-1 */
}

.credit-cards {
    white-space: nowrap; /* Prevent text from wrapping */
}

.cards {
    max-height: 50px;
    flex: 1 1 auto; /* Allow this to grow and take up all remaining space */
    margin-left: 10px; /* Optional spacing */
    max-height:100%;

}


.paypal {
    max-height: 50px;
    flex: 1 1 auto; /* Allow this to grow and take up all remaining space */
    margin-left: 10px; /* Optional spacing */
    max-height:100%;

}

.cards img {
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Don't exceed container width */
    width: 100%; /* Fill the width of .cards */
    vertical-align: middle;
}

.submit-btn {
    background: #007BFF;
    color: white;
    width:100% !important;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    display: block;
    border-radius: 5px;
    text-align: center;
    margin-top: 15px;
}

.submit-btn:hover {
    background: #0056b3;
}