
    /* styles.css */
    body {
      font-family: Arial, sans-serif;
      background-color: #f0f0f3; /* Light grey background */
      color: #000; /* Black text */
  }

  .chatbot-response span {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

  nav, img {
      width: 55px;
  }

  h1, h2, h3, p, ul {
      margin: 0.2em;
  }

  #chat-container {
      max-width: 800px;
      width: 100%;
      margin: 20px auto;
      background-color: #ffffff; /* White background */
      border-radius: 20px; /* Rounded corners */
      padding: 10px;
      box-shadow: 8px 8px 15px #bebebe, /* Outer shadow */
                  -8px -8px 15px #ffffff; /* Inner light */
      display: flex;
      flex-direction: column;
      height: calc(100vh - 160px);
      overflow: hidden; /* Hide all overflowed content */
  }

  
  button {
      border: none;
      background-color: #e4e4e7; /* Light gray for buttons */
      color: #000; /* Black text */
      padding: 10px 20px;
      border-radius: 20px;
      box-shadow: 5px 5px 10px #bebebe, /* Outer shadow */
                  -5px -5px 10px #ffffff; /* Inner light */
      cursor: pointer;
      transition: background-color 0.3s ease;
  }
  
  button:hover {
      background-color: #d1d1d3; /* Slightly darker on hover */
  }

  #navbar {
    display: flex;
    justify-content: space-between; /* Aligns nav-content and nav-account on opposite ends */
    align-items: center; /* Vertically centers the content */
    padding: 0 20px; /* Add padding on the sides of the navbar */
    width: 95%;
  }

  .nav-account button {
    padding: 10px 20px;
    font-size: 0.8rem; /* Smaller font size for the text inside the buttons */
    margin-left: 10px; /* Adds space between buttons */
  }

  .nav-account {
    display: flex; /* Aligns buttons in a row */
    align-items: center; /* Vertically centers the buttons */
  }

  nav button {
    padding: 10px 20px;
    background-color: #4285F4; /* Vibrant blue for better visibility and aesthetics */
    color: white;
    border: none;
    border-radius: 5px; /* Rounded corners for a modern look */
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
  }
  
  nav button:hover {
    background-color: #0056b3; /* Darker shade of button color on hover */
  }
  
  button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
  }
  
  #microsoft-signin {
    background-color: #E3824A;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px; /* Rounded corners for a modern look */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    margin-top: 2em;
  }

  #microsoft-signin:hover {
    background-color: #CC6A36; /* Slightly darker shade for hover effect */
  }

  #subscribe-prompt {
    margin-top: 2em;
  }
  /* nav account mangement popup */
  
  .profile-icon {
    cursor: pointer;
    width: 40px;
    /* Add more styles as needed */
  }
  
  .account-popup {
    position: absolute;
    right: 20px; /* Adjust based on your layout */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 1000; /* Ensure it's above other content */
    margin-top: 6em;
  }
  
  /* Adjust button styles within the popup if necessary */
  .account-popup button {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
  #new-chat-button {
    padding: 0.5em 1em;
    background-color: #4a90e2;
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    margin-left: auto; /* This will push the button to the right */
    margin-right: 0;
    border-radius: 4px;
  }
  
  #new-chat-button:hover {
      background-color: #4178be; /* Darker shade on hover */
  }

  #button-container {
    display: flex;
    justify-content: center; /* Center the buttons horizontally */
    gap: 10px; /* Add space between buttons */
  }

  @keyframes pulse {
    0% {
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    50% {
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    100% {
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
  }

  #chat-interface {
    width: 100%; /* This ensures it takes up less space on smaller screens */
    margin: 20px auto; /* Centers the container within its parent */
    display: flex;
    flex-direction: column;
    align-items: center; /* This will help center any child elements that might not use the full width */
  }
  

  #prompt-instruction {
    color: #333; /* Dark grey for readability */
    font-size: 1.2rem; /* Adjust the font size as needed */
    padding: 10px; /* Add some padding for visual space */
    background-color: #f0f0f3; /* Light grey background to match the theme */
    border-radius: 5px; /* Rounded corners for a softer look */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    animation: pulse 2s infinite;
    position: relative;
  }


  #prompt-instruction p {
    margin: .5em;
  }

  #see-instruction {
    position: relative; /* Adjusted from fixed to relative */
    margin: 0 auto; /* Center the div horizontally */
    width: 60%; /* Maintain the width as before */
    background-color: #ffffff; /* Keep the background color */
    border-radius: 20px; /* Keep the border-radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Keep the shadow for depth */
    padding: 20px; /* Keep the padding */
  }
    #see-instruction p {
    color: #333; /* Dark grey for readability */
    margin: 10px 0; /* Space out paragraphs */
    font-size: 1.2em;
    line-height: 1.4em;
  }

  #see-instruction span {
    font-weight: bold; /* Make it stand out */
  }

  .close-instruction {
    cursor: pointer;
    display: flex;
    font-size: 25px;
    color: #999;
    position: absolute;
  }

  .close-instruction:hover {
    color: #333;
  }

  #login-error {
      color: red;
  }

  #logout-button {
    border: 1.25px solid #4285F4;
    color: #4285F4;
    background-color: inherit;
    margin-top: 2em;
  }

  #new-here-btn, #see-what-btn {
    flex-shrink: 1;
    width: 50%;
    margin: .5em;
    background-color: #4a90e2;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    border-radius: 4px;
    display: inline-block; /* Ensure buttons are displayed inline */
    margin-right: 10px; /* Add some space to the right of each button */
    padding: 10px 20px; /* Ensure padding is consistent */
  
  }

  #messages {
      display: flex;
      flex-direction: column; /* Newest messages at the bottom */
      overflow-y: auto;
      padding: 10px;
      padding: 10px;
      outline: none; /* Remove default focus outline */
  }

  #messages p {
    margin: 1em 0;
  }

  #messages[data-placeholder]:empty:before {
      content: attr(data-placeholder);
      color: grey;
  }

  #message-input {
      width: calc(100% - 60px);
      padding: 10px;
  }

  #input-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
  }

  #input {
    flex-grow: 1;
    min-height: 20px;
    max-height: 150px;
    overflow-y: auto;
    margin-right: 10px;
    outline: none;
    display: block;
    margin: 10px;
    padding: 16px;
    background-color: #ffffff;
    box-shadow: inset 2px 2px 6px #bebebe,
                inset -5px -5px 10px #ffffff;
    border-radius: 10px;
}

  #output {
      flex-grow: 1;
      overflow-y: auto; /* Make sure this div is the one scrolling */
  }

  /* Adjustments for the chat messages and placeholders */
  #messages, #input-container {
      border-radius: 10px;
  }

  #input-container, #input {
      background-color: #ffffff;
  }

  /* Placeholder styling for contenteditable div */
  [contenteditable="true"]:empty:not(:focus):before {
      content: attr(data-placeholder);
      color: grey;
      display: block; /* Make the placeholder a block element inside the contenteditable div */
      margin: 0; /* Remove the margin */
      padding: 0 8px; /* Apply horizontal padding to match the contenteditable text */
  }


  #send-button {
      padding: 1em 2em;
      background-color: #0F9D58;
      border-radius: 4px;
      color: white;
      border: none;
      cursor: pointer;
      font-size: 16px; /* Adjust the font size as needed */
      display: inline-flex; /* Use flexbox for aligning text and pseudo-element */
      align-items: center; /* This will vertically center the text and the arrow */
      justify-content: center; /* This will horizontally center the text */
  }

  #send-button:disabled {
      background-color: grey;
      cursor: not-allowed;
  }

  #loading-symbol {
    display: inline-block;
    padding: 10px;
    border: 4px solid rgba(0, 0, 0, .1);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 1s ease-in-out infinite;
}

