/*
    Entire modal styles
*/
.modal.fade {
    display: none;
}

/* Custom dialog box */
.donor-inquiry-dialog {
    position: relative;
    width: 65%;
    max-width: 1200px;
    margin: 50px auto;
    z-index: 1050;
}

/* Modal content box */
.donor-inquiry-content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
    border: 1px solid #ddd;
}

/* Header */
.donor-inquiry-header {
    padding: 20px 30px 0;
    color: #fff;
    position: relative;
}

.donor-inquiry-title {
    margin: 10px 0 0;
    font-size: 24px;
    font-weight: 600;
}

/* Close button (top-right) */
.donor-inquiry-close {
    position: absolute;
    right: 30px;
    top: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

/* Body area that holds your CF7 form */
.donor-inquiry-body {
    padding: 0px 40px 30px;
}

/* Footer */
.donor-inquiry-footer {
    padding: 20px 30px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.button-group {
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* Make sure both buttons share the same style */
.button-group button,
.button-group .wpcf7-submit {
    background-color: #00acc8;
    color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
    cursor: pointer;
}
.button-group .wpcf7-submit {
    background: #ffb547;
}
.button-group .wpcf7-submit:hover {
    background: #ffc876;
}
.button-group button:hover {
    background: #00acc8;
}

.donor-inquiry-close-btn:hover {
    background-color: #ffc876;
}

.donor-inquiry-content label {
    margin-top:20px;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .donor-inquiry-dialog {
        width: 95%;
        margin: 30px auto;
    }

    .donor-inquiry-body {
        padding: 20px;
    }
}

.thank-you-message {
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
}

.thank-you-message h3 {
    color: #00acc8;
    font-size: 24px;
    margin-bottom: 15px;
}

.thank-you-message p {
    margin-bottom: 15px;
    line-height: 1.5;
}



/*
    CTA Button Styles
 */

.donor-question-btn-container {
    width: 100%;
    margin: 20px 0;
}

.donor-question-btn,.donor-question-btn-container .active {
    background-color: #00acc8 !important;
    color: #ffffff;
    border: none;
    border-radius: 15px;
    padding: 20px 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.donor-question-btn:hover {
    background-color: #5cc0c0; /* lighter hover version */
}

.donor-question-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.donor-question-icon {
    margin-right: 20px;
}

.donor-question-text {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.donor-question-text .line1 {
    font-size: 20px;
}

.donor-question-text .line2 {
    font-size: 20px;
}

@media (max-width: 768px) {
    .donor-question-btn {
        padding: 15px 20px;
    }

    .donor-question-icon {
        margin-right: 10px;
    }

    .donor-question-text {
        font-size: 18px;
    }
}
