.modal-container {
    transition: all 0.2s ease-in;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal-container::-webkit-scrollbar {
    display: none;
}

.modal-container.hidden {
    opacity: 0;
    overflow-y: scroll;
    visibility: hidden;
}

.modal {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    width: 55%;
    /* max-width: 800px; */
    /* max-height: 600px; */
    opacity: 1;
    background-color: white;
    border-radius: 15px;
    z-index: 11;
    transition: all 0.2s ease-in;
}

.modal.hidden {
    opacity: 0;
    transform: translate(0, -5%);
    visibility: hidden;
}

.modal-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--white);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    gap: 5px;
    color: var(--primary-color);
}

.modal-header .left {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 15px;
}

.modal-header .close-button {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    width: 35px;
    height: 36px;
    margin: 10px;
    cursor: pointer;
    color: var(--grey);
    border: 1px solid var(--grey);
    border-radius: 10px;
}

.modal-header h1 {
    font-size: 16px;
    font-weight: 700;
}

.modal-header p {
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
    color: var(--grey);
}

.modal-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--white);
    border-top: 1px solid var(--light-grey);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    gap: 5px;
    color: var(--primary-color);
}

.modal-footer .left {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 15px;
}

.modal-footer .right {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 16px 15px;
}

.modal-footer .right .close-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    background-color: var(--primary-color);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.modal-footer h1 {
    font-size: 16px;
    font-weight: 700;
}

.modal-footer p {
    font-size: 12px;
    font-weight: 500;
    color: var(--grey);
}

.modal .modal-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

@media screen and (max-width: 910px) {
    .modal {
        width: 85%;
    }
}

.modal-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    border-radius: 10px;
}