/* =========================================================
   POCKETPT ASSISTANT
   ========================================================= */

#assistant {
    width: 100%;
    min-height: calc(100vh - 200px);
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    margin-top: 12rem;
}


/* =========================================================
   MAIN ASSISTANT CONTAINER
   ========================================================= */

.assistant-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
}


/* =========================================================
   ASSISTANT HEADER
   ========================================================= */

.assistant-header {
    text-align: center;
    margin-bottom: 20px;
}

.assistant-header h1 {
    margin: 0;
    font-size: 3.2rem;
    font-weight: 500;
    margin-top: -20px;
}

.assistant-header p {
    margin-top: 8px;
    font-size: 1.5rem;
    font-weight: 300;
}


/* =========================================================
   CHAT WINDOW
   ========================================================= */

.chat-container {
    width: 100%;
    height: 600px;

    border-radius: 15px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    border: 1px solid rgba(0, 0, 0, 0.1);
}


/* =========================================================
   MESSAGES
   ========================================================= */

.chat-messages {
    flex: 1;

    overflow-y: auto;

    padding: 25px;

    display: flex;
    flex-direction: column;

    gap: 15px;
}


/* =========================================================
   MESSAGE
   ========================================================= */

.chat-message {
    max-width: 75%;

    padding: 12px 16px;

    border-radius: 15px;

    font-size: 1.45rem;
    line-height: 1.5;

    word-wrap: break-word;
}


/* Assistant message */

.chat-message.assistant {
    align-self: flex-start;
    font-size:16px;
    border-bottom-left-radius: 4px;
    color:#eeeeee
}

/* =========================================================
   ASSISTANT MARKDOWN CONTENT
   ========================================================= */

.chat-message.assistant p {
    margin: 0 0 14px 0;
}

.chat-message.assistant p:last-child {
    margin-bottom: 0;
}

.chat-message.assistant h1,
.chat-message.assistant h2,
.chat-message.assistant h3 {
    margin: 18px 0 10px 0;
    line-height: 1.3;
}

.chat-message.assistant h1:first-child,
.chat-message.assistant h2:first-child,
.chat-message.assistant h3:first-child {
    margin-top: 0;
}

.chat-message.assistant ul,
.chat-message.assistant ol {
    margin: 10px 0 14px 24px;
    padding: 0;
}

.chat-message.assistant li {
    margin-bottom: 8px;
    padding-left: 4px;
    line-height: 1.5;
}

.chat-message.assistant li:last-child {
    margin-bottom: 0;
}

.chat-message.assistant strong {
    font-weight: 600;
}

/* User message */

.chat-message.user {
    align-self: flex-end;
    font-size:16px;
    border-bottom-right-radius: 4px;
}


/* =========================================================
   INPUT AREA
   ========================================================= */

.assistant-input-container {
    width: 100%;

    margin-top: 15px;
}


.assistant-form {
    width: 100%;

    display: flex;
    align-items: flex-end;

    gap: 10px;
}


/* =========================================================
   TEXT INPUT
   ========================================================= */

.assistant-input {
    flex: 1;

    min-height: 50px;
    max-height: 150px;

    resize: none;

    padding: 13px 16px;

    border-radius: 12px;

    border: 1px solid rgba(0, 0, 0, 0.15);

    font-family: inherit;
    font-size: 1.45rem;

    outline: none;

    transition: border-color 0.2s ease;
}


.assistant-input:focus {
    border-color: rgba(0, 0, 0, 0.4);
}


/* =========================================================
   SEND BUTTON
   ========================================================= */

.assistant-send {
    min-width: 90px;
    height: 50px;

    border: none;
    border-radius: 12px;

    font-family: inherit;
    font-size: 1.4rem;

    cursor: pointer;

    transition:
        opacity 0.2s ease,
        transform 0.1s ease;
}


.assistant-send:hover {
    opacity: 0.85;
}


.assistant-send:active {
    transform: scale(0.97);
}


.assistant-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* =========================================================
   TYPING INDICATOR
   ========================================================= */

