.button-send-message {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    background: #4a7dff;
    color: white;
    padding: 0.1em 0.4em;
    padding-left: 0.3em;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

.button-send-message span {
    display: block;
    margin-left: 0.3em;
    transition: all 0.3s ease-in-out;
}

.button-send-message svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}

/*button:hover .svg-wrapper {*/
/*    animation: fly-1 0.6s ease-in-out infinite alternate;*/
/*}*/

/*button:hover svg {*/
/*    transform: translateX(0.0em) rotate(45deg) scale(1.1);*/
/*}*/

/*button:hover span {*/
/*    transform: translateX(5em);*/
/*}*/

/*button:active {*/
/*    transform: scale(0.95);*/
/*}*/

@keyframes fly-1 {
    from {
        transform: translateY(0.1em);
    }

    to {
        transform: translateY(-0.1em);
    }
}

/* Стили для индикатора "размышления" */
.thinking-indicator {
    padding: 15px;
}

.thinking-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #aaa;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.profile-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.top-controls {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 16px;
}

.top-controls .button-icons {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.top-controls .button-icons:hover {
    background-color: #f5f5f5;
}

.top-controls .button-icons svg {
    color: #333;
}

.menu-button{
    display: block;
}

.menu-button.hide{
    display: none;
}