.modal {
    --bs-modal-header-border-color: #eee;
    --bs-modal-footer-border-color: #eee;
    --bs-modal-width: 33rem;

    background-color: rgba(28, 32, 37, .3);
    display: block;

}

.modal-right-screen {
    height: 100%;
    margin: 0 0 0 auto;
}

.modal .modal-title{
    font-size: 1.2rem;
    color: var(--bs-black);
}

.btn-close,
.modal .modal-header .btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background-color: #f0f0f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal. .modal-header .btn-icon:hover  {
    background-color: #e0e0e0;
}

.modal.open {
    display: block!important;
}

.modal-content{
    border-radius: .8rem;
    border: none;
}

.modal-right-screen .modal-content{
    border-radius: 0;
    transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
}

.modal-title {
    font-weight: 600;
}

.modal-footer.px-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

@media (min-width: 576px) {
    .modal-sm {
        --bs-modal-width: 22rem;
    }
}

@media (min-width: 992px) {
    .modal-md{
        --bs-modal-width: 40rem;
    }
}