.typing-indicator {
    display: flex;

    align-items: center;

    gap: 5px;

    padding: 5px 2px;
}


.typing-indicator span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    animation: assistantTyping 1.2s infinite ease-in-out;
}


.typing-indicator span:nth-child(2) {
    animation-delay: 0.15s;
}


.typing-indicator span:nth-child(3) {
    animation-delay: 0.3s;
}


@keyframes assistantTyping {

    0%,
    60%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 768px) {

    #assistant {
        min-height: calc(100vh - 150px);

        padding: 20px 10px;
    }


    .assistant-header {
        margin-bottom: 15px;
    }


    .assistant-header h1 {
        font-size: 2.4rem;
    }


    .assistant-header p {
        font-size: 1.3rem;
    }


    .chat-container {
        height: calc(100vh - 280px);

        border-radius: 12px;
    }


    .chat-messages {
        padding: 15px;
    }


    .chat-message {
        max-width: 88%;

        font-size: 1.35rem;
    }


    .assistant-input {
        font-size: 1.35rem;
    }


    .assistant-send {
        min-width: 70px;

        font-size: 1.25rem;
    }

}







/* =========================================================
   ASSISTANT AUTHENTICATION OPTIONS
   ========================================================= */

.assistant-auth-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;

    width: 100%;

    margin: 18px auto 0;
    padding: 0 10px;
    box-sizing: border-box;
}

.assistant-auth-button {
    flex: 1;
    max-width: 250px;

    min-height: 48px;
    padding: 24px 48px;

    border: 1px solid transparent;
    border-radius: 8px;

    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   SIGN UP
   ========================================================= */

#assistant-signup-button {
    background: #ffa700;
    border-color: #ffa700;
    color: #1f1f1f;
}

#assistant-signup-button:hover {
    background: #ffb52e;
    border-color: #ffb52e;
    box-shadow: 0 4px 12px rgba(255, 167, 0, 0.2);
}


/* =========================================================
   LOG IN
   ========================================================= */

#assistant-login-button {
    background: #00a6fb;
    border-color: #00a6fb;
    color: #ffffff;
}

#assistant-login-button:hover {
    background: #0582ca;
    border-color: #0582ca;
    box-shadow: 0 4px 12px rgba(0, 166, 251, 0.2);
}


/* =========================================================
   PRESS EFFECT
   ========================================================= */

.assistant-auth-button:active {
    transform: translateY(1px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .assistant-auth-options {
        gap: 10px;
        margin-top: 16px;
        padding: 0 12px;
    }

    .assistant-auth-button {
        min-height: 46px;
        padding: 11px 20px;
        font-size: 13px;
    }

}


/* header and footer */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit; }

html {
    box-sizing: border-box;
    font-size: 62.5%; 

 }
    @media screen and (max-width: 1200px) {
      html {
        font-size: 55%; } }
  

h1{
    color: white;
    padding: 10px;
}

head{
	position: fixed;
}

body{
    background-color: #1f1f1f;
    color: rgb(255, 255, 255);
    font-family: "Poppins", sans-serif;
  font-weight: 300;
     overscroll-behavior:auto;
  line-height: 1.9;
}

.box-0 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 9rem;
    width: 100dvw;
    z-index: 100;
    background: linear-gradient(90deg, #0582ca, #00a6fb); }

.box-1 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    
    height: 3rem;
    background: white; 
}
    
.box-1contents {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 1200px;
    font-size: 1.3rem;

    height: 3rem;
}
@media screen and (max-width: 550px) {
  .box-1contents  {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    font-size: 1.1rem;

    height: 3rem;}}
    @media screen and (max-width: 415px) {
      .box-1contents  {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        font-size: 0.9rem;

        height: 3rem;}}

#navigator{
    /* position: fixed; */
    background-color: #4d4848;
    color: orange;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    z-index: 100;
}

