*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


.save{
    margin-top: 10px;
}


.modal.fade::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(0); /* Изначально без размытия */
    background: rgba(0, 0, 0, 0); /* Изначально без затемнения */
     pointer-events: none; /* Позволяет кликам проходить через этот элемент */
    transition: backdrop-filter 1s ease, background 1s ease; /* Плавный переход */
}
.modal-content{
    outline: none;
    border: none;
}
.modal.show::before {
    backdrop-filter: blur(10px); /* Размытие */

}



.customContainer {
     width: 100%;
     height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     column-gap: 30px;
 }



.form{
    position: absolute;
    max-width: 550px;
    width: 100%;
    padding: 30px;
    border-radius: 16px;
    font-weight: 600;
    background-color: rgba(0,0,0, 0.2);
}

form{
    margin-top: 50px;
}
.form .field{
    position: relative;
    height: 40px;
    width: 100%;
    margin-top: 10px;
}
.field input,
.field button{
    height: 100%;
    width: 100%;
    border: none;

}
.field input{
    background: rgba(1,1,1, 0.2);
    color: white;
    outline: none;
    padding: 0 15px;
    border-radius: 8px;
    font-weight: 500;
}

.field input:focus{
    border-bottom-width: 1px;
}
.eye-icon{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #8b8b8b;
    cursor: pointer;
    padding: 5px;
}
.field button{
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 15px;
}

.form-link{
    text-align: center;
    margin-top: 10px;
}

.titleText{
    color: white;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
}
.form a{
    color: white;
    text-decoration: none;
}
.form-content a:hover{
    opacity: 0.8;
}

.media-options a{
    display: flex;
    align-items: center;
    justify-content: center;
}

body.index-page .customContainer.forms {
    min-height: calc(100vh - 180px);
    height: auto;
    padding: 132px 18px 38px;
}

body.index-page .form.recover {
    position: relative;
    max-width: 560px;
    border: 1px solid rgba(255, 214, 214, 0.14);
    background: linear-gradient(180deg, rgba(23, 24, 26, 0.82) 0%, rgba(17, 18, 20, 0.86) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 230, 230, 0.03), 0 18px 42px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.index-page .form.recover img.brand-logo-img {
    width: 84px;
    height: auto;
}

body.index-page .titleText {
    color: #fff4f4;
    font-weight: 400;
}

body.index-page #result {
    color: rgba(255, 238, 238, 0.84);
}

body.index-page .field input {
    border: 1px solid rgba(255, 214, 214, 0.12);
    background: linear-gradient(180deg, rgba(34, 16, 16, 0.9) 0%, rgba(17, 18, 20, 0.82) 100%);
    color: #fff4f4;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.index-page .field input::placeholder {
    color: rgba(255, 224, 224, 0.46);
}

body.index-page .field input:focus {
    border-color: rgba(237, 69, 97, 0.34);
}

body.index-page .field button,
body.index-page .btn-getstarted,
body.index-page .btn-getstarted:hover,
body.index-page .btn-getstarted:focus,
body.index-page .btn-getstarted:focus:hover {
    color: #ffffff !important;
    background: linear-gradient(180deg, #ed4561 0%, #ef6179 100%) !important;
    border: 1px solid rgba(255, 214, 214, 0.24) !important;
    box-shadow: 0 14px 32px rgba(237, 69, 97, 0.16);
}

body.index-page .form a {
    color: rgba(255, 240, 240, 0.82);
}

body.index-page .recoverbutton {
    color: #ff8a8a !important;
}

@media (max-width: 767px) {
    body.index-page .customContainer.forms {
        padding-top: 120px;
        padding-bottom: 24px;
    }

    body.index-page .form.recover {
        padding: 24px 20px;
    }
}
