:root {
  --primary-color: #ff2300;
  --secondary-color: #001327;
  --white: #fff;
  --light-gray: #ccc;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Header Styles */
.header {
  background-color: var(--white);
  padding: 0.7rem;
}

.logo svg {
  height: 2.5rem;
  width: auto;
}

/* Main Content Styles */
main {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  color: var(--secondary-color);
}

/* Message Styles */
#messages .toast-container {
  margin-bottom: 0.75rem;
}

.background-user {
  background-color: var(--primary-color);
}

.background-assistant {
  background-color: var(--secondary-color);
}

/* Chat Input Area Styles */
#chat-area {
  background-color: var(--white);
  border-radius: 0.5rem;
}

.form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--primary-color);
}

.button {
  background-color: var(--primary-color);
  color: var(--white);
}

.button:hover,
.button:focus,
.button:active,
.button.active {
  background-color: var(--primary-color);
  opacity: 0.8;
  color: var(--white);
}

/* Side Panel Styles */
.slide-in {
  width: 0;
  height: 100%;
  padding: 0;
  background-color: var(--secondary-color);
  color: var(--white);
  overflow-x: hidden;
  white-space: nowrap;
  transition: all 0.3s ease;
  z-index: 100;
}

.slide-in.show {
  width: 18.75rem;
  padding: 0.625rem;
  overflow-y: auto;
}

.message-content li p {
  margin-bottom: 0;
}

/* Footer Styles */
.footer {
  background-color: var(--secondary-color);
  padding: 0.7rem;
  font-size: 0.9rem;
  color: var(--white);
}

.copyright {
  color: var(--primary-color);
  text-decoration: none;
}

/* Responsive Styles */
@media screen and (max-width: 640px) {
  .slide-in {
    width: 0;
    position: absolute;
  }

  .slide-in.show {
    width: 100%;
    position: absolute;
  }
}

@media screen and (max-width: 425px) {
  #messages {
    padding-inline: 0 !important;
  }
  .footer {
    font-size: smaller;
  }
}
