*,
*::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%; } }
  
head{
	position: fixed;
}

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

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

.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%;
    /* z-index: 100; */
    height: 3rem;
    background: white; 
}
    
.box-1contents {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 1200px;
    font-size: 1.3rem;
    /* z-index: 101; */
    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;
    z-index: 101;
    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;
        z-index: 101;
        height: 3rem;}}

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

.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;
    }

   /* ---------------------- FOOTER & MISC */

.footer {
    background-color: #2e2e2e;
    font-family: inherit;
    padding: 5rem 3rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem; }
    .footer__side1 {
      display: flex;
      flex-direction: column;
      margin-right: 8rem;
      gap: 3rem; }
      .footer__side1__logo {
        font-size: 4rem;
        font-weight: 500;
        color: #0582ca; }
      .footer__side1__text {
        width: 30rem;
        font-size: 1.6rem;
        margin-bottom: -1.5rem;
        color: #e4e4e4; }
    .footer__side2 {
      display: flex;
      gap: 4rem;
      justify-content: center;
      text-align: center; }
      .footer__side2__nav {
        
        list-style: none;
        justify-content: center; }
      .footer__side2__item {
        margin-right: 4rem;
        color: #000; }
        @media screen and (max-width: 500px) {
          .footer__side2__item {
            margin-right: 0; } }
      .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; }
        .footer__side2__link:hover {
          text-decoration: underline; }
    .footer__img {
      display: flex;
      width: 100%;
      justify-content: center; }
      @media screen and (max-width: 600px) {
        .footer__img {
          transform: scale(0.75);
          width: 70%; } }
      .footer__img-1 {
        transform: scale(0.85); }
        @media screen and (max-width: 600px) {
          .footer__img-1 {
            transform: scale(0.65);
            height: 100%;
            width: 100%; } }
      .footer__img-2 {
        transform: scale(0.85); }
        @media screen and (max-width: 600px) {
          .footer__img-2 {
            transform: scale(0.65);
            height: 100%;
            width: 100%; } }
    .footer__copyright {
      font-size: 1.4rem;
      color: #a1a1a1;
      text-align: center;
      width: 100%; }
    .footer__link {
      font-size: 1.4rem;
      text-decoration: none; }

    .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 {
            margin-left: 0; } }
        .btn:hover {
          background-color: rgba(255, 255, 255, 0.823); }
        .btn:active {
          transform: translateY(0.5rem);
          scale: 0.98; }

    a:link{
      color: #c5c5c5;}
    a:visited{
      color: #c5c5c5;}
    a:hover{
      color:#242222;
    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;
         } 

/* ----------------------NAV AND LOG IN + MODAL */

.loading-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.loading-bar span {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(26, 26, 26);
  padding: 10px 200px;
  border-radius: 5px;
  font-size: 2.5rem;
  color: #d6960c;
}

.loading-bar-bar {
  margin-top: 35rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(36, 36, 36);
  padding: 20px;
  border-radius: 5px;
}

/* #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 {
  width: 30px; /* Smaller size */
  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;
}

/* 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: 2 2 2 4px;
  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: 2 4 2 2px;
  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: 38px;
}

#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
}

/* ------------------------------------------------------------ */

#workout{
    margin-top: 2rem;
   text-align: center;
}

#addWorkout{
    justify-content: center;
    margin-top: 15rem;
    margin-bottom: 3rem;
    text-align: center;
  min-height: 78vh;
    margin: 0px 10%;
}
	
#site-search{
        color: #c0c0c0;
}
	
/* Container to align label and input neatly */
.search-container {
  display: flex;
  flex-direction: column; /* Stack label above input */
  align-items: center; /* Align everything to the left */
  margin: 15rem 0 4rem 0; /* Add some space around the container */

}

/* Style for the label */
.search-container label {
  font-size: 18px; /* Larger font size for readability */
  font-weight: bold; /* Make the label stand out */
  margin-bottom: 8px; /* Space between label and input */
  color: #333; /* Darker text for better visibility */
}

/* Style for the input field */
.search-container input[type="text"] {
  width: 100%; /* Adjust to container width */
  max-width: 400px; /* Limit the maximum width */
  padding: 12px 16px; /* Add padding for a larger input box */
  font-size: 16px; /* Larger text inside the input */
  border: 2px solid #ccc; /* Subtle border */
  border-radius: 6px; /* Rounded corners */
  transition: border-color 0.3s, box-shadow 0.3s; /* Smooth focus effects */
  outline: none; /* Remove the default blue outline */
}

/* Input field focus styling */
.search-container input[type="text"]:focus {
  border-color: #007BFF; /* Blue border on focus */
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.5); /* Glow effect */
}

/* Placeholder text styling */
.search-container input[type="text"]::placeholder {
  color: #aaa; /* Subtle placeholder text */
  font-style: italic; /* Different style for placeholders */
}

