html {
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.footer {
    white-space: nowrap;
    /*line-height: 60px;*/
}


/* стили пузырьков */
.my-msg {
    justify-content: flex-end;
}

.other-msg {
    justify-content: flex-start;
}

.msg-content {
    /*max-width: 70%;*/
    word-wrap: break-word;
}

.my-msg .msg-content {
    text-align: right;
}

.other-msg .msg-content {
    text-align: left;
}

#chat-container {
    display: flex;
    flex-direction: column;
    min-height: 50vh;
    max-height: 90vh; /* вся высота окна */
}

#chat-window {
    flex: 1; /* занимает всё доступное пространство */
    overflow-y: auto;
    /*border-left: solid 1px;*/
    padding: 10px;
}

.input-group {
    flex-shrink: 0; /* фиксированная панель ввода */
}

.hero-section {
    background: url('../img/home/background.png') center/cover no-repeat;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.link-note {
    font-size: 0.7em;
    vertical-align: super;
}