body {
    font-family: sans-serif;
}

p {
    font-size: 1em;
}

p.link-policy {
    text-align: right;
}

p.link-policy span {
    color: #005B94;
    cursor: pointer;
}

.chat-box {
    width: 100%;
    background-color: #f7f7f8;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: height 0.5s ease;
    overflow: hidden;
    font-size: 1em;
}

.chat-conversation {
    flex-grow: 1;
    overflow-y: auto;
    flex-direction: column;
    padding: 10px 0;
    display: flex;
    margin-bottom: 20px;
}

.chat-message {
    background-color: #e0e7ff;
    color: #333;
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 10px;
    max-width: 75%;
    word-wrap: break-word;
    align-self: flex-start;
    animation: fadeIn 0.3s ease;
}

.chat-user-message {
    color: white;
    align-self: flex-end;
    border-radius: 8px 8px 0px 8px !important;
    text-align: right;
    margin-right: 10px;
}

.chat-bot-message {
    background-color: #97c1e0 !important;
    color: black;
    align-self: flex-start;
    border-radius: 0px 8px 8px 8px !important;
    text-align: left;
    float: left;
    margin-left: 10px;
}

.chat-waiting {
    display: flex;
    align-items: center;
}

.chat-input-area {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    border-radius: 15px !important;
    padding: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.chat-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 15px !important;
    outline: none;
    height: 100%;
    font-size: 1.1em;
}

.chat-input::placeholder {
    /*font-size: 1em;*/
}

.chat-button {
    width: 100px;
    height: 80px;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    transition: background-color 0.3s ease;
    border-radius: 15px !important;
}

.waiting_text {
    font-style: italic;
    float: right;
    margin-left: 1em;
}

.chat-button.remove {
    background-color: #ff4d4d;
}

.chat-button.remove:disabled {
    background-color: #ff4d4dA0;
}

.recording-microphone {
    text-align: center;
    font-style: italic;
}

.arrow-up {
    display: inline-block;
    font-size: 1.5em;
    color: white;
}

.img-logo-chat {
    max-width: 35px;
    max-height: 35px;
    float: left;
}

.img-loading-response {
    max-width: 50px;
}

.div_informar_problema {
    width: fit-content;
    background-color: indianred;
    border-radius: 5px !important;
    padding: 4px;
    cursor: pointer;
    float: right;
}

.span_informar_problema_general {
    color: aliceblue;
}

.span_informar_problema_text {
    margin-left: 5px;
}

.div_informar_problema_general {
    margin-top: 10px;
    display: none;
}

.informar_problema_text_informat {
    float: right;
    width: fit-content;
    margin-right: 10px;
    padding: 5px;
    display: none;
    color: forestgreen;
}

.audio_chat {
    cursor: pointer;
    width: fit-content;
}

.popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 40px;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 20px;
}

.popup div {
    width: 100%;
    height: 100%;
    overflow: auto;
}

@media (orientation: landscape) {
    .popup {
        width: 60%;
        height: 50%;
    }
}

@media (orientation: portrait) {
    .popup {
        width: 70%;
        height: 70%;
    }
}

.popup-overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}