body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    align-items: center;
    margin-bottom: 20px; 
}

.settings-link {
    font-size: 24px;
    text-decoration: none;
    color: #333;
    margin-left: auto; 
}

.settings-link:hover {
    color: #007BFF;
}

#chat-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    max-width: 600px;
    width: 100%;
    height: 500px; /* Fixed height */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#chat {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
}

.message {
    margin: 10px 0;
}

.message.user {
    text-align: right;
}

.message.bot {
    text-align: left;
    color: #007BFF;
}

.input-container {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 10px;
    background: #f9f9f9;
}

#query {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    border-radius: 4px;
    background-color: #007BFF;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

h1 {
    color: #333;
}

label {
    font-weight: bold;
}

#admin-container {
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

#admin-container label,
#admin-container input {
    display: block;
    margin-bottom: 10px;
    width: 100%;
    max-width: 600px;
}

button:hover {
    background-color: #45a049;
}

a {
    display: block;
    margin-top: 10px;
    color: #4CAF50;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.admin-link {
    display: block;
    margin-top: 20px;
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.admin-link:hover {
    text-decoration: underline;
}