Jaita's picture
Rename App.css to src/App.css
2fb4edd verified
body {
background-color: #f4f7f6;
margin: 0;
}
.App {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
height: 100vh;
padding: 20px;
box-sizing: border-box;
}
h1 {
color: #333;
}
.chat-window {
width: 100%;
max-width: 600px;
height: 80vh;
border: 1px solid #e0e0e0;
border-radius: 12px;
overflow-y: auto;
padding: 16px;
margin-bottom: 20px;
display: flex;
flex-direction: column;
gap: 12px;
background-color: white;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.message {
padding: 10px 16px;
border-radius: 20px;
max-width: 75%;
word-wrap: break-word;
line-height: 1.5;
}
.user {
background-color: #007bff;
color: white;
align-self: flex-end;
border-bottom-right-radius: 4px;
}
.bot, .error {
background-color: #e9e9eb;
color: #333;
align-self: flex-start;
border-bottom-left-radius: 4px;
}
.error {
background-color: #f8d7da;
color: #721c24;
}
.chat-form {
display: flex;
width: 100%;
max-width: 600px;
}
input[type="text"] {
flex-grow: 1;
padding: 12px;
border: 1px solid #ccc;
border-radius: 8px;
margin-right: 10px;
font-size: 1rem;
}
button {
padding: 12px 24px;
border: none;
border-radius: 8px;
background-color: #007bff;
color: white;
cursor: pointer;
font-size: 1rem;
transition: background-color 0.2s;
}
button:hover {
background-color: #0056b3;
}
button:disabled {
background-color: #cccccc;
cursor: not-allowed;
}
.header {
display: flex;
flex-direction: row; /* Stack logo above text */
align-items: center; /* Center horizontally */
justify-content: center;
/*background-color: #ffffff; /* White background */
padding: 5px 0; /* Vertical padding */
border-bottom: 1px solid #e0e0e0; /* Light gray divider */
}
.logo {
width: 40px; /* Adjust size of logo */
height: 40px;
margin-right: 7px;
/*margin-bottom: 8px; /* Space between logo and text */
}
.header h1 {
font-size: 24px;
font-weight: 700; /* Bold */
color: #333333; /* Dark gray text */
text-transform: uppercase; /* Make NOVA uppercase */
margin: 0;
}