#myModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--modal-overlay);
    z-index: 2000;
    display: none;
}

#myModal .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 92%;
    max-width: 820px;
    padding: 20px 20px 0;
}

#myModal h2 {
    color: #000;
    background-color: var(--primary-blue);
    margin: 0;
    padding: 12px;
}

#myModal .close {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #757575;
    border: 1px solid #fff;
    color: #fff;
    padding: 2px 9px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 2px 2px 3px #757575;
}

#myModal .close:hover {
    background-color: #5c5c5c;
}

.modal-footer {
    min-height: 80px;
    display: flex;
    padding: 20px 0;
    gap: 20px;
}

#myModal .modal-footer input[type="button"] {
    background: var(--primary-blue);
    color: #000;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    padding: 0 10px;
    height: 50px;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease-out, color 0.15s ease-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#myModal .modal-footer input[type="button"]:hover {
    background: var(--primary-blue-hover);
}
