.bg-popup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 1001;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.5);
}

.box-popup {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    /*width: 580px;*/
    width: 38vw;
    padding: 40px 30px;
    border-radius: 10px;
    border: none;
    background-color: var(--svetla-zelena);
    color: var(--crna);
    text-align: center;
    z-index: 1002;
    max-height: 100vh;
    overflow: auto;
    max-width: 980px;
}

.title-popup {
    font: var(--montSeratRegularSubTitle);
    margin-bottom: 40px;
}

.edit-profile-password .title-popup {
    margin-bottom: 20px;
}

.subtitle-popup {
    font: var(--montSeratRegularSubTitleAdjusted);
    margin: 0 0 20px 28px;
    text-align: left;
}

.body-popup {
    font: var(--openSansRegular);
    font-size: 13px;
}

.body-popup > div {
    display: flex;
    align-items: center;
    justify-content: center;
    /*height: 35px;*/
    margin-bottom: 10px;
}

.change-username {
    margin-bottom: 30px !important;
}
.repeat-password{
    margin-bottom:30px !important;
}

.edit-profile-labels {
    text-align: left;
    width: 150px;
}

.box-popup input {
    height: 30px;
    width: 300px;
    border: none;
    border-radius: 5px;
    padding-left: 10px;
}

#new-pwd, #repeat-pwd {
    border: 1.5px solid transparent;
}

.input-field.error-border {
    border: 1.5px solid var(--error-red) !important;
}

.req-not-met {
    color: var(--error-red);
}

.no-match {
    margin-top: -23px !important;
}

/*
@media only screen and (max-width: 1500px) {
    .toggle-show-pwd-container {
        right: 15%;
        height: 100%;
    }
}

@media only screen and (min-width: 1501px) and (max-width: 2000px) {
    .toggle-show-pwd-container {
        right: 17%;
        height: 100%;
    }
}

@media only screen and (min-width: 2001px) {
    .toggle-show-pwd-container {
        right: 20%;
        height: 100%;
    }
}
*/
.toggle-show-pwd-container{
    height: 100%;
    right: 3px;
}
.toggle-show-pwd {
    height: 100%;
    width: 27px;
}

.length-requirement, .repeat-requirement {
    height: 10px !important;
    font-size: 11px;
    margin: -5px 0 12px 65px;
}

.repeat-requirement {
    position: absolute;
    margin-left: 260px !important;
}

#edit-profile .popup-buttons {
    margin-top: 50px;
}

.popup-button, .popup-button#save {
    border: none;
    border-radius: 10px;
    width: 110px;
    height: 40px;
    margin: 0 10px;
    background-color: var(--srednja-zelena);
    cursor: pointer;
}

.popup-button:enabled:hover, .popup-button#save:enabled:hover {
    background-color: var(--temna-zelena);
    color: var(--bela);
}

.failed-validation-msg > div {
    height: 20px;
    margin-bottom: 5px;
}

.failed-validation-msg > div:first-child {
    margin-top: 15px;
}

.box-popup.success-popup {
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1003;
    width: inherit;
    height: inherit;
}

/* Edit profile - response pop-up */

.bg-popup.edit-profile-response {
    z-index: 1005;
}

.edit-profile-response .box-popup {
    box-sizing: border-box;
    width: 400px;
    padding: 35px 30px;
    align-items: center;
    justify-content: space-evenly;
}

.edit-profile-response .popup-message {
    font: var(--semiBold);
    margin: 10px 0;
    line-height: 20px;
}

#edit-response-button {
    align-items: center;
}

.textarea-register {
    display: inline-block;
    border-radius: 5px;
    /* Border is transparent. This is so contents do not shift when an error view is added. */
    border: 2px solid rgba(255, 255, 255, 0);
    margin-bottom: 10px;
    letter-spacing: 1.4px;
    padding-left: 10px;
    vertical-align: middle;
    font: var(--openSansRegular) !important;
    color: var(--crna) !important;
    outline: none;
}

.barcodes-textarea-register {
    line-height: 24px;
    resize: none;
    min-height: 28px !important;
    overflow-wrap: break-word; /* Allow words to break and wrap to the next line */
    white-space: pre-wrap !important;
    /*max-height: 100px !important;*/
}

/* GDPR classes. */

.gdpr-body {
    text-align: left !important;
    padding-left: 30px;
}

.gdpr-text {
    /*font-family: Montserrat-Regular;*/
    font-size: 11px;
    color: var(--crna);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.gdpr-show-more {
    /*font-family: OpenSans-Regular;*/
    font-size: 10px;
    color: var(--temna-siva);
    font-style: italic;
    font-weight: 400;
    line-height: normal;
    cursor: pointer;
    text-decoration: underline;
}