/* Common styles for both desktop and mobile */
#modelformail {
    font-family: 'Varela Round', sans-serif;
}

.modal-dialog.modelformail {
    color: #636363;
    width: 600px;
    font-size: 16px;
    margin-top: 100px;
}

.modal-content {
    padding: 20px;
    border-radius: 5px;
    border: none;
}

.modelformail-header {
    border-bottom: none;
    position: relative;
}

.modelformail-header h4 {
    text-align: center;
    font-size: 26px;
    margin: 30px 0 15px;
}

.form-control, .btn {
    min-height: 40px;
    border-radius: 3px;
}

.close {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: var(--main-color); /* Button background color */
    color: #ffffff; /* Button text color */
    border: none; /* Optional: Remove button border if desired */
    padding-right: 4px; /* Optional: Adjust padding as needed */
    cursor: pointer; /* Optional: Add a pointer cursor for better UX */
}

.modelformail-footer {
    border: none;
    text-align: center;
    border-radius: 5px;
    font-size: 13px;
}

.modimage-box {
    color: #fff;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: -70px;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    z-index: 9;
    padding: 0px;
    text-align: center;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}

.modimage-box i {
    font-size: 58px;
    position: relative;
    top: 3px;
}

/* Styles for mobile screens (screens with a width of 600px or less) */
@media (max-width: 600px) {
    .modal-dialog.modelformail {
        width: 90%; /* Use a percentage width to adapt to smaller screens */
        margin: 20px; /* Adjust the margin for smaller screens */ 
		margin-top: 90px; /* Increase the top margin for mobile screens */
    }

    .trigger-btn {
        margin: 20px auto; /* Adjust the margin for the button on smaller screens */
    }
}
