
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #080d1c;
  color: white;
  font-family: Arial, sans-serif;
}

header {
  text-align: center;
  padding: 24px 10px;
  background: #121c37;
}

header h1 {
  color: #72b8ff;
}

header p {
  color: #aabbd7;
}

#status {
  color: #55df9b;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px;
}

button {
  background: #2866bd;
  color: white;
  border: 0;
  border-radius: 9px;
  padding: 12px;
  cursor: pointer;
}

main {
  height: 55vh;
  overflow-y: auto;
  padding: 15px;
}

.bot, .user {
  padding: 13px;
  margin: 10px 0;
  border-radius: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.bot {
  background: #172442;
}

.user {
  background: #245ba5;
  margin-left: 35px;
}

footer {
  position: fixed;
  bottom: 0;
  display: flex;
  width: 100%;
  gap: 7px;
  padding: 12px;
  background: #101a30;
}

input {
  min-width: 0;
  flex: 1;
  padding: 12px;
  border-radius: 9px;
  border: 1px solid #405274;
  background: #18243d;
  color: white;
}

#imageBox {
  padding: 15px;
  padding-bottom: 90px;
}

#generatedImage {
  width: 100%;
  margin-top: 15px;
  border-radius: 12px;
}
