* {
  margin: 10px;
  padding: 2px;
  padding: 0;
  box-sizing: border-box;
}

/* html {
  background-image: -webkit-linear-gradient(to bottom, white 0%, #003057 100%);
  background-image: -moz-linear-gradient(to bottom, white 0%, #003057 100%);
  background-image: -o-linear-gradient(to bottom, white 0%, #003057 100%);
  background-image: linear-gradient(to bottom, white 0%, #003057 100%);
} */

body {
  font-family: Arial, sans-serif;
  /* margin: 0; */
  margin: 15px auto;
  min-height: 1000px;
  padding: 2em;
  padding: 0;
  background-color: white;
  width: 100%;
}

.container {
  width: 100%;
  /* width: 1200px; */
  /* min-height: 1200px; */
  /* margin-left: auto;
  margin-right: auto; */
  margin: 0 auto;
  border: 2px solid #c6c5b9;
  border-radius: 25px;
  box-shadow: 5px 5px 0 0 #c6c5b9;
}

main {
  /* padding: 0%; */
  /* padding: 2em; */
  /* padding-right: 1em; */
  min-height: 1000px;
}

header,
footer {
  background-color: white;
  /* color: black; */
  /* padding: 1rem; */
  text-align: left;
}
h1 {
  /* margin-left: 2rem; */
  color: #22527b;
  font-size: 2rem;
  font-weight: bold;
}

h2 {
  /* margin-left: 2rem; */
  color: #22527b;
  font-size: 1.8rem;
  font-weight: 500;
}

h3 {
  margin-left: 2rem;
  color: #22527b;
  font-size: 1rem;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
  margin-left: 2rem;
}

.copyright {
  margin-top: 8rem;
  height: 3rem;
  color: #22527b;
  /* color: rgb(56, 56, 155); */
}

.today {
  margin-top: 1rem;
  margin-bottom: 3rem;
  height: 3rem;
  /* color: rgb(56, 56, 155); */
  color: #22527b;
}
.welcome {
  width: 50%;
  margin-top: 1rem;
  margin-left: 1rem;
  margin-bottom: 8rem;
  height: 3rem;
  /* color: rgb(117, 28, 50); */
  color: maroon;
}

/* new menu */
.menu-container {
  width: 100%;
  background-color: #333;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
  padding: 6px 12px;
  cursor: pointer;
  background-color: #333;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  background-color: #22527b;
}

.menu > li {
  margin: 0;
}

.menu > li a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 4px 10px;
  line-height: 1.2;
  font-size: 0.9rem;
}

.menu > li:hover {
  background-color: #b73338;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .menu > li {
    width: 100%;
  }

  .menu > li a {
    padding: 6px 12px;
    font-size: 1rem;
  }
}




.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  /* background-color: #444; */
  background-color: #888;
  list-style: none;
  margin: 0;
me  padding: 0;
  min-width: 150px;
  z-index: 1;
}

.submenu li a {
  display: block;
  padding: 5px;
  color: white;
  text-decoration: none;
}

.submenu li a:hover {
  background-color: #777;
}

.dropdown.active .submenu {
  display: block;
}

.dropdown .submenu {
  display: none;
}

.dropdown.active .submenu {
  display: block;
}

/* Styles from legacy pages */

.glyphicon {
  color: #b73338;
}

.glyphicon-chevron-right {
  color: #fff;
}

.glyphicon-chevron-up {
  color: #fff;
}

.glyphicon-chevron-down {
  color: #fff;
}

.glyphicon-minus-sign {
  color: #fff;
}

.glyphicon-sort {
  color: #fff;
}

textarea.form-control {
  height: 100%;
}

.btn-primary {
  color: #fff;
  background-color: #22527b;
  border-color: #2e6da4;
  line-height: 10px;
}

.btn-primary:hover {
  background-color: #b73338;
  border-color: #b73338;
}

.btn-primary-indented {
  color: #fff;
  background-color: #22527b;
  border-color: #2e6da4;
  line-height: 10px;
  margin-left: 1em;
}

