.modal-content:has(.modal-custom){
    border-radius: 12px;
    overflow: hidden;
}

.modal-custom {
    background: linear-gradient(135deg, #FFF6F1, #FFFFFF);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

/* Modal content styles */
#modal-consultation .modal-content-custom {
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Modal heading styles */

#modal-consultation .modal-content-custom h2 {
    font-size: 2em;
    font-weight: bold;
    color: #880020;
    margin: 10px 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modal paragraph styles */

#modal-consultation .modal-content-custom p {
    font-size: 1.1em;
    color: #333;
    margin: 10px 0 20px;
    max-width: 100%;
    font-style: italic;
}

/* Call to action button styles */

#modal-consultation .modal-content-custom .cta-button {
    padding: 15px 30px;
    background-color: #880020;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

/* Hover effect for the call to action button */

#modal-consultation .modal-content-custom .cta-button:hover {
    background-color: #660016;
    transform: scale(1.05);
}

/* Styles for the decline text */

#modal-consultation .modal-content-custom .decline-text {
    margin-top: 10px;
    font-size: 0.9em;
    color: #880020;
    cursor: pointer;
}

/* Hover effect for the decline text */

#modal-consultation .modal-content-custom .decline-text:hover {
    text-decoration: underline;
}
#modal-consultation .logo{
    max-width: 200px;
}
#modal-consultation .logo img {
    width: 100%;
}