.nav {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  align-items: center;
  justify-self: space-between;
  position: relative;
 }
  .nav-logo {
    font-size: 5rem;
    font-weight: 500;
    color: #f3f3f3;
    border-radius: 20rem;
    margin-right: auto; }
    @media screen and (max-width: 480px) {
      .nav-logo {
        font-size: 4rem;
    font-weight: 500;
    color: #f3f3f3;
    margin-right: auto; }}
    @media screen and (max-width: 440px) {
      .nav-logo {
        font-size: 3rem;}}

        #nav-beta {
          position: absolute;
          top: 10px;
          font-size: 2rem;
          font-weight: 500;
          color: #f3f3f3;
          border-radius: 20rem;
          margin-right: auto;
          margin-left:5px }
       
          @media screen and (max-width: 480px) {
            #nav-beta {
              font-size: 1.5rem;
          font-weight: 500;
          color: #f3f3f3;
          margin-right: auto; }}
          @media screen and (max-width: 440px) {
            #nav-beta {
              font-size: 1rem;}}

  .nav-svg {
    height: 4rem;
    width: 15rem;
    font-size: 1.6rem;
    font-family: inherit;
    font-weight: 600;
    border: none;
    border-radius: 10rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    color: orange;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
    background-color: whitesmoke;
    }
    @media screen and (max-width: 480px) {
      .nav-svg {
        height: 3rem;
        width: 12rem;
        font-size: 1.6rem;
        font-family: inherit;
        font-weight: 600;
        border: none;
        border-radius: 10rem;
        cursor: pointer;
        transition: all 0.3s;
        text-transform: uppercase;
        color: orange;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
        background-color: whitesmoke;
        }
      }
    .nav-svg:hover {
      background-color: orange;
      color: whitesmoke;
    }

