@import "../utils/chat_variables.less";
.chatFooter {
    padding: 0.6em 1em;
    border-top: var(--chat-footer-border);
    box-shadow: var(--chat-footer-box-shadow);
    position: sticky;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;

    &__form {
        margin-bottom: 0.5em;
    }
}


.inputGroup {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    &__textInputWrapper {
        flex-grow: 1;
        display: flex;
        align-items: center;
        border-radius: 1.5rem;
        padding: 0.5rem 1rem;
        min-height: 48px;
    }

    &__textInput {
        width: 100%;
        padding: 0.8rem;
        border: 2px solid #ccc;
        border-radius: 4px;
        background-color: var(--chat-footer-input-bg-color);
        resize: none;

        &::placeholder {
            color: var(--chat-footer-input-placeholder-color);
        }
    }

    &__accessoryIcons {
        display: flex;
        gap: 0.4em;
    }

    &__iconBtn {
        background: none;
        border: none;
        color: var(--chat-footer-icon-btn-color);
        cursor: pointer;
        padding: 0.6em;
        transition: color 0.2s;

        &:hover {
            color: var(--chat-footer-icon-btn-color-hover);
        }
    }

    &__sendBtn {
        background-color: var(--chat-footer-send-button-bg-color);
        color: var(--chat-footer-send-button-color);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 20px;
        font-weight: bold;
        cursor: not-allowed;
        transition: background-color 0.2s, color 0.2s;
        display: flex;
        justify-content: center;
        align-items: center;

        &--active {
            background-color: var(--chat-footer-send-button-active-bg-color);
            color: var(--chat-footer-send-button-active-color);
            cursor: pointer;

            &:hover {
                background-color: var(--chat-footer-send-button-active-bg-color-hover);
            }
        }
    }
}
