/* Estilos generales */
body {
    margin: 0;
    padding: 0;
    background-color: #343541;
    color: #d1d5db;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Contenedor principal */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Formulario */
.form-container {
    background-color: #40414f;
    padding: 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #d1d5db;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="password"],
.input-group input[type="file"] {
    width: 100%;
    padding: 10px;
    background-color: #343541;
    border: 1px solid #565869;
    border-radius: 4px;
    color: #d1d5db;
}

.input-group input:focus {
    outline: none;
    border-color: #10a37f;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #10a37f;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #0e8c6f;
}

p {
    text-align: center;
    margin-top: 20px;
}

p a {
    color: #10a37f;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

.error {
    color: #ff4a4a;
    text-align: center;
    margin-bottom: 15px;
}

/* Chat */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.chat-header {
    background-color: #40414f;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h2 {
    margin: 0;
}

.chat-header .chat-options a {
    color: #d1d5db;
    text-decoration: none;
    margin-left: 15px;
}

.chat-header .chat-options a:hover {
    text-decoration: underline;
}

.chat-window {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #343541;
}

.message {
    display: flex;
    margin-bottom: 20px;
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 15px;
    border-radius: 8px;
    background-color: #40414f;
    color: #d1d5db;
    word-wrap: break-word;
}

.user-message .message-content {
    background-color: #10a37f;
    color: #ffffff;
}

.chat-input {
    background-color: #40414f;
    padding: 20px;
}

.chat-input form {
    display: flex;
}

.chat-input input[type="text"] {
    flex: 1;
    padding: 12px;
    background-color: #343541;
    border: 1px solid #565869;
    border-radius: 4px;
    color: #d1d5db;
}

.chat-input input[type="text"]:focus {
    outline: none;
    border-color: #10a37f;
}

.chat-input button {
    margin-left: 10px;
    padding: 12px 20px;
    background-color: #10a37f;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    cursor: pointer;
}

.chat-input button:hover {
    background-color: #0e8c6f;
}