
    /* окно с инструкцие-объяснением */

.Ai_modal_instructions{
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.471);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Roboto", sans-serif;
}
.instructions_container{
    width: 400px;
    /* height: 500px; */
    background-color: white;
    border-radius: 15px;
    position: relative;
}
#icon_close_modal_instructions{
    width: 28px;
    position: absolute;
    right: 10px;    
    top: 10px;
    cursor: pointer;
}
.instructions_block h2{
    margin-top: 5px;
    margin-bottom: 0;
}
.instructions_block{
    padding: 10px 15px;

}
.instructions_nav{
    height: 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #122538 url(../image/nav_bg.png);
    padding: 10px 20px;
    border-radius: 15px 15px 0px 0px;
}
.instruc_btn_box{
    display: flex;
    align-items: center;
    gap: 10px;
}

.instructions_btn{
    color: #dcdcdc;
    border: 1.5px solid #dcdcdc;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
}
.instructions_btn:hover{
    color: #122538;
    background-color: #eaeaea;
    font-weight: 500;
    transition: all .3s;
}
.instructions_btn_active{
    color: #122538;
    background-color: #eaeaea;
    font-weight: 500;
}
.display_none{
    display: none;
}

.loader {
  width: 25px;
  height: 25px;
  border: 3px solid #ccc;       /* светлый круг */
  border-top: 3px solid grey; /* цветная часть */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* сама анимация */
@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}