.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #e0e0e0;

    border-radius: 12px;
    background: linear-gradient(
            3.33deg,
            rgba(226, 239, 244, 0.71) 5.87%,
            rgba(226, 239, 244, 0.5254) 54.03%,
            rgba(255, 255, 255, 0) 97.07%
        ),
        linear-gradient(156.34deg, #ffffff 54.44%, #ffffff 114.42%);
    width: 90%;
    max-width: 768px;
    max-height: 95dvh;
    overflow-y: auto;
    height: fit-content;
    padding: clamp(0rem, -0.7212rem + 3.2051vw, 3.125rem);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: none;
    padding: 30px 30px 20px 30px;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-weight: 600;
    font-size: 1.5rem;
}

.modal-close {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    width: 30px;
    height: 30px;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-close svg {
    width: 100%;
    height: 100%;
}