.response-loading {
  display: inline-block; /* Changed from absolute to inline-block */
  vertical-align: middle; /* Align it with the middle of the text */
  margin-right: 10px;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(0, 0, 0, .1);
  border-radius: 50%;
  border-top-color: #000;
  animation: spin 1s ease-in-out infinite;
}

  @keyframes spin {
    to { transform: rotate(360deg); }
}

  .message-label {
      font-weight: bold;
      margin-bottom: 5px; /* Adjust spacing as needed */
      color: #555; /* Dark grey for better readability */
  }

  /* Styling for both user prompt and chatbot response to look uniform */
  .user-prompt, .chatbot-response {
      margin: 10px 0;
      padding: 10px;
      border-radius: 10px;
      line-height: 1.4;
      position: relative;
      max-width: 95%;
      border: 1px solid #e0e0e0; /* Light grey border for subtle differentiation */
      background-color: #fff; /* White background for both */
      color: #333; /* Dark grey text for better readability */
      box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05); /* Soft shadow for depth */
  }

  .user-prompt {
      background-color: #e8f0fe; /* Light blue background for user prompt */
      align-self: flex-start; /* Align to the start (left) */
      box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  }

  .chatbot-response {
      background-color: #f1f8e9; /* Light green background for chatbot response */
      align-self: flex-end; /* Align to the end (right) */
      box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  }

  /* Removing the arrow indicators for a cleaner look */
  .user-prompt::after, .chatbot-response::before {
      content: none;
  }

  ol {
      list-style-type: disc;
  }

  #free-uses-info {
    margin-left: auto;
    margin-right: 10px;
    color: GREY;
    font-size: .75em;
  }

  pre, code {
    font-family: inherit; /* Removes monospaced font */
    white-space: normal; /* Ensures text wraps naturally */
    background: none; /* Removes any background styling */
    border: none; /* Removes borders */
    padding: 0; /* Removes padding */
    margin: 0; /* Removes margin to align with normal text */
}


  /* Scrollbar customizations for a neumorphic look */
  ::-webkit-scrollbar {
      width: 12px;
  }

  ::-webkit-scrollbar-track {
      background-color: #f0f0f3;
      border-radius: 10px;
  }

  ::-webkit-scrollbar-thumb {
      background-color: #c1c1c1;
      border-radius: 10px;
      box-shadow: inset 2px 2px 5px #bebebe, 
                  inset -2px -2px 5px #ffffff;
  }

  #how-it-works-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background-color: #4285F4;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
  }
  
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 101; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 8% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 69%; /* Could be more or less, depending on screen size */
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  /* Responsive iframe */
iframe {
    width: 100%;
    height: 500px;
}

