Refactor this code:

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto+Condensed:ital,wght@0,500;1,500&display=swap');

body, html {
    font-family: 'Roboto Condensed', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    margin: 0;
}

header a {
    text-decoration: none;
    color: inherit;
}

header h1 {
    margin: 0;
    font-size: 22px;
}

header input[type="search"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 200px;
}

.icons a {
    margin-left: 10px;
}

main {
    padding: 20px;
    flex: 1;
    margin-top: -22px;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

main#home, main#user, main#search, main#exercise {
    width: 100%;
    flex: 1;
    display: block;
}

main#home {
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
}

.arrow-up {
    color: green;
}

.arrow-right {
    color: gray;
}

.suggested-exercises ul {
    list-style: none;
    padding: 0;
}

.tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 7px 0;
    cursor: pointer;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    margin: 0 -1px; /* Slight overlap to remove gaps */
}

.tab:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 3px;
    margin-left: 0;
}

.tab:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 3px;
    margin-right: 0;
}

.tab.active {
    background-color: #fff;
    border-bottom: none;
    z-index: 1;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.exercise-details img {
    width: 100%;
}

.back-link {
    display: inline-block;
    padding: 12px 20px;
    background-color: #f0f0f0;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    margin-right: 20px;
    margin-bottom: 11px;
    transition: background-color 0.3s ease;
}

.back-link:hover {
    background-color: #e0e0e0;
}

.back-search-container {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.back-search-container .back-link {
    flex: 0 0 auto;
    margin-right: 10px;
}

.back-search-container input[type="search"] {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Ensure the header and its elements are properly aligned and have correct z-index values */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    margin: 0;
    position: relative; /* Add this to ensure z-index works */
    z-index: 10; /* Set a high z-index value to keep it on top */
}

.icons a {
    margin-left: 10px;
    position: relative; /* Add this to ensure the icons are clickable */
    z-index: 11; /* Set a higher z-index value for icons */
}

/* Make sure the content wrapper is below the header */
.content-wrapper {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    z-index: 1; /* Ensure content is below the header */
}

.main-content {
    width: 100%;
    flex: 1;
    display: block;
}

table {
    width: 100%;
    border-collapse: separate; /* Change from 'collapse' to 'separate' */
    border-spacing: 0; /* Add spacing for the border-radius to take effect */
    border-radius: 10px; /* Apply border-radius to the table */
    overflow: hidden; /* Ensure the rounded corners are visible */
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
}

/* Apply rounded corners to the first and last cell in the header */
thead th:first-child {
    border-top-left-radius: 10px;
}

thead th:last-child {
    border-top-right-radius: 10px;
}

/* Apply rounded corners to the first and last cell in the last row of the table body */
tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

/* Add these styles to App.css */
.tab-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-content ul li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.tab-content ul li:hover {
    background-color: #f8f8f8;
    cursor: pointer;
}
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

input[type="text"] {
    width: calc(100% - 2em); /* Adjust width to leave space for the 'kg' suffix */
    border: none;
    outline: none;
    padding: 8px;
    box-sizing: border-box;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Roboto Condensed', sans-serif;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    font-family: 'Roboto Condensed', sans-serif;
}

input[type="text"] {
    width: calc(100% - 2em); /* Adjust width to leave space for the 'kg' suffix */
    border: none;
    outline: none;
    padding: 8px;
    box-sizing: border-box;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Roboto Condensed', sans-serif;
}

th, td {
    border: 1px solid #ddd;
    padding: 4px; /* Reduce padding to make cells narrower */
    text-align: left;
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.2; /* Adjust line-height to reduce cell height */
}

input[type="text"] {
    width: calc(100% - 2em); /* Adjust width to leave space for the 'kg' suffix */
    border: none;
    outline: none;
    padding: 4px; /* Reduce padding to match cell height */
    box-sizing: border-box;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    line-height: 1.2; /* Adjust line-height to match cell height */
}
/* App.css */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
}

.arrow-up {
    color: green;
}

.arrow-right {
    color: gray;
}

.suggested-exercises ul {
    list-style: none;
    padding: 0;
}

.tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 7px 0;
    cursor: pointer;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    margin: 0 -1px; /* Slight overlap to remove gaps */
}

.tab:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 3px;
    margin-left: 0;
}

.tab:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 3px;
    margin-right: 0;
}