/* Default styling: rounded corners */
#searchInput {
  width: 100%;
  font-size: 1.8rem;
  border: 1px solid #ccc;
  border-radius: 10px; /* Fully rounded corners */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  outline: none;
}

/* When results are visible: square bottom corners */
#searchInput.results-visible {
  border-radius: 10px 10px 0 0; /* Square bottom corners */
}

#searchResults {
  width: 100%;
  max-width: 400px;
  background: white;
  border: 1px solid #ccc;
  border-top: none; /* Seamless connection to the input */
  border-radius: 0 0 10px 10px; /* Curved bottom corners */
  max-height: 300px; /* Limit height for 10 results */
  overflow-y: auto; /* Enable scrolling for more than 10 results */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none; /* Hidden by default */
  z-index: 99;
}


/* Scrollbar Styling for Results */
#searchResults::-webkit-scrollbar {
  width: 8px;
}

#searchResults::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

#searchResults::-webkit-scrollbar-thumb:hover {
  background-color: #aaa;
}

.resultItem {
  padding: 10px;
  cursor: pointer;
  font-size: 1.6rem;
  border-bottom: 1px solid #eee;
  color: #292929;
  padding: 8px;
}

.resultItem.highlight {
  background-color: #007BFF;
  color: white;
}

/* .resultItem:hover {
  background: #f0f8ff;
} */

.noResults {
  padding: 10px;
  color: #999;
  font-size: 1.5rem;
  text-align: center;
}


.tab {
  display: inline-block;
  padding: 10px;
  cursor: pointer;
  background-color: #f0f0f0;
  margin: 5px;
  border-radius: 5px;
  color: #1f1f1f;
  font-size: 1.2rem;
}
.tab.active {
  border: 4px solid rgb(0, 140, 255); /* Blue border */
  border-radius: 4px;    /* Rounded corners */
  background-color: #f0f8ff; /* Light blue background (optional) */
  color: rgb(29, 29, 29);          /* Ensure text color remains visible */
}
.tab:hover {
  background-color: #d6d6d6;
}

h3{
  font-size: 4rem;
    color: white;

}

p{
  font-size:1.4rem;
  color: white;
}

a:link{
  color: #00b7ff;
  text-decoration: none;}


.actionButton {
  cursor: pointer;
  margin: 5px;
  padding: 5px;
  background-color: #4CAF50;
  color: white;
  border: none;
}
#searchResults {
  margin-bottom: 20px;
}

.hide-cursor {
  cursor: none;
}

.resultItem.highlighted {
  background-color: #f0f0f0; /* Light gray background for highlighted result */
  cursor: pointer;
}




/* Pocket PT exercise role dropdowns. Load after the main design-system stylesheet. */
.muscleExerciseRoleGroup {
    margin: 1rem 0;
}
.muscleExerciseRoleGroup h4 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    font-weight: 700;
}
.muscleExerciseRole {
    margin: 0.45rem 0;
    overflow: hidden;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    background: #1a1a1a;
}
.muscleExerciseRole > summary {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 0.9rem;
    cursor: pointer;
    list-style: none;
}
.muscleExerciseRole > summary::-webkit-details-marker { display: none; }
.muscleExerciseRole > summary::before {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
    border-radius: 50%;
    background: #0582ca;
    color: #fff;
    font-weight: 700;
}
.muscleExerciseRole[open] > summary::before { content: "−"; }
.muscleExerciseRole > summary > span:first-of-type {
    color: #f5f5f5;
    font-weight: 700;
}
.muscleExerciseRole .roleDescription {
    flex: 1;
    color: #b8b8b8;
    font-size: 0.85rem;
}
.muscleExerciseRole .roleCount {
    min-width: 1.8rem;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    background: #252525;
    color: #00a6fb;
    font-size: 0.8rem;
    text-align: center;
}
.muscleExerciseRoleContent {
    padding: 0.8rem 0.9rem 1rem;
    border-top: 1px solid #3a3a3a;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.muscleExerciseRoleContent a,
.exerciseAASS a,
.exerciseMechanisms a {
    color: #00a6fb;
    text-decoration: none;
}
.muscleExerciseRoleContent a:hover,
.exerciseAASS a:hover,
.exerciseMechanisms a:hover { text-decoration: underline; }
.emptyExerciseRoleList,
.unassignedRole {
    color: #a8a8a8;
    font-size: 0.9rem;
}
.exerciseAASS,
.exerciseMechanisms {
    margin: 0.9rem 0;
}
.exerciseAASS h4,
.exerciseMechanisms h4 {
    margin: 0 0 0.5rem;
}
@media (max-width: 600px) {
    .muscleExerciseRole > summary { flex-wrap: wrap; gap: 0.45rem; }
    .muscleExerciseRole .roleDescription { flex-basis: calc(100% - 2.2rem); margin-left: 1.7rem; }
    .muscleExerciseRole .roleCount { margin-left: auto; }
}
