/* DjangoInterface/staticfiles/css/base.css */
:root {
    --accent: #8b3dff;
    --dai-blue: #18B5E9;
    --background-color: #202225;
    --nav-button-color: white;
    --nav-button-hover: var(--dai-blue);
    --login-button-color: white;
    --login-button-hover: white;
    --button-border-color: var(--dai-blue);
    --header-color: white;
    --footer-color: grey;
    --title-color: white;
    --nav-height: 0px;
    --header-height: 70px;
    --chat-wrapper-height: -10px;
    --footer-height: 12px;
  }
  
  :root {
    --font-1: 'Inter', sans-serif;
    --border-radius-1: 8px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*position: relative;*/
    font-family: var(--font-1);
  }
  
  html, body {
    height: 100%;
  }
  
  body {
    margin: 0;
    overflow: hidden; /* the page itself doesn't scroll; columns will */
  }

  /* Header container styling */
  .header {
    height: var(--header-height);
    color: var(--header-color);
    background-color: var(--background-color);
    display: flex;
    align-items: center; /* Vertically centers all child elements */
    width: 100%;
    padding: 0 20px; /* Adds some padding to the sides */
    margin-bottom: 2px;
  }
  
  /* Header left section */
  .header-left {
    flex: 1; /* Flex-grow to occupy remaining space */
    display: flex;
    align-items: center; /* Vertically centers logo and title */
    justify-content: flex-start; /* Horizontally align to the left */
    background-color: var(--background-color);
  }
  
  /* Header center section */
  .header-center {
    flex: 1; /* Flex-grow to occupy remaining space */
    display: flex;
    align-items: center; /* Vertically centers navigation */
    justify-content: center; /* Center navigation horizontally */
    text-align: center;
    background-color: var(--background-color);
  }
  
  /* Header right section */
  .header-right {
    flex: 1; /* Flex-grow to occupy remaining space */
    display: flex;
    align-items: center; /* Vertically centers login/logout button */
    justify-content: flex-end; /* Align to the right side */
    background-color: var(--background-color);
  }
  
  /* Logo and Title box */
  .title-box {
    display: flex;
    flex-direction: row;
    align-items: center; /* Vertically centers logo and title */
    justify-content: center;
    text-align: left;
    background-color: var(--background-color);
  }

  .header-title {
    display: flex;
    align-items: center; /* Vertically align title next to logo */
    text-align: left;
    padding-left: 10px; /* Adds padding between the logo and the title */
  }
  
  .header-title h1 {
    font-size: 24px;
    margin: 0;
    padding-left: 10px;
    color: var(--title-color);
  }
  
  /* Header login/logout styling */
  .header-login {
    margin-left: auto;
  }
  
  .header img {
    display:  flex;
    height: calc(var(--header-height) - 6px);
    object-fit: contain;
  }

  .login-btn {
    color: var(--login-button-color);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    height: 80%;
    background: transparent;
    border: 2px solid var(--button-border-color);
    border-radius: var(--border-radius-1);
    text-decoration: none;
  }
  
  .login-btn:link,
  .login-btn:visited,
  .login-btn:hover,
  .login-btn:focus {
    color: var(--login-button-color);
  }
  
  .login-btn:hover {
    color: var(--border-color);
  }
  
  .nav {
    display: flex;
    gap: 10px;
    background-color: var(--background-color);
  }
  
  .nav .nav-btn {
    color: var(--nav-button-color);
    border: none;              /* optional for <a>, harmless */
    padding: 10px 20px;
    cursor: pointer;
    background: transparent;
    border: 2px solid var(--button-border-color);
    border-radius: var(--border-radius-1);
  
    display: inline-block;     /* makes padding behave nicely */
    text-decoration: none;     /* remove underline */
  }
  
  .nav .nav-btn:hover {
    color: var(--border-color);
  }
  
  .footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: var(--footer-height);
    background-color: var(--background-color);
    padding: 0 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 10px;
    color: var(--footer-color);
    box-sizing: border-box;
  }
  
.main-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden; /* prevent scrolling on the main content itself */
  /*height: calc(100% - var(--nav-height) - var(--header-height) - var(--chat-wrapper-height));*/
  height: calc(100vh - var(--header-height));
  /*box-sizing: border-box;*/
  background-color: var(--background-color);
  min-height: 0; /* IMPORTANT if any parent becomes flex later */
  padding-bottom: calc(var(--footer-height) + 1px); /* CRITICAL: keep fixed footer from covering input */
}

.full-page-background {
  width: 100%;
  height: 100vh;
  background-color: var(--background-color);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1; /* Keep it in the background */
}