.tab.active {
    background-color: #fff;
    border-bottom: none;
    z-index: 1;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.exercise-details img {
    width: 100%;
}

.back-link {
    display: inline-block;
    padding: 12px 20px;
    background-color: #f0f0f0;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    margin-right: 20px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.back-link:hover {
    background-color: #e0e0e0;
}

.back-search-container {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.back-search-container .back-link {
    flex: 0 0 auto;
    margin-right: 10px;
}

.back-search-container input[type="search"] {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-bottom: 10px;
}

.total-progress-label {
    text-align: right;
    font-weight: bold;
    background-color: #f4f4f4;
}

.total-progress-value {
    background-color: #f4f4f4;
}
/* App.css */

/* ... other styles ... */

.total-progress-label {
    text-align: right;
    font-weight: bold;
    background-color: #f4f4f4;
}

.total-progress-value {
    background-color: #f4f4f4;
}

/* ... other styles ... */
/* App.css */

/* ... other styles ... */

.total-progress-label {
    text-align: right;
    font-weight: bold;
    background-color: #f4f4f4;
}

.total-progress-value {
    background-color: #f4f4f4;
}

/* ... other styles ... */
/* App.css */

/* ... other styles ... */

.total-progress-label {
    text-align: right;
    font-weight: bold;
    background-color: #f4f4f4;
}

.total-progress-value {
    background-color: #f4f4f4;
}

/* ... other styles ... */
/* App.css */

/* ... other styles ... */

.table-wrapper {
    position: relative;
  }
  
  .total-progress-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
  }
  
  .total-progress-label {
    text-align: right;
    font-weight: bold;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 4px 0 0 4px;
  }
  
  .total-progress-value {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-left: none;
    padding: 8px;
    border-radius: 0 4px 4px 0;
  }
  
  /* ... other styles ... */
  /* App.css */

/* ... other styles ... */

.table-wrapper {
    position: relative;
  }
  
  .total-row .empty-cell {
    background-color: #f4f4f4;
    border: none;
  }
  
  .total-row .total-progress-label {
    text-align: right;
    font-weight: bold;
    background-color: #f4f4f4;
    border-top: 2px solid #ddd;
    border-left: 2px solid #ddd;
  }
  
  .total-row .total-progress-value {
    background-color: #f4f4f4;
    border-top: 2px solid #ddd;
  }
  
  /* ... other styles ... */
  /* App.css */

/* ... other styles ... */

.table-wrapper {
    position: relative;
  }
  
  .total-row td {
    background-color: transparent;
  }
  
  .total-row .total-progress-label {
    text-align: right;
    font-weight: bold;
    background-color: #f4f4f4;
    border-top: 2px solid #ddd;
  }
  
  .total-row .total-progress-value {
    background-color: #f4f4f4;
    border-top: 2px solid #ddd;
  }
  
  /* ... other styles ... */
  /* App.css */

/* ... other styles ... */

.table-wrapper {
    position: relative;
  }
  
  .total-row .no-border {
    border: none;
    background-color: transparent;
  }
  
  .total-row .total-progress-label {
    text-align: right;
    font-weight: bold;
    background-color: #f4f4f4;
    border-top: 2px solid #ddd;
  }
  
  .total-row .total-progress-value {
    background-color: #f4f4f4;
    border-top: 2px solid #ddd;
  }
  
  /* ... other styles ... */
  .total-row .total-progress-value {
    background-color: #f4f4f4;
    border: 2px solid #ddd;  /* Add this line */
}
.total-row .total-progress-label,
.total-row .total-progress-value {
  background-color: #f4f4f4;
  border: 2px solid #ddd;  /* Add border to both the label and value cells */
}



.total-row .total-progress-value {
  border-left: none;  /* Remove left border from the value cell */
}
.back-link, .add-set {
    display: inline-block;
    padding: 12px 20px;
    background-color: #f0f0f0;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    margin-right: 20px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.back-link:hover, .add-set:hover {
    background-color: #e0e0e0;
}

.add-set {
    cursor: pointer;
}
.back-link, .add-set, .related-btn, .history-btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #f0f0f0;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    margin-right: 10px;
    margin-bottom: 0.8px;
    transition: background-color 0.3s ease;
}

.back-link:hover, .add-set:hover, .related-btn:hover, .history-btn:hover {
    background-color: #e0e0e0;
}

.add-set, .related-btn, .history-btn {
    cursor: pointer;
}
.related-btn, .history-btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #f0f0f0;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    margin-top: 6px; /* Add margin-top to move buttons down */
    margin-right: 8px; /* Maintain the margin-right */
    margin-bottom: -3px;
    transition: background-color 0.3s ease;
}

