/* Responsive behavior - applies only on smaller screens */
@media (max-width: 1200px) {
  * {
    margin: 0;
    padding: 0;
    border-radius: none;
  }
  
  /* Header styles */
  header {
    position: fixed;
    top: 0;
    left: 0;
    margin-top: 0px;
    padding-top: 0;
    width: 100%;
  }
 
  /* Container styles */
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    overflow: scroll;
    margin: 0;
    padding: 7em 0 0 0 ;
  }

  /* Left panel styles */
  .left-panel {
    display: hidden; /* Initially hidden */
    min-width: 100%; /* Takes full width when visible */
    margin: 0;
  }

  .left-panel.visible {
    display: block;
    height: min-content;
  }

  /* Conversation container styles */
  .conversation-container {
    min-width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .conversation-container.collapsed {
    width: 0;
    padding: 0;
    border: none;
    overflow: hidden;
    display: hidden;
  }

  .conversation-container.expanded {
    min-width: 100%;
    margin-left: 0;
    border-radius: none;
  }

  /* Grid styles */
  .grid {
    grid-template-columns: 1fr; /* One item per line */
  }

  /* Model box styles */
  .model-box {
    max-width: none; /* Remove max-width */
    margin: 0 auto; /* Center each model-box */
  }

  /* Input styles */
  .input {
    grid-column: 1 / -1;
    gap: 10px;
    padding: 0.5em;
    margin: 0 auto;
    align-items: center;
    width: 90%;
  }

  .input input {
    font-size: 1em; /* Adjust font size */
    max-width: 65%;
    margin-right: 0;
    border-color: var(--input-border-color); /* Use variable for input border */
    color: var(--text-color); /* Use variable for text color */
  }

  .input button {
    height: 40px; /* Adjust button height */
    width: 40px; /* Adjust button width */
    font-size: 1.2em; /* Adjust button font size */
    margin: auto;
    background-color: var(--input-button-color); /* Use variable for button color */
    color: var(--user-message-text-color); /* Use variable for button text color */
  }

  .header-logo{
    position: relative;
    margin-left: -40px;
  }

  .hamburger.open{
    margin-top: 0.5vh;
    padding-left: 1vw;
  }

  .nav-links{
    display: none;
    position: absolute;
    top: 10vh;
    left: 0;
    background-color: var(--burger-menu-background-color);
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    height: fit-content;
  }

  .nav-links.active{
    display: flex;
    height: fit-content;
  }

  .nav-btn{
    width: 100%;
    text-align: center;
    padding: 10px;
    height: 50px;
  }
  
  .hamburger {
    display: flex;
  }

  .header-login-button{
    right: 5vh;
  }
}

/* Responsive adjustments for the settings */
@media (max-width: 768px) {
  .settings-content {
    flex-direction: column; /* Stack sidebar and main content on smaller screens */
  }

  .sidebar {
    width: 100%; /* Full width for sidebar */
  }

  .settings-main {
    width: 100%; /* Full width for main content */
  }
}