.btn-danger {
  color: #fff;
  background-color: #b73338;
  border-color: #b73338;
  line-height: 10px;
}

.btn-success {
  color: #fff;
  background-color: #33b7b2;
  border-color: #33b7b2;
  line-height: 10px;
}

.btn-info {
  color: #fff;
  background-color: #337ab7;
  border-color: #337ab7;
  line-height: 10px;
}

.btn-xs,
.btn-group-xs > .btn {
  padding: 1px 5px;
  font-size: 10px;
  line-height: 1.3;
  border-radius: 3px;
}

div.figure {
  float: right;
  width: 210px;
  border: 1px;
  margin: 0.5em;
  padding: 0.5em;
}

div.figure p {
  text-align: center;
  font-style: italic;
  font-size: smaller;
  text-indent: 0;
}

#workout_table {
  width: 98%;
  font-size: 0.8em;
  text-align: left;
  line-height: 120%;
  margin-left: 1rem;
}

#workout_table td {
  font-size: 0.8em;
  border: 1px solid #22527b;
  line-height: 120%;
  padding: 3px 4px 2px 4px;
  /* padding: 3px 0; */
}

/* #workout_table,
#workout_table td {
  font-size: 0.7em;
  text-align: left;
  border: 1px solid #22527b;
  line-height: 120%;
  padding: 3px 4px 2px 4px;
} */

#workout_table th {
  font-size: 1em;
  text-align: left;
  /* border: 1px solid #22527b; */
  padding: 3px 6px 2px 6px;
  background: #22527b;
  color: #fff;
}

#workout_table th.title {
  font-size: 1.5em;
  text-align: left;
  /*border: 1px solid #22527b;*/
  padding: 3px 6px 2px 6px;
  background: #22527b;
  color: #fff;
}

#workout_table th.attach_exercises {
  font-size: 1em;
  text-align: left;
  /*border: 1px solid #22527b;*/
  /* padding: 3px 6px 2px 6px; */
  padding: 3px 3px 3px 3px;

  background: #22527b;
  color: #fff;
}

#workout_table th.subheader {
  font-size: 1em;
  text-align: left;
  /* border: 1px solid #33B7B2; */
  padding: 3px 6px 2px 6px;
  background: #33b7b2;
  color: #fff;
}

#workout_table th a {
  color: #fff;
}

#workout_table th .special {
  font-size: 1em;
  text-align: left;
  /* border: 1px solid #22527b; */
  padding: 3px 6px 2px 6px;
  background: #22527b;
  color: #fff;
}

.small_tb_input {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  /* background-color:  #22527b; */
  background-color: white;
  /* color: white; */
  /* font-size: 1em;  */
  font-size: 1em;
  width: 4em;
  margin-bottom: 1em;
  height: 1.5em;
}

.small_tb_input_special {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  /* background-color:  #22527b; */
  /* background-color: #22527b; */
  color: #22527b;
  font-size: 1em;
  font-weight: 800;
  width: 2em;
  margin-bottom: 0.5em;
  height: 1.5em;
  font-color: #22527b;
  border: 1px solid #22527b;
}

.small_tb_input_tempo {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1em;
  width: 1.5em;
  margin-bottom: 1em;
  height: 1.5em;
}

.small_tb_input_tempo_dark {
  background-color: #22527b;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1em;
  width: 2em;
  margin-bottom: 1em;
  height: 1.5em;
  border: 1px solid #fff;
}

.small_tb_input_dark {
  background-color: #22527b;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 2em;
  width: 3em;
  margin-bottom: 1em;
  height: 1.5em;
  border: 1px solid #fff;
}

.large_tb_input {
  /* background-color:  #22527b; */
  background-color: white;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1em;
  width: 30em;
  margin-bottom: 1em;
  height: 1.5em;
  border: 1px solid #22527b;
}

.float_right {
  float: right;
}

.history_text {
  font-size: 1em;
  /* line-height: 2; */
  /* color: #333; */
  /* background-color: #fff; */
}

/* .history_text {
  font-size: 1em;
  color: #22527b;
} */

