
html {
  position: relative;
  min-height: 100%;
  font-size: 14px;
}

  
/*General*/

.breadcrumb-container {
  --bs-breadcrumb-divider: '>';
}


.sort-arrows {
  text-decoration: none;
  color: #444;
}


.form-wrapper {
  max-width: 700px;
  padding: 1rem;
}

.exercise-link {
  display: inline-block;
  text-decoration: none;
  color: #444;
  transition: transform 0.3s ease-in-out;
}

.exercise-link:hover {
  transform: scale(1.1);
  
}

.set-heading {
  font-size: 1.5rem;
}

  .button-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20vh;
    gap: 4rem;
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
  }
  

.home-button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 200px;
  height: 200px;
  background-color: #ffffff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  border-radius: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: #000000;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

  .home-button:hover {
    background-color: #007bff;
    color: #ffffff;
    transform: scale(1.05);
  }

  .home-button:active {
    /*transform: translateY(4px);*/
    /*box-shadow: none;*/
    transform: scale(0.97);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
  }

.heading {
  text-align: center;
  margin-bottom: 7rem;
}

  /*Search Fields*/
  
  #search-input {
    
    display: inline-block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50px;
  }


.search-page {
  margin-top: 20vh;
  
}

.form-wrapper {
  max-width: 700px;
  width: 100%;
}


.form-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}



#search-suggestions {
  position: absolute;
  background-color: white;
  border: 1px solid #cccccc;
  border-radius: 6px;
  top: 100%;
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
  margin-top: 5px;
  display: none;
}

.result-list {
  padding: 10px;
  cursor: pointer;
}

.result-list:hover {
  background-color: #cfe2ff;
}

#results-container {
  margin-top: 4rem;
}

/*Forms*/

.btn-close {
  display: flex;
  justify-content: right;
}

table {
  border-collapse: collapse;
}


.table tbody tr {
  border-bottom: 1px solid #dee2e6;
}

thead th {
  background-color: #f1f3f5 !important;
  font-weight: 600;
  padding: 12px 8px;
}

table td, table th {
  padding: 10px;
  font-size: 0.95rem;
}


.card {
  max-width: 100%;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
}

.card-body {
  max-width: 100%;
  width: 100%;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

td:first-child {
  text-align: left;
}

td:last-child {
  text-align: right;
}

.table {
  max-width: 100%;
  width: 100%;
}

.table-container {
  background-color: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.set-template {

  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.notes-section {
  width: 60%;
  max-width: 500px;
}


/*MEDIA QUERIES:*/

/* Small devices (phones, less than 767px) */
@media (max-width: 767px) {
  .navbar-brand {
    font-size: 1.2rem;
  }
  .nav-link {
    font-size: 0.9rem;
  }
  footer .container {
    text-align: center;
    font-size: 0.8rem;
  }
  .form-container {
    width: 90%;
    max-width: 300px;
  }

  .exercise-link {
    text-decoration: underline;
    color: #226199;
    font-weight: bold;
  }

  .exercise-name {
    font-weight: bold;
  }
  
  .workouts-table thead {
    display: none;
  }

  .workouts-table,
  .workouts-table tbody,
  .workouts-table tr,
  .workouts-table td {
    display: block;

  }

  .workouts-table tr {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 0.75rem;
    padding: 0.75rem;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .workouts-table td {
    display: block;
    padding: 0.5rem;
    border: none !important;
  }
  
  .workout-header {
    display: none;
  }

  /* Add labels before each td using attr(data-label) */
  .set-weight::before {
    content: attr(data-label) ":" "\00a0";

  }

  .workouts-table td::before {
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.25rem;
    color: #555;
  }

  .set-weight::after {
    content: attr(data-reps);
  }

  .set-reps {
    display: none !important;
  }



  .edit-button--text {
    display: none;
  }
}


/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  html {
    font-size: 16px;
  }
  .nav-link {
    padding: 0.5rem 0.75rem;
  }
  .form-container {
    width: 100%;
  }
  #search-input {
    width: 100%;
  }
  .edit-button--text {
    display: none;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .navbar-brand {
    font-size: 1.5rem;
  }
  .form-container {
    width: 700px;
  }
  #search-input {
    width: 100%;
  }
}


body {
  /*background: url('/images/exercises.jpg') no-repeat center center fixed;*/
  /*background-color: rgba(173, 216, 230, 0.6);*/
  /*background-blend-mode: lighten;*/
  margin-bottom: 60px;

}
 