.related-btn:hover, .history-btn:hover {
    background-color: #e0e0e0;
}
header input[type="search"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 200px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    font-weight: bold;
}
header input[type="search"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 200px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    font-weight: bold;
}

header input[type="search"]::placeholder {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    font-weight: bold;
}
/* Search input styles */
header input[type="search"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 200px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    font-weight: bold;
}

header input[type="search"]::placeholder {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    font-weight: bold;
}

/* Tab styles */
.tabs .tab {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    font-weight: 10px;
    text-align: center;
    padding: 5px 0;
    cursor: pointer;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    flex: 1;
    margin: 0 -1px;
}

.tab:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 3px;
    margin-left: 0;
}

.tab:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 3px;
    margin-right: 0;
}

.tab.active {
    background-color: #fff;
    border-bottom: none;
    z-index: 1;
}
header input[type="search"],
.back-search-container input[type="search"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 200px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    font-weight: 4px;
}

header input[type="search"]::placeholder,
.back-search-container input[type="search"]::placeholder {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    font-weight: 4px;
}
/* Ensure the main content area takes up full width */
main#exercise {
    width: 100%;
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

/* Ensure the table fills the full width of the container */
.table-wrapper {
    width: 100%;
    overflow: auto; /* Allows scrolling if the table is too wide */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    table-layout: fixed; /* Ensures table takes full width */
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
}

.total-progress-label {
    text-align: right;
    font-weight: bold;
    background-color: #f4f4f4;
    border-top: 2px solid #ddd;
}

.total-progress-value {
    background-color: #f4f4f4;
    border-top: 2px solid #ddd;
}

.exercise-details {
    padding: 20px;
    margin-top: -18px;
}
/* App.css */
.table-wrapper {
    position: relative;
}

.total-row .no-border {
    border: none;
    background-color: transparent;
}

.total-row .total-progress-label {
    text-align: right;
    font-weight: bold;
    background-color: #f4f4f4;
    border-top: 2px solid #ddd;
}

.total-row .total-progress-value {
    background-color: #f4f4f4;
    border-top: 2px solid #ddd;
}
/* App.css */
.arrow-up {
    color: green;
  }
  
  .arrow-down {
    color: red;
  }
  
  .table-wrapper {
      position: relative;
  }
  
  .total-row .no-border {
      border: none;
      background-color: transparent;
  }
  
  .total-row .total-progress-label {
      text-align: right;
      font-weight: bold;
      background-color: #f4f4f4;
      border-top: 2px solid #ddd;
  }
  
  .total-row .total-progress-value {
      background-color: #f4f4f4;
      border-top: 2px solid #ddd;
  }
  /* General tab styles */
.tab {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    font-weight: normal;
    text-align: center;
    padding: 7px 0;
    cursor: pointer;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    flex: 1;
    margin: 0 -1px; /* Slight overlap to remove gaps */
    color: #333; /* Ensure text color is consistent */
}

.tab:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 3px;
    margin-left: 0;
}

.tab:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 3px;
    margin-right: 0;
}

.tab.active {
    background-color: #fff;
    border-bottom: none;
    z-index: 1;
    color: #000; /* Active tab text color */
}

.tab:hover {
    background-color: #e0e0e0; /* Hover effect for tabs */
}

/* Active tab content styles */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
.arrow-up {
    color: green;
}

.arrow-down {
    color: red;
}

.arrow-right {
    color: gray;
}
.progress-chart {
    margin-top: 20px;
  }
  
.progress-chart h2 {
    margin-bottom: 20px;
  }
  
.progress-chart canvas {
    max-width: 100%;
  }

  /* App.css */

