.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width:100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    overflow-x: hidden;
    overflow-y: auto;
    display: none;
}

.modal.modal-show {
    display: block;
}

.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
}

.modal-centered{
    position:fixed;
    width: 40%;
    height: auto;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

.modal-size-small {
    width: 25%;
}

.modal-size-medium {
    width: 50%;
}

.modal-size-large {
    width: 70%;
}

.modal-fullscreen .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #ffffff;
    border: 1px solid #e8e8f7;
    border-radius: 6px;
    outline: 0;
    box-shadow: 0 0.5rem 1rem rgb(162 169 204 / 15%);
    border-width: 0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e8e8f7;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
    align-items: center;
    padding: 15px;
}

.modal-header h6 {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    color: #53545e;
    line-height: 1;
    line-height: 1.5;
}

.modal-header button {
    background: none;
    border: none;
    outline: none;
}

.modal-header button .icon-view {
    vertical-align: middle;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
    padding: 25px;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e8e8f7;
    border-bottom-right-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}

.modal-footer.align-center {
    display: flex;
    justify-content: center;
}

.modal-footer .close-btn {
    padding: 5px 15px;
    background: #FF7171;
    border-radius: 5px;
    color: #ffffff;
    border: none;
    outline: none;
}