.modal {
    display: block;
    position: fixed;
    z-index: 8;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    /*background-color: rgba(0, 0, 0, 0.4);*/
    padding: 3px; /*space around popup */
}

.modal-content {
    margin: 50px auto;
    padding: 40px;
    /*border: 5px solid blue; debug */
    /*width: 60%;*/
    /*color: var(--colorPopupText);*/
    background-color: var(--colorPopupBackground);
    /*background-color: white; /* Set the background color of the modal content */
    border-radius: 10px;
    text-align: center;
    position: relative;
}

/* When right container wraps, make left container use 100% width */
@media (max-width: 600px) {

    .modal-content,
    .modal {
        padding: 5px;
    }
}

.modal-content .close {
    position: absolute;
    top: 5px;
    right: 10px;

    color: lightgray;
    cursor: pointer;

    color: #aaa;
    float: right;
    font-size: 18px;
}

.modal-content .close:hover,
.modal-content .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/*------Add circle around close button (x)--------*/
.btn--circle-100 {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    border: gray 1px solid;
    font-size: 1.25rem;
}
/*--------------*/



.popup-form {
    /*display: flex;*/
    padding: 0;
    position: relative;
    /*border: 1px solid blue;*/
}
.popup-form h2,
.popup-form p {
    margin-bottom: 10px;
    font-weight: 400;
    /*color: #999;*/
}
.popup-form h2 {
    font-weight: bold;
    /*color: black;*/
}

.popup-form span {
    /*color: #666;*/
    display: block;
    padding: 0 0 5px;
}

.form-link a {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form-link a:hover {
    cursor: pointer;
}

.text-input {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    outline: none;
    resize: vertical; /* Enable horizontal resizing only */
    background-color: #f2f2f2; /* Light gray background color */
    margin-bottom: 10px;
}

.popup-form button {
/*    width: 100%;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 400;
    padding: 10px;*/
}

.popup-form button:hover {
    /*background: #2371a0;*/
    /*cursor: pointer;*/
    /*background: darkslategrey;*/
}

.password-container {
    position: relative;
    width: 100%;
    margin: 20px auto;
    background-color: #f2f2f2; /* Light gray background color */
}

.password-input {
    width: 100%;
    padding: 10px 20px 10px 30px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: transparent; /* Make input background transparent */
}

.locker-icon {
    left: 10px;
}

.eye-icon {
    right: 10px;
    cursor: pointer;
}

 .password-icon,
 .password-container .icon {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     font-size: 20px;
 }