/* Ensure charts are responsive and styled */
.chart-container {
    margin-top: 20px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.chart-container h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.chart-container canvas {
    max-width: 100%;
}

.chart-legend {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    color: #333;
}

.chart-tooltip {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12px;
    color: #333;
}

  
.back-link, .add-set, .related-btn, .history-btn, input[type="search"], .tab {
    border-radius: 25px;
  }
  
  table {
    border-radius: 15px;
    overflow: hidden;
  }
  .back-link, .add-set, .related-btn, .history-btn, input[type="search"], table {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .progress-chart {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  * {
    transition: all 0.3s ease;
  }
  .total-row {
    border: none;
    background-color: transparent;
    box-shadow: none;
  }
  
  
  /* General table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

/* Arrow styles */
.arrow-up {
    color: green;
}

.arrow-right {
    color: gray;
}

/* Progress chart styles */
.progress-chart {
    margin-top: 0px;
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0);
}

/* Total row styling */
.total-row .no-border {
    border: none;
    background-color: transparent;
    box-shadow: none; /* Ensure no shadow for empty cells */
}

.total-row .total-progress-label,
.total-row .total-progress-value {
    background-color: #f4f4f4;
    border-top: 2px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Keep the shadow */
}

/* Extra cell shadow removal */
.empty-cell {
    box-shadow: none !important; /* Ensure no shadow for empty cells */
}

/* Box shadow for other elements */
.back-link, .add-set, .related-btn, .history-btn, input[type="search"], .tab, table {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0);
}

/* Auth Container Styling */
.auth-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto Condensed', sans-serif;
}

/* Input Fields */
.auth-container input[type="email"],
.auth-container input[type="password"] {
    width: calc(100% - 2em);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Button Styling */
.auth-container button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background-color: #f4f4f4;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.auth-container button:hover {
    background-color: #e0e0e0;
}

/* Auth Links Styling */
.auth-container p button {
    background: none;
    border: none;
    color: #000000;
    cursor: pointer;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    font-weight: bold;
    transition: color 0.3s ease;
}

.auth-container p button:hover {
    color: #000000;
}

/* Heading Styling */
.auth-container h1 {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.auth-container {
    max-width: 300px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
  }
  
  h1 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  form {
    display: flex;
    flex-direction: column;
  }
  
  input {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
  }
  
  button {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
  }
  
  button:disabled {
    background-color: #cccccc;
  }
  
  .toggle-auth {
    background: none;
    border: none;
    color: #4CAF50;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    text-decoration: underline;
  }

  /* Input Fields */
.auth-container input[type="email"],
.auth-container input[type="password"],
.auth-container input[type="text"],  /* Add this line */
.auth-container input[type="date"] {  /* Add this line */
    width: calc(100% - 2em);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Other existing styles remain unchanged */
/* Input Fields */
.auth-container input[type="email"],
.auth-container input[type="password"],
.auth-container input[type="text"],
.auth-container input[type="date"] {
    width: 100%;  /* Ensures all input fields take up the full width of their container */
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Ensures padding and borders are included in the width calculation */
}
/* Other existing styles... */

/* Auth Links Styling */
.auth-container p button {
    background: none;
    border: none;
    color: #000000;
    cursor: pointer;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    font-weight: bold;
    transition: color 0.3s ease;
    text-decoration: none;  /* Ensure no underline */
}

.auth-container p button:hover {
    color: #000000;
}

.auth-toggle-text {
    position: relative;
    top: -5px;  /* Adjust this value to raise the text */
}


.auth-toggle-text button {
    position: relative;
    top: 15px;  /* Adjust this value to keep the button in its original position */
}
/* Add these styles to your App.css file */

.auth-container {
    max-width: 320px;
    width: 50%;
    margin: 100px auto;
    padding: 40px;
  }
  
  /* ... (keep other existing styles) ... */

  /* Add these styles to your App.css file */

.auth-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
  }
  

  
  .auth-container {
    max-width: 400px;
    width: 100%;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto Condensed', sans-serif;
  }
  
  .auth-container h2 {
    text-align: center;
    margin-bottom: 20px;
  }
  
.auth-container {
    max-width: 320px;
    width: 90%;
    margin: 100px auto;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
  }
  
  .auth-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    color: #333;
    margin-bottom: -6px;
    margin-left: 7px;
  }
  
  /* ... (keep other existing styles) ... */

.sign-out-button {
    padding: 12px;
    border: none;
    border-radius: 35px;
    background-color: #f4f4f4;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    
}
.sign-out-button:hover {
    background-color: #e0e0e0;
}
/* Add these to your App.css file */

.content-wrapper {
    transition: opacity 0.3s ease;
  }
  
  .search-results {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .search-results.active {
    opacity: 1;
  }
  
  input[type="search"] {
    width: 200px;
    transition: width 0.3s ease;
  }
  
  input[type="search"]:focus {
    width: 300px;
  }
  
  .search-results ul {
    list-style: none;
    padding: 0;
  }
  
  .search-results li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
  }
  
  .search-results li:hover {
    background-color: #f0f0f0;
  }

/* Ensure the tabs container takes up full width */
.tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    width: 100%;
}