#feedback-link {
    text-align: center; /* Center-align the text for better visibility */
    margin: 20px 0; /* Add some space above and below the link */
    padding: 10px; /* Add some padding for visual space */
    background-color: #ffffff; /* White background to stand out */
    border-radius: 10px; /* Rounded corners to match your design */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    max-width: 800px; /* Match the chat container width */
    width: 90%; /* Responsive width */
    margin-left: auto; /* Center the div */
    margin-right: auto; /* Center the div */
}

#feedback-link p {
    color: #333; /* Dark grey for readability */
    font-size: 1rem; /* Standard font size */
}

#feedback-link a {
    color: #4285F4; /* Link color to match your button color */
    text-decoration: none; /* No underline for a cleaner look */
    font-weight: bold; /* Make the link bold to stand out */
}

#feedback-link a:hover, #feedback-link a:focus {
    text-decoration: underline; /* Add underline on hover/focus for accessibility */
    color: #0056b3; /* Darker shade on hover/focus to match your button hover state */
}

@media (max-width: 1330px) {
    #how-it-works-btn {
        font-size: 1em;
      }

      #chat-container {
        height: calc(100vh - 200px);
  }
}

   /* Responsive adjustments */
  @media (max-width: 860px) {

    #navbar {
      padding: 0;
    }

    nav, img {
      width: 45px;
    }
    #new-here-btn, #see-what-btn {
      margin: 0;
      padding: 12px 10px;
    }  

    #input {
      min-height: 20px;
      max-height: 40px;
      margin: 0px;
      padding: 10px;
      font-size: .85em;
    }

    #send-button {
      padding: 1.25em 1.8em;
      margin-left: .25em;
      font-size: 14px;
    }

    #chat-interface {
      margin: 0;
    }

    #chat-container {
      margin: 8px;
      padding: 10px;
      height: calc(95vh - 75px);
      width: 95%;
      overflow-y: auto;
    }
      
      .user-prompt, .chatbot-response {
        max-width: 95%;
        font-size: .85em;
    }

      .modal-content {
        margin: 25% auto;
        width: 90%;
        }
        
        iframe {
        height: 210px; /* Adjust the height for smaller screens */
        }

        #how-it-works-btn {
            position: relative; /* Change from fixed to relative */
            display: block; /* Ensure it's a block-level element */
            margin: 20px auto 0; /* Add some margin at the top and auto margin for centering */
            right: 0; /* Reset right positioning */
            bottom: 0; /* Reset bottom positioning */
            font-size: 1.2em;
        }

        #new-here-btn, #see-what-btn {
            font-size: 1em;
          }

          #see-instruction {
            top: 10%; /* Adjust top position for better visibility */
            width: 90%;
            font-size: .85em;
          }

        #input-container {
          margin: 0;
          padding: 0;
        }

        #prompt-instruction {
          color: #333;
          font-size: .85rem;
        }

        #new-chat-button {
          margin: .5em 0;
          margin-left: auto;
      }
        

      #loading-symbol {
        margin-left: .5em;
      }

        body {
            margin-bottom: 60px; /* Add extra space at the bottom of the body to avoid overlapping with the button */
        }
  }
