body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

h1 {
    color: #ffffff;
}

.main-container {
    display: flex;
    height: 100vh;
    background-color: #1a1a1a;
    flex-direction: column;
}

.robot-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2e2e2e;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    z-index: 1;
}

.robot-image {
    max-width: 100%;
    height: auto;
}

.chat-container {
    margin-left: 30%;  /* El resto del espacio lo ocupa el chat */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 70%;
    background-color: #1a1a1a;
    padding: 20px;
}

.chat-box {
    width: 90%;
    height: 60vh;
    background-color: #2e2e2e;
    padding: 10px;
    border-radius: 10px;
    overflow-y: scroll;
    margin-bottom: 10px;
    color: white;
}

.message {
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.message .text {
    background-color: #3e3e3e;
    padding: 10px;
    border-radius: 5px;
    max-width: 80%;
}

.message.user .text {
    background-color: #007bff;
    color: white;
}

.input-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.record-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

.mic-icon {
    width: 50px;
    height: 50px;
}

.chat-container.recording {
    background-color: #ff4c4c;
}