/* Make each tab take up equal space */
.tab {
    flex-grow: 1;
    text-align: center;
    padding: 7px 0;
    cursor: pointer;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    margin: 0 -1px; /* Slight overlap to remove gaps */
    border-radius: 0; /* Remove rounded corners for full-width tabs */
}

/* Ensure no margins between the tabs and make them fill the container */
.tab:first-child {
    margin-left: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 3px;
}

.tab:last-child {
    margin-right: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 3px;
}

/* Active tab styling */
.tab.active {
    background-color: #fff;
    border-bottom: none;
    z-index: 1;
}
/* Ensure the main container occupies full width */
#search {
    width: 100%;
    padding: 20px; /* Adjust padding as needed */
    box-sizing: border-box;
}

/* Ensure the tabs container takes up full width */
.tabs {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: -21px 0;
}

/* Make each tab take up equal space */
.tab {
    flex-grow: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    margin: 0 -1px;
}

/* Adjust margins and border radius */
.tab:first-child {
    margin-left: -21px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.tab:last-child {
    margin-right: -21px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Styling for the active tab */
.tab.active {
    background-color: #fff;
    border-bottom: none;
    z-index: 1;
}
.tab-content {
    margin-top: 25px;
    border-top: none; /* Remove top border to connect with the active tab */
    background-color: #fff;
    box-sizing: border-box;
}

/* Ensure tab content is properly contained */
.tab-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-content ul li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.tab-content ul li:hover {
    background-color: #f8f8f8;
    cursor: pointer;
}
header input[type="search"] {
    margin-right: auto; /* This pushes the search bar to the right side */
    margin-left: 15px;
    margin-top: 10px;
    padding: 6.5px 10px; /* Reduce padding inside the search bar */

}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 11px; /* Reduce padding to make the header more compact */
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    height: 53px; /* Optional: Set an explicit height if needed */
}
header input[type="search"]:focus {
    width: 400px; /* Width when focused */
}
.today-exercises {
    margin-top: 18px;
}
.exercise-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .exercise-header h2 {
    margin: 0;
    margin-top: 10px;
  }

.table-wrapper{
    margin-top: -18px;
}

.username {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    color: #333;
    margin-bottom: -6px;
    font-weight: 600;
  }

header input[type="search"] {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    font-weight: 300; /* Change font-weight to lighter */
    color: #333; /* Ensure the text color is set correctly */
}

header input[type="search"]::placeholder {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    font-weight: 300; /* Change font-weight for placeholder text to lighter */
    color: #999; /* Adjust placeholder text color if needed */
}

  .submit-btn .icon {
    display: inline-block;
    padding: 12px 20px;
    background-color: #f0f0f0;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    margin-right: 20px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
  }
  
  .submit-btn.show-icon .icon {
    opacity: 1;
    color: green;
  }
  
  .spinner {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000000;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    100% {
      transform: rotate(360deg);
    }
  }

.submit-btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #f0f0f0;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    margin-right: 10px;
    margin-bottom: 0.8px;
    transition: background-color 0.3s ease;
}


  
  .submit-btn .icon .tick {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    color: green; /* Explicitly set the tick color to green */
  }
  
  .submit-btn.show-icon .icon {
    opacity: 1;
  }
  
  .spinner {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: #22a6b3;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    100% {
      transform: rotate(360deg);
    }
  }
  
 
  
  .icon {
    margin-right: 10px;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
  }
  
  .tick {
    color: green;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  
  .show-tick .tick {
    opacity: 1;
  }
  
  .spinner {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: #22a6b3;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: none;
  }
  
  .show-spinner .spinner {
    display: inline-block;
  }
  
  @keyframes spin {
    100% {
      transform: rotate(360deg);
    }
  }

  .submit-btn {
    display: inline-block;
    font-family: 'Roboto Condensed', sans-serif;
    padding: 12px 20px;
    background-color: #f0f0f0;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    margin-right: 10px;
    margin-bottom: 0.8px;
    transition: background-color 0.3s ease;
    position: relative; /* Ensure relative positioning for proper child alignment */
}

.icon {
    position: relative; /* Ensure icons are positioned relative to this container */
    width: 16px; /* Ensure the container has the same size as the icons */
    height: 16px;
}


.spinner, .tick {
    position: absolute;
    top: 0;
    left: 0;
}

.spinner {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000000;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: none;
    right: 20px;
}

.show-spinner .spinner {
    display: inline-block;
}

.tick {
    color: green;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.show-tick .tick {
    opacity: 2.5;
}

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