/* Main container */
#mfid-donation-form {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #fff;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* New Section Styling */
.mfid-section {
    border: 2px solid #1d334b; /* Blue border as requested */
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.mfid-section h3 {
    margin-top: 0;
    color: #1d334b;
    font-size: 20px;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* Thank you screen transition */
.mfid-screen {
    display: none;
}
.mfid-screen.active {
    display: block;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Intro Text */
.mfid-intro-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #f37127;
    text-align: center;
    font-weight: 600;
}
.mfid-all-fields-mandatory {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* Donation Options */
.mfid-donation-options {
    margin-bottom: 25px;
}
.mfid-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    border: 2px solid #e6e6e6;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.mfid-option:hover {
    border-color: #f37127;
    background-color: #fef8f4;
}
.mfid-option.selected {
    border-color: #f37127;
    background-color: #fef8f4;
    color: #1d334b;
}
.mfid-option input[type="radio"] {
    margin: 0 15px 0 0;
    flex-shrink: 0;
    transform: scale(1.2);
    cursor: pointer;
}
.mfid-option label {
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
}

/* Custom amount container */
#mfid-custom-amount-container {
    margin: 20px 0;
    padding: 15px;
    border: 2px dashed #e6e6e6;
    border-radius: 8px;
    background-color: #fafafa;
}
.mfid-min-note {
    font-size: 13px;
    color: #f37127;
    margin-top: 5px;
    margin-bottom: 0;
    font-style: italic;
    font-weight: 600;
}

/* Form Inputs */
input[type="text"],
input[type="email"],
input[type="number"],
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 15px;
    transition: border-color 0.2s ease;
}
input:focus, 
textarea:focus {
    border-color: #f37127;
    outline: none;
    box-shadow: 0 0 0 3px rgba(243, 113, 39, 0.1);
}
input.error, 
textarea.error {
    border-color: #d32f2f !important;
    background-color: #fff6f6;
}

/* Form Layout */
.mfid-two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.mfid-two-columns > * {
    flex: 1 1 calc(50% - 10px);
    min-width: 200px;
}
.mfid-form-group.full-width {
    flex-basis: 100%;
}
textarea[name="address"] {
    min-height: 80px;
}

/* Buttons */
.mfid-button-group {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.mfid-button {
    padding: 14px 24px;
    border: none;
    border-radius: 6px;
    background-color: #f37127;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    width: 60%;
    max-width: 350px;
}
.mfid-button:hover {
    background-color: #1d334b;
}
.mfid-button:active {
    transform: translateY(1px);
}
.mfid-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Thank you screen */
.mfid-thank-you {
    text-align: center;
    padding: 20px 0;
}
.mfid-thank-you h2 {
    color: #1d334b;
    margin-bottom: 15px;
}
.mfid-receipt-info {
    margin-top: 30px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 6px;
}

/* Responsive styles */
@media (max-width: 600px) {
    #mfid-donation-form {
        padding: 20px 15px;
    }
    .mfid-two-columns > * {
        flex-basis: 100%;
    }
    .mfid-button {
        width: 100%;
    }
}