.modal-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease;
    background-color: rgba(0, 0, 0, 0.6);
}
.modal-form.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.modal-form.active .modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.modal-form .modal-dialog {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 20px;
    background: transparent;
    border-radius: 8px;
    transition: all 0.4s ease;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
}
@media (max-width: 767px) {
    .modal-form .modal-dialog {
        max-width: 90%;
    }
}
.modal-form .modal-content-wrapper {
    position: relative;
    line-height: 0;
}
.modal-form .modal-content-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.modal-form .btn-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 32px;
    height: 32px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    z-index: 10;
    color: #333;
}
.modal-form .btn-close:hover {
    background: #e74c3c;
    color: #fff;
    transform: rotate(90deg);
}
.modal-form .btn-close svg {
    width: 18px;
    height: 18px;
}
body.open-modal {
    overflow: hidden;
}
