@media (max-width: 768px) {
    #cancellationReasonsOptions {
        width: 100%; /* Adjust the width for smaller screens */
        box-sizing: border-box; /* Include padding and border in the element's total width */
    }

    /* Allow long options to break into multiple lines */
    #cancellationReasonsOptions option {
        white-space: normal;
        word-wrap: break-word;
    }
    #contract_cancellation_request_popin_home option {
        max-width: 100%;
        word-wrap: break-word;
    }
}
#contract_cancellation_request_popin_itsap_overlay {
    z-index: 2147483649;
    background: #000;
    display: none;
    height: 100%;
    left: 0;
    opacity: 0.7;
    position: fixed;
    top: 0;
    width: 100%;
}
#seperator_alerts_post_submit {
    margin-bottom: 30px;
}

#alerts_post_submit {
    margin-top: 30px;
}

#resiliationContractCommentary {
    width: 100%;
}
.contract_cancellation_request_popin {
    z-index: 2147483650;
    background-color: #fff;
    position: fixed;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 40%;
    padding:40px;
    border-radius: 2px;
}
#contract_cancellation_request_popin_home {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    min-width: 551px;
    height: auto;
    max-height: 95%;
    background-color: #fff;
    padding: 20px 30px 0px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    @media (max-width: 768px) {
            width: 90%; /* Adjust the width for smaller screens */
            min-width: 350px; /* Adjust the minimum width for smaller screens */
            max-width: none; /* Remove maximum width for smaller screens */
            padding: 10px; /* Adjust padding for smaller screens */
        }
}

.overlay {
    display: none;
}

.overlay.show,
#contract_cancellation_request_popin_home.show {
    display: block;
}

.resiliation-modal-title {
    font-size: 21px;
}

.contract_cancellation_request_popin_body {
    max-height: 100%;
    overflow-y: auto;
}

label {
    margin-bottom: 3px;
    display: block;
}

select,
input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

input[type="submit"], #buttonPostResiliation {
    background-color: #00bfa2;
    border: solid 1px #00bfa2;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    padding:10px 5px;
    width: 49%;
    font-weight: bold;
    margin-top: 5%;
    &:disabled {
        background-color: #8b8b8b; /* Light grey background color */
        color: #dcdcdc; /* Light grey text color */
        border: 1px solid #d3d3d3; /* Light grey border */
    }
}

.button-center{
    display: flex;
    justify-content: center;
}

#buttonPostResiliation:hover:disabled {
    background-color: #606060; /* Darker grey background on hover */
    border: 1px solid #606060; /* Darker grey border on hover */
}

#buttonPostResiliation:active {
    background-color: #404040; /* Even darker background when button is clicked */
    border: 1px solid #404040; /* Even darker border when button is clicked */
}

#buttonPostResiliation:hover:enabled {
    background-color: #009984; /* Darker grey background on hover */
    border: 1px solid #00bfa2; /* Darker grey border on hover */
}

#submitButtonWrapper {
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
}

.flex-column {
    flex-flow: column;
}

.align-items-start{
    align-items: start;
}

.text-align-start{
    text-align: start;
}

.input-container {
    margin-bottom: 20px;
}

.contract_cancellation_request_popin_button {
    text-align: right;
}

.close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #363636;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: .7;

}

.close:hover {
    color: #151515;
}

.fermer {
    background-color: #e74c3c;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.fermer:hover {
    background-color: #c0392b; /* Darker red on hover */
}

.red {
    color: red;
}

.flex {
    display: flex;
}

.mt-5 {
    margin-top: 5px;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-5 {
    margin-bottom: 5px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}



.mt-18 {
    margin-top: 18px !important;
}

.font-size-20 {
    font-size: 20px;
}

.font-size-15 {
    font-size: 15px;
}

.pr-0 {
    padding-right: 0px;
}

.mr-33 {
    margin-right: 33px;
}

.mr-5 {
     margin-right: 5px;
 }

.mr-10 {
    margin-right: 10px;
}

.ml-10 {
    margin-left: 10px;
}

.mb-n10 {
    margin-bottom: -10px;
}


.mb-n18 {
    margin-bottom: -18px;
}


.mr-0 {
    margin-right: 0px;
}

.text-left {
    text-align: left;
}

.block {
    display: block;
}
