/* welcome.css */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Arial';
}

#welcome {
    width: 100%;
    object-fit: cover;
}

.button-container {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-around;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1;
}

.welcome-button {
    background-color: #f8f9fa;
    border: 2px solid #152e4c;
    width: 25%;
    height: 70px;
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: 0.3s;
    box-sizing: border-box;
    box-shadow: -4px 4px 5px rgba(0, 0, 0, 0.5);
    color: #152e4c; /* Цвет текста */
}

.welcome-button:hover {
    background-color: #152e4c;
    color: #ffffff;
    border: 2px solid #152e4c;
    box-shadow: -4px 4px 6px rgba(0, 0, 0, 0.6);
}

#pattern-count {
    display: inline; 
}

#bottom-panel {
    display: flex;
    justify-content: space-around;
    background-color: #152e4c;
    color: white;
    box-sizing: border-box;
    height: 40%;
    width: 100%;
    position: absolute;
    bottom: 0;
}

#bottom-panel span {
    width: 25%;
    padding: 5px;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.first-indent-list {
    text-align: left;
    padding-left: -35px; 
}

#user-container {
    left: 7%;
    position: absolute;
    bottom: 5.5%;  
    color: white;
    z-index: 2;
}

#user {
    color: white;
    font-size: 1em;
    font-weight: bold;
    text-align: right;
    line-height: 60px;
}

#user_photo {
    height: 40px;
    width: 40px;
    margin-left: 20px; /* Отступ между именем и фото */
}

.user-info {
    display: flex;
    align-items: center;
    margin-left: auto; /* Прижимаем блок с пользователем к правому краю */
    margin-right: 12px; /* Отступ справа */
}

/* #login {
    margin-bottom: 2px;
} */

#logout {
    margin-left: 12px;
}

.user-info .left-btn {
    margin-top: 0;
}

/* Стили для всплывающего сообщения */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 80px;
    height: 40px;
    background-color: #152e4c;
    color: #fff;
    text-align: center;
    font-size: 12 px;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    z-index: 1;
    top: 40px; /* сдвигамем подсказку ниже */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    line-height: 25px;
    font-style: bold;
}

/* Показ всплывающего сообщения при наведении */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.tooltip .tooltiptextGlass {
    visibility: hidden;
    width: 220px;
    height: 60px;
    background-color: #152e4c;
    color: #fff;
    text-align: center;
    font-size: 18px;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    z-index: 1;
    top: 2px; 
    right: -40%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    line-height: 25px;
    font-style: bold;
}

/* Показ всплывающего сообщения при наведении */
.tooltip:hover .tooltiptextGlass {
    visibility: visible;
    opacity: 1;
}

#newPassword.invalid {
    border: 2px solid red;
}

#newPassword.valid {
    border: 2px solid green;
}

input.valid {
    border: 2px solid green;
}

input.invalid {
    border: 2px solid red;
}

.second-indent-list {
    text-align: left;
    padding-left: 25px; 
}

.third-indent-list {
    text-align: left;
    padding-left: 10px; 
}

#hesitate {
    text-align: left;
    margin-left: -25px;     
}

#copyright {
    text-align: left;
    margin-left: -25px;     
}

#terms-policy {
    text-align: left;
    margin-left: 15px; 
    color: white;     
}