#userContainerModal A:hover {
    color: #1f6f9d;
    background:
            linear-gradient(135deg, rgba(103, 166, 197, 0.16), rgba(124, 124, 255, 0.12));
    transform: translateX(4px);
    box-shadow: inset 0 0 0 1px rgba(103, 166, 197, 0.12);
}


#userContainerModal {
    display: none;
}

#userContainer {
    align-items: center;
    justify-content: center;
    cursor: pointer;
    display: flex;
    margin: 0 15px;
    color: #5d5d5d;
    height: 28px;
    width: 28px;
    padding: 3px;
    background: rgb(189 214 237 / 15%);
    border: 1px solid #bdd6ed;
    border-radius: 50%;
}

#userContainer span {
    font-style: normal;
    /*    margin: 0 1px 0 2px;*/
    color: #95b9db;
}

#userContainer img {
    height: 20px;
    margin-bottom: 4px;
}

#userContainerModal {
    z-index: 10;
    font-family: Comfortaa;
    position: absolute;
    right: 10px;
    top: 60px;
    width: auto;
    flex-direction: column;
    align-items: flex-end;
    box-sizing: border-box;

    padding: 25px;
    font-size: 14px;
    color: #4199c5;
    background: #fff;

    border-radius: 24px;
    border: 1px solid rgba(128, 175, 229, 0.3);
    box-shadow:
        /* Лёгкий подъём вверх */
            0 -4px 20px -6px rgba(126, 174, 227, 0.4),
            0 -12px 32px -10px rgba(126, 174, 227, 0.1),

                /* Основной объём снизу */
            0 14px 28px -8px rgba(126, 174, 227, 0.32),
            0 4px 10px -3px rgba(0, 0, 0, 0.07),

                /* Внутренний блик */
            inset 0 2px 0 rgba(255, 255, 255, 0.9);
}

#userContainerModal A {
    margin-top: 5px;
    min-height: 42px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    border-radius: 15px;

    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.2px;
    cursor: pointer;
    transition: 0.22s ease;
    user-select: none;

    outline: none;
    width: auto;

    text-decoration: none;
    color: #4199c5
}

#userContainerModal P {
    font-size: 18px;
}

#userContainerModal P span {
    color: #bebebe;
    margin-right: 10px
}

#userContainerModal P:not(:first-child) {
    margin-top: 24px;
}


#userContainerModal A:active {
    transform: scale(0.8);
}

#userContainerModal A.disabled {
    opacity: 0.5;
}

#userContainerModal A.disabled:active {
    transform: none;
}

#userContainerModal .subscription_expired {
    color: #eb3b5a;
}
#userContainerModal P.subscription_expired {
    margin-top: 10px;
}

#profileForm, #profileDeleteConfirm {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 10px;
    top: 60px;
    z-index: 10;
    width: max-content;
    height: max-content;
    padding: 20px;
    font-size: 14px;
    color: #6f6f6f;
    background: #fff;


    border-radius: 20px;
    border: 1px solid rgba(128, 175, 229, 0.3);
    box-shadow:
        /* Лёгкий подъём вверх */
            0 -4px 20px -6px rgba(126, 174, 227, 0.4),
            0 -12px 32px -10px rgba(126, 174, 227, 0.1),

                /* Основной объём снизу */
            0 14px 28px -8px rgba(126, 174, 227, 0.32),
            0 4px 10px -3px rgba(0, 0, 0, 0.07),

                /* Внутренний блик */
            inset 0 2px 0 rgba(255, 255, 255, 0.9);


}

#profileDeleteConfirm {
    padding: 35px 35px 10px 25px;
    font-size: 16px;
    line-height: 25px;
    max-width: 400px;
    top: 20%;
}

#profileForm {
    transform: none;
    width: auto;
    max-width: 495px;
}
.profile_list {
    color: #56719a;
    padding-bottom: 10px;
}
.profile_list :disabled {
    opacity: 0.7;
}
.profile_list .text_message {
    display: none;
    margin-bottom: 10px;
    text-align: center;
}
.profile_list .text_message.error {
    padding-top: 10px;
    color: #eb3b5a;
}
.profile_list .text_message.success {
    color: #20bf6b;
}
.profile_list .form_control {
    display: flex;
    align-items: center;
}
.profile_list INPUT {
    margin-top: 9px;
    margin-right: 15px;
    width: 300px;
    border: 1px solid #a3c6f8;
    border-radius: 5px;
    height: 25px;
    padding-left: 5px;
}
.profile_list:last-child {
    display: flex;
    justify-content: space-around;
}

#deleteAccountConfirmBox {
    margin-left: 5px;
    margin-right: 20px;
    margin-top: 3px;
    width: 15px;
}

.accButton,
.profile_list BUTTON {
    font-family: "Comfortaa";
    text-align: center;
    border-radius: 8px;
    min-width: 100px;

    transition: .2s;
    margin-top: 10px;
    outline: 0;
    border: 1px solid;
    border-color: #bad2dd;
    padding: 6px 14px;
    background-color: #fff;
    font-size: 16px;
    color: #4199c5;
    font-weight: 700;
    cursor: pointer;
}

#closeProfileForm {
    font-size: 16px;
    padding: 6px;
    background-color: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-weight: bolder;
    color: #bec4cb;
}

.profile_list BUTTON.danger {
    color: #eb3b5a;
    border-color: #eb3b5a;
}

.closeProfile {
    position: absolute;
    cursor: pointer;
    opacity: 1;
    top: -12px;
    right: -12px;
    padding: 1px;
    background-color: #fcfdfd;
    border: 1px solid #a4c2e3;
    border-radius: 50%;
}

#profileForm .profile_list:nth-child(2) {
    border-bottom: 1px dotted #d2d2d2;
}

#profileForm .profile_list:last-child {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #d2d2d2;
}

#profileForm .profile_list:nth-child(4) {
    padding-bottom: 0;
}

#stayButton {
    position: unset;
    color: #488f53;
    border-color: #488f53;
}

.language-switcher { display: none; gap: 10px; align-items: center; margin-left: 20px; }
.language-switcher button { background: #485460; color: #fff; border: none; padding: 5px 10px; border-radius: 4px; cursor: pointer; }
.language-switcher button.active { background: #05c46b; }

.coolPopup {
    position: fixed;
    top: 10%;
    left: 50%;

    flex-direction: column;

    width: max-content;
    padding: 33px 28px 20px 22px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid rgb(224 224 224 / 80%);
    box-shadow: 0 -4px 20px -6px rgba(126, 174, 227, 0.4), 0 -12px 32px -10px rgba(126, 174, 227, 0.1), 0 14px 28px -8px rgba(126, 174, 227, 0.32), 0 4px 10px -3px rgba(0, 0, 0, 0.07), inset 0 2px 0 rgba(255, 255, 255, 0.9);
    font-family: system-ui, -apple-system, sans-serif;
    color: #0f172a;
}

.alertHeader,
#confirmRowPrintEmail {
    display: flex;
    justify-content: center;
}

.alertHeader {
    font-weight: bold;
}

.alertBottom {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.appButton {
    transition: 0.2s;
    outline: none;

    border: none;
    box-shadow: 2px 2px 6px 1px #e0e0e0;

    padding: 6px 14px;
    background-color: white;
    font-size: 16px;
    color: #4199c5;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

#newValidTill,
#newEmail {
    color: #1a60aa;
}

.new-alert-content .row {
    display: flex;
    padding: 10px;
}
.new-alert-content .row div{
    flex:1;
}
.new-alert-content a {
    color: dodgerblue;
}