.tabs_profile .tab_photos .list_photos_private .password-icon-container .icon_password_wrap,
.tabs_profile .tab_photos .list_photos_private .password-icon-container .icon_password_wrap img {
    display: block;
    width: 32px;
    height: 32px;
}

.tabs_profile .tab_photos .list_photos_private .photo_password_watermark,
.tabs_profile .tab_photos .list_photos_private .photo_password_watermark img {
    display: block;
}

.tabs_profile .tab_photos .password_protected.guest_lock {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(255, 255, 255);
    z-index: 9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tabs_profile .tab_photos .password_protected.guest_lock img {
    display: block;
    width: 100px;
    height: 100px;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.tabs_profile .tab_photos .locked-photo img.photo {
    display: none !important;
}

.error-field {
    border: 1px solid #ff0000 !important;
}

.top-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 100001;
    max-width: 80%;
    text-align: center;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.top-message .message-content {
    flex-grow: 1;
    padding-right: 15px;
}

.top-message .close-btn {
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.custom-password-dialog,
.password_dialog {
    z-index: 100000 !important;
}

.pp_photos .cont .bl_carousel .pp_photos_carousel_item.password_locked .pp_photos_carousel_link {
    opacity: 1 !important;
    background: rgb(255, 255, 255) center center / 28px no-repeat url(../images/password_protected_photo.svg);
}

.pp_photos .cont .bl_carousel .pp_photos_carousel_item.password_locked img {
    opacity: 0.15;
}

.photo-password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99998;
}

.photo-password-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    width: 320px;
    max-width: 92%;
    box-sizing: border-box;
}

.photo-password-dialog__title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: bold;
    color: #212121;
    text-align: center;
}

.photo-password-dialog__message {
    margin: 0 0 20px;
    font-size: 14px;
    color: #757575;
    text-align: center;
    line-height: 1.4;
}

.photo-password-dialog__input {
    display: block;
    width: 100%;
    height: 48px;
    margin-bottom: 12px;
    padding: 0 16px;
    font-size: 16px;
    color: #212121;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

.photo-password-dialog__input.error-field {
    border-color: #f44336;
}

.photo-password-dialog__error {
    display: none;
    margin: 0 0 12px;
    font-size: 12px;
    color: #f44336;
    text-align: center;
}

.photo-password-dialog__btn {
    display: block;
    width: 100%;
    height: 48px;
    margin-bottom: 8px;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

.photo-password-dialog__btn:last-child {
    margin-bottom: 0;
}

.photo-password-dialog__btn--green {
    background: #04ba0a;
}

.photo-password-dialog__btn--green:disabled {
    background: #9ccc9e;
    cursor: default;
}

.photo-password-dialog__btn--blue {
    background: #2196f3;
}

.photo-password-dialog__btn--cancel {
    background: #ff0000;
}