.auth-icon a:hover {
  color: #0d6efd; /* Bootstrap primary blue */
}

.dd_col {
  width: 30em;
  margin-left: 2em;
}

.report-recent-sessions {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.report-session {
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 1rem;
  background-color: #fafafa;
  /* background: #75abd9; */
}

.report-session-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: 1rem; */
  height: 0.5em;
}

.report-session-header h2 {
  margin: 0;
  /* font-size: 1.2rem; */
  font-size: 0.8em;
  font-weight: bold;
}

.report-edit-link {
  font-size: 0.8rem;
  color: #22527b;
  text-decoration: none;
}

.report-edit-link:hover {
  text-decoration: underline;
  color: #b73338;
}

.report-exercise {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 1rem;
  /* padding: 0.5em 0; */
  border-top: 1px dashed #ccc;
  /* border-bottom: 1px dashed #ccc; */
  height: 2em;
  font-size: 0.8em;
}

.report-exercise-name {
  margin-left: 0;
  padding-left: 0;
}

.report-exercise:first-of-type {
  border-top: none;
}

.report-exercise-seq {
  font-weight: bold;
  margin-right: 0;
  padding-right: 0;
}

.report-exercise-weights {
  /* font-family: monospace; */
  color: #444;
}

.date-wrapper {
  white-space: nowrap;
}

.chevron {
  cursor: pointer;
  margin: 0 0; /* 2px spacing for fine-tuned closeness */
  font-weight: bold;
  color: #22527b;
  user-select: none;
  font-size: 150%;
}

.chevron:hover {
  text-decoration: underline;
  color: #b73338;
}

/* New Development */
.exercise-row,
.exercise-header {
  display: flex;
  gap: 1px;
  /* margin-bottom: 4px; */
  font-size: 0.8rem;
  margin: 0;
}

.primary-background {
  background-color: #22527b;
}

.exercise-row .label,
.exercise-header .label {
  width: 80px;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 0.8rem;
  margin: 0;
}

.exercise-row .cell,
.exercise-header .cell {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  padding: 0;
  margin: 0;
}

.exercise-row input {
  width: 100%;
  padding: 0;
  text-align: center;
  font-size: 0.8rem;
}

.units_data {
  font-size: 0.8em;
}

.units-header,
.units_row {
  font-size: 0.8em;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.5;
}

/* Optional: apply same to children */
.units-header > div {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  margin-bottom: 0.25em;
}

.units_row > div {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  margin-bottom: 1em;
}

.exercise-block {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  background-color: #f8f8f8;
}

.input-sm {
  height: 32px;
  /* height: 24px; */
  font-size: 0.9rem;
  padding: 4px 8px;
  line-height: 1.2;
  margin-bottom: 0;
}

.form-tight .input-sm {
  margin-right: 6px;
}

/* .exercise-row, .exercise-header {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
} */

/* 
.exercise-row .label, .exercise-header .label {
  width: 60px;
  font-weight: bold;
  text-align: right;
  margin-right: 8px;
} */

.exercise-row .cell,
.exercise-header .cell {
  margin-right: 4px;
}

input[type="text"].form-control {
  padding: 2px 4px;
  height: 28px;
  font-size: 0.9em;
}

.exercise-name-header {
  font-size: 1.2rem;
  /* background-color: #343a40; */
  background-color: #75abd9;

  color: white;
  text-align: center;
}

.exercise-category {
  font-weight: 300;
  color: #eeebeb;
}

.exercise-name {
  font-weight: bold;
  color: white;
}

/* .exercise-name-header {
  transition: opacity 0.4s ease-in-out;
  opacity: 1;
}

.exercise-name-header.fade {
  opacity: 0;
}

.exercise-category {
  font-weight: 300;
  color: #888;
}

.exercise-name {
  font-weight: bold;
  color: #000;
} */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  width: 300px;
  border-radius: 8px;
  position: relative;
}

.close {
  position: absolute;
  top: 6px;
  right: 12px;
  color: #aaa;
  font-size: 28px;
  cursor: pointer;
}

#addCategoryBtn {
  margin-bottom: 15px;
}
