/* ALL PAGES */

*,
*::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, 171, 16);
    font-family: "Poppins", sans-serif;
  font-weight: 300;
  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:#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;
      }    

.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 {
  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-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 15%;
    min-width: 400px;
    display: flex;
    flex-direction: column;
    color: #1f1f1f;
    border-radius: 1rem;
  }

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


/*  PROGRAM CREATOR  */

.pcontainer {
    width: 90%;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

/* Saved Programs Section */
.saved-programs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.program-slot {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ccc;
    background: white;
    cursor: pointer;
}

.program-slot.empty-slot {
    border-style: dashed;
    color: #777;
}

.program-slot.locked {
    background: rgba(0, 0, 0, 0.1);
    cursor: not-allowed;
    color: #666;
}

/* Program Settings */
.program-settings {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* Weekly Program Grid */

.weekly-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 20px;
    
}

.workout-pool {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.draggable {
    width: 120px;
    padding: 10px;
    background: lightblue;
    border-radius: 5px;
    cursor: grab;
    text-align: center;
}

.week-container {
    display: flex;
    flex-direction: row;
    gap: 5px;
    margin-bottom: 20px;
}

.week-title {
    font-weight: bold;
    font-size: 18px;
    text-align: left;
    padding: 5px;
    background-color: #ddd;
    border-radius: 5px;
    margin-bottom: 5px;
}

.day {
    position: relative;
    width: 100px;
    height: 100px;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 5px;
    overflow: hidden;
    background-color: white;
}

.day-label {
    position: absolute;
    top: 2px;
    left: 5px;
    font-size: 12px;
    color: gray;
}

.workout-entry {
    background-color: #4caf50;
    color: white;
    padding: 5px;
    margin: 3px 0;
    border-radius: 3px;
    width: 90%;
    text-align: center;
}