a:link{
  color: #c5c5c5;}
a:visited{
  color: #c5c5c5;}
a:hover{
  color:#006cfa;
text-decoration: none;}

a.nav2headers{
color: rgb(65, 65, 65);
text-decoration: none;
font-weight: 400;
text-transform: uppercase;
  }

  a.nav2headers:hover{
    color: orange;
    text-decoration: none;
    font-weight: 400;
      }    

.footer {
background-color: #2e2e2e;
font-family: inherit;
padding: 5rem 2rem;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
  }
.footer__side1 {
  display: flex;
  flex-direction: column;
  margin-right: 8rem;
  margin-left: 8rem;
  gap: 3rem; }
  @media screen and (max-width: 715px) {
    .footer__side1 {
      display: flex;
      flex-direction: column;
      margin-right: 0rem;
      margin-left:0rem;
  }} 
  .footer__side1__logo {
    font-size: 4rem;
    font-weight: 500;
    color: #0582ca;
  text-align: center; }
    @media screen and (max-width: 915px) {
      .footer__side1__logo {
        text-align: center; }
    }  
  .footer__side1__text {
    width: 30rem;
    font-size: 1.6rem;
    margin-bottom: -1.5rem;
    color: #e4e4e4;
  text-align: center; }
    @media screen and (max-width: 915px) {
      .footer__side1__text {
        text-align: center;
      }
    }

.footer__side2 {
  display: flex;
  justify-content: center;
  text-align: center; }
  .footer__side2__nav {
    list-style: none;
    justify-content: center; 
    }
    @media screen and (max-width: 1000px) {
      .footer__side2__nav {
        padding-top: 3rem; 
        } }
  .footer__side2__item {
    width: 16rem;
    color: #000; }
    @media screen and (max-width: 435px) {
      .footer__side2__item {
        width: 12rem; } }
    @media screen and (max-width: 375px) {
      .footer__side2__item {
        margin-right: 0rem;
        min-width: 0rem; } }
        @media screen and (max-width: 350px) {
          .footer__side2__item {
            transform: scale(75%); } }
  .footer__side2__linkheader {
    min-width: 5rem;
    font-size: 1.65rem;
    font-weight: 600;
    color: #b1b1b1;
    text-decoration: none; }
    @media screen and (max-width: 500px) {
      .footer__side2__linkheader {
        margin-right: 0rem;
        min-width: 0rem; } }
  .footer__side2__link {
    min-width: 5rem;
    font-size: 1.6rem;
    color: #f7f7f7;
    text-decoration: none; }
    @media screen and (max-width: 500px) {
      .footer__side2__link {
        font-size: 1.5rem; } }
      .footer__side2__link:hover{
        text-decoration: none;
      }
      .footer__img {
  display: flex;
  justify-content: center;
  padding-top: 3rem; 
  width:100%;
  }
  @media screen and (max-width: 600px) {
    .footer__img {
      transform: scale(0.75);
      } }
      @media screen and (max-width: 450px) {
        .footer__img {
          flex-direction: column;
          width: auto;
          padding-top: 0;
          } }
  .footer__img-1 {
    transform: scale(0.85); }
    @media screen and (max-width: 600px) {
      .footer__img-1 {
        
        height: 100%;
          } }
  .footer__img-2 {
    transform: scale(0.85); }
    @media screen and (max-width: 600px) {
      .footer__img-2 {
        height: 100%;
          } }
.footer__copyright {
  font-size: 1.4rem;
  color: #a1a1a1;
  text-align: center;
  width: 100%; }
.footer__link {
  font-size: 1.4rem;
  text-decoration: none; }
  .footer__btn {
    margin-top: 2rem; 
    background-color: white;
    font-size: 1.9rem;
    font-family: inherit;
    font-weight: 600;
    border: none;
    padding: 1.25rem 4.5rem;
    border-radius: 10rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    margin: auto;
    color: #0a75b4;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
    width: 27rem; }
    @media screen and (max-width: 1000px) {
      .btn {
        margin-left: 0; } }
        @media screen and (max-width: 879px) {
          .footer__btn {
            margin-bottom: 2rem; } }
    .btn:hover {
      background-color: rgba(255, 255, 255, 0.823); }
    .btn:active {
      transform: translateY(0.5rem);
      scale: 0.98; }

      .btn {
        margin-left: 2rem;
        margin-top: 2rem;
        background-color: white;
        font-size: 1.9rem;
        font-family: inherit;
        font-weight: 600;
        border: none;
        padding: 1.25rem 4.5rem;
        border-radius: 10rem;
        cursor: pointer;
        transition: all 0.3s;
        text-transform: uppercase;
        color: #0a75b4;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
        width: 27rem; }
        @media screen and (max-width: 1000px) {
          }
        .btn:hover {
          background-color: rgba(255, 255, 255, 0.823); }
        .btn:active {
          transform: translateY(0.5rem);
          scale: 0.98; }

  #loadingBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color: white;
    font-size: 1.5em;
    margin-right: 20px;
}

.spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.status-circle {
  min-width: 30px; /* Smaller size */
  min-height: 30px;
  border-radius: 50%; /* Circle shape */
  border: 2px solid white; /* White border */
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px; /* Space between the circle and text */
}

/* Container for user info displays */
.user-info {
  flex-direction: column; /* Stack them on top of each other */
  padding-right: 5px;
}

/* Style for the user ID and email displays */
.email-display {
  text-align: center; /* Center the text */
  color: #1f73f0; /* White text color */
  font-size: 22px; /* Adjust the size as needed */
    font-weight: bold;
  }
  @media screen and (max-width: 800px) { 
    .email-display {
    font-size: 16px; /* Adjust the size as needed */;
  }
  }
  @media screen and (max-width: 600px) { 
    .email-display {
    font-size: 8px; /* Adjust the size as needed */;
  }
  }
  @media screen and (max-width: 480px) { 
    .email-display {
    display: none;
  }
  }

  .user-id-display{
  text-align: center; /* Center the text */
  color: #d5d5d5; /* White text color */
  font-size: 10px; /* Adjust the size as needed */
}

.logged-out {
  background-color: blue;
}

.logged-in {
  background-color: #00ae00;
}



  
  #loginButtonsContainer{
    max-width: 5rem;
    min-width: 5rem;
  }
  
  /* Tooltip Style */
  .login-tooltip {
    position: absolute;
    top: 122px; /* Adjust based on your toolbar height */
    right: 0;
    background-color: white;
    text-align: right;
  }
  @media screen and (max-width: 1200px) {
    .login-tooltip {
      top: 108px;
 }}
 @media screen and (max-width: 480px) {
  .login-tooltip {
    top: 100px;
}}
@media screen and (max-width: 440px) {
  .login-tooltip {
    top: 91px;
}}

.tooltipContentDiv{
  margin: 10px 50px;
}

  /* Modal Style */
  .modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black with transparency */
  }
  

  .modal-logo {
    font-size: 5rem;
    font-weight: 500;
    color: #00a6fb;
margin-bottom: 1rem;
   }
  
  #modal-beta {
    position: relative;
    top: -20px;
    left: -5px;
    font-size: 1.5rem;
    font-weight: 500;
    color: #1f1f1f;
   }
       

  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    top: -20px;
    position: relative;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  
  #login-btn{
    width: 90px;
    height: 40px;
    margin: 5px 5px 5px 5px;
    background-color: white;
    border: 0;
    border-radius: 3px;
    color: rgb(15, 15, 15);
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: bold;
  
  }
  
  #signup-btn{
    width: 90px;
    height: 40px;
    margin: 5px 5px 5px 5px;
    background-color: #00a6fb;
    border: 0;
    border-radius: 3px;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: bold;
  }
  
  #signup-btn:hover{
    background-color: #49c2ff;
  }
  
  #login-btn:hover{
    background-color: #eeeeee;
  }


#modal-switch-button-div{
  width: 100%;
  margin-bottom: 3rem;
}

#modal-content-switch-buttons {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 200px; /* Adjust as needed */
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    overflow: hidden;

  }
  
  .modal-switch {
    flex: 1;
    padding: 10px;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
    font-size: 16px;
}

#highlight {
    position: absolute;
    bottom: 0;
    width: 50%;
    height: 3px;
    background-color: #007bff; /* Highlight color */
    border-radius: 2px;
    transition: transform 0.3s ease-in-out;
    left: 0;
}

#line{
  position: relative;
  border-bottom: 3px solid #959595;
  width: 100%;
  top: 39px;
}

#highlight.signup-active {
    transform: translateX(100%);
}

#highlight.login-active {
    transform: translateX(0%);
}

#highlight,
.modal-switch:hover ~ #highlight {
    transition: transform 0.3s ease-in-out;
}

.modal-switch:nth-child(1):hover ~ #highlight {
    transform: translateX(0%);
}

.modal-switch:nth-child(2):hover ~ #highlight {
    transform: translateX(100%);
}

.navForms{
  /* text-align: center; */
  flex-direction: column;
  margin-top: 2rem;
  margin-bottom: 3rem;
  }

 .navFormsh2{
  margin-top: 1rem;
  font-size: 2rem;
 }

.navFormsButtonDiv{
  margin-top: 3rem;
  text-align: center;
}

.navFormsButton{
  width: 120px;
  height: 40px;
  background-color: #00a6fb;
  border: 0;
  border-radius: 3px;
  color: white;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: bold;
  margin: 1rem;
}
.navFormsButton:hover{
  background-color: #4dc4ff;
}
.navFormsButton:active{
  background-color: #0075af;
}

.navFormsInputs{
  width: 100%;
font-size: 1.6rem;
border-radius: 3px;
background-color: white;
padding: 5px;
border: 2px solid #bfbfbf;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.line {
  height: 2px; /* Thickness of the line */
  background-color: #8a8a8a;
  flex-grow: 1; /* Makes the lines flexible */
  margin: 0 10px; /* Space between the word and the lines */
}

.connect {
  font-size: 1.5rem;
  font-weight: bold;
  color: #8a8a8a;
}

.connected {
  font-size: 1rem;
  text-align: center;
  margin-top: 2rem;
}

.modalAuthLoginImgs{
  border-radius: 5px;
  max-height: 40px;
  margin: 1rem;
}

.modalAuthLoginImgs:hover{
  box-shadow:0px 0px 10px #a1a1a1
}


/* =========================================================
   HEADER FOOTER
   ========================================================= */