:root {
  --primary: #0078eb;
  --secondary: #1b2230;
  --accent: #252e41;
  --muted: #828282;
  --text-base: #ffffff;
  --text-muted: #a3a7b0;
  --text-accent: #d9d9d9;
  --text-nav: #acaeb4;
  --notifications-bg: #fe0202;
  --tag-bg: #374561;
  --add-project_border: #84a7bb;

  --hr-team-tag1: #feb620;
  --hr-team-tag2: #1ad699;
  --hr-team-tag3: #0078eb;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Globals */
body {
  background: var(--secondary);
  color: var(--text-base);
  max-width: 100vw;
  overflow-x: hidden !important;

  display: flex;
  align-items: flex-start;
}
html {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}
.container {
  width: 90%;
  max-width: 1580px;
  margin: 0 auto;
}
a {
  font-style: normal;
  font-weight: 400;
  text-decoration: none;
  color: var(--text-base);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
}
.flex {
  display: flex;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.justify-between {
  justify-content: space-between;
}
.justify-start {
  justify-content: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-end {
  justify-content: flex-end;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.cursor-pointer {
  cursor: pointer;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.text-accent {
  color: var(--text-accent);
}
.text-center {
  text-align: center;
}
.bg-accent {
  background: var(--text-accent);
}
.h-full {
  height: 100%;
}
.w-full {
  width: 100%;
}
.underline {
  text-decoration: underline;
}
button {
  border: none;
  background: none;
}
.borderr {
  border: 1px solid red;
}
.borderb {
  border: 1px solid blue;
}
button,
input {
  font-family: "Poppins";
}

.chips-div{
  width: 100%;
  display: grid;
  gap: 5px;
}

.btn{
  padding: 15px 20px;
  border-radius: 7px;
  background: var(--primary);
  color: var(--text-base);
  font-size: 16px;
  cursor: pointer;
}

.form-control{
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

input, select, textarea{
  padding: 15px 20px;
  border-radius: 5px;
  color: #FFF;
  /* background-color: initial; */
  background-color: var(--secondary);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 16px;
}

.container-login{
  border: 1px solid rgba(255,255,255,0.1);
  width: calc(100% - 40px);
  max-width: 600px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  align-self: center;
}

.form-login{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.form-login form{
  width: 100%;
}

.form-login h3{
  padding: 15px 0;
}

.body-login{
  min-height: 100vh;
}

.create{
  width: 100%;
  padding: 30px 0;
}

.form-wrapper{
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.form-wrapper .form-left{
  width: 60%;
}

.form-wrapper .form-right{
  width: 40%;
}

.checkbox-wrapper{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.seperator{
  margin-top: 40px;
  width: 100%;
  height: 1px;
  background-color: rgba(255,255,255,0.1);
}

.content-preview{
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
}

.content-preview ul{
  list-style: initial;
  padding: 10px 20px;
}

.content-preview h1, .content-preview h2, .content-preview h3, .content-preview h4, .content-preview h5, .content-preview h6 {
  padding: 15px 0;
  color: #ffffff; /* Heading colors for dark mode */
}

.content-preview a {
  color: #9af; /* Light blue for links to stand out */
}


.content-preview img {
  max-width: 100%; /* Ensures images are not wider than the container */
  height: auto;
}

.content-preview code {
  background-color: #353d4f;
  padding: 2px 4px;
  border-radius: 4px;
  color: #ff8383; /* Light red for code */
}

.content-preview pre {
  background-color: #353d4f;
  padding: 10px;
  border-radius: 5px;
  overflow: auto;
}

.content-preview .the-submission{
  width: 66.66%;
  background-color: #252e41;
  border-radius: 10px;
  padding: 20px 30px;
  color: #FFF;
  line-height: 30px;
}

.content-preview .the-content{
  width: 66.66%;
  background-color: #252e41;
  border-radius: 10px;
  padding: 20px 30px;
  color: #FFF;
  line-height: 30px;
}

.content-preview .content-sidebar, .content-preview .content-sidebar-edit-form, .content-preview .content-sidebar-delete-form{
  width: 33.33%;
  background-color: #252e41;
  border-radius: 10px;
  padding: 20px 30px;
  color: #FFF;
  line-height: 30px;
}

.content-preview .content-sidebar h3, .content-preview .content-sidebar-edit-form h3{
  margin-bottom: 0;
  padding-bottom: 0;
}

.content-preview .content-sidebar-edit-form, .content-preview .content-sidebar-delete-form{
  display: none;
}

.content-preview.is-edit-activated .content-sidebar, .content-preview.is-delete-activated .content-sidebar{
  display: none;
}

.content-preview.is-edit-activated .content-sidebar-edit-form{
  display: flex; 
  flex-direction: column;
}

.content-preview.is-delete-activated .content-sidebar-delete-form{
  display: flex; 
  flex-direction: column;
}

.content-preview .content-sidebar-delete-form .delete-content{
  width: 100%;
  display: flex;
  flex-direction: column;
}

.content-preview .content-sidebar-edit-form form{
  width: 100%;
  display: flex;
  flex-direction: column;
}

.info-line{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
}

.tags-wrapper{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.tags-wrapper .tag{
  padding: 5px 10px;
  background-color: #feb620;
  border-radius: 7px;
  text-decoration: none;
  color: #FFF;
}

.edit-delete-row{
  width: 100%;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 20px;
}

.edit-delete-row .edit{
  width: 100%;
  height: 40px;
  color: #FFF;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,0.5);;
}

.edit-delete-row .delete{
  width: 100%;
  height: 40px;
  color: #FFF;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.edit-delete-row .edit:hover, .edit-delete-row .delete:hover{
  background-color: rgba(255,255,255,0.5);
}

.save-cancel{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.save-cancel button{
  width: 70%;
}

.btn-outline{
  background-color: initial;
  text-align: center;
  box-shadow: inset 0 0 0 1px #FFF;
}

.btn-warning{
  background-color: #E57373;
}


.flex-info-line{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  gap: 7px;
}

.flex-info-line a{
  text-decoration: none;
}

@media screen and (max-width: 1390px) {
  html {
    font-size: 90%;
  }
}
@media screen and (max-width: 1024px) {
  html {
    font-size: 86%;
  }
}
/* ########## SIDEBAR ########## */
.sidebar {
  /* border: 1px solid grey; */
  min-height: 100vh;
  /*
  max-height: 100vh;
  overflow-y: auto;
  position: fixed;
  */
  padding: 1.5rem 1rem;
  background: var(--secondary);
  z-index: 10;
  box-shadow: 2px 0px 18px 4px rgba(0, 0, 0, 0.175);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: width 0.5s ease;
  /* max-width: 295px; */
  width: 350px;
  align-items: flex-start;
}
.sidebar.active {
  width: 350px;
  align-items: flex-start;
}
.sidebar::-webkit-scrollbar-track {
  background-color: var(--secondary);
}
.sidebar::-webkit-scrollbar-thumb {
  background-color: var(--accent);
  border-radius: 10px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-nav);
}

.sidebar::-webkit-scrollbar-corner {
  background-color: transparent;
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.logo {
  gap: 1rem;
}
.logo-img {
  width: 4rem;
  height: 4rem;
}
.logo span {
  font-size: 1.3rem;
  font-weight: 500;
  display: none;
}
.sidebar .logo span {
  display: block;
}

.sidebar .logo span.hamburger{
  display: none;
}

.sidebar.active .logo span {
  display: block;
}
.menu-btn {
  gap: 1rem;
}
.menu-btn span {
  color: var(--text-accent);
}
.menu-btn img {
  transition: all 0.3s ease;
}
.sidebar.active .menu-btn img {
  transform: rotate(180deg);
}
.navbar {
  margin-top: 2.5rem;
  width: 100%;
}
.navbar nav {
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.navbar nav img {
  width: 2rem;
  height: 2rem;
}
.navbar nav a,
.sidebar-footer a {
  gap: 0.9rem;
  color: var(--text-nav);
  padding: 0.8rem;
  border-radius: 0.75rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar .navbar nav a,
.sidebar .sidebar-footer a {
  justify-content: flex-start;
}

.sidebar.active .navbar nav a,
.sidebar.active .sidebar-footer a {
  justify-content: flex-start;
}
.tooltip-container {
  position: relative; /* Ensure positioning context for absolute tooltip */
}
.tooltip {
  visibility: hidden;
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-nav);
  opacity: 0.75;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 0.7rem;
  z-index: 20;
}
.element:hover .tooltip {
  visibility: visible;
}

.sidebar .tooltip {
  display: none;
}

.sidebar.active .tooltip {
  display: none;
}

.navbar nav a.active .tooltip,
.sidebar-footer a:active .tooltip {
  top: 93%;
}


.sidebar.active .navbar nav a span,
.sidebar.active .sidebar-footer a span {
  display: block;
}
.navbar nav a:hover,
.sidebar-footer a:hover {
  color: var(--text-base);
}
.navbar nav a.active,
.sidebar-footer a:active {
  background: var(--primary);
  color: var(--text-base);
}
.add-project {
  margin-top: 2rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  width: 100%;
}
.sidebar.active .add-project {
  background: var(--accent);
  border: 1px dashed var(--add-project_border);
}
.add-project:hover {
  border-color: var(--text-base);
}
.add-project_text {
  display: none;
}
.sidebar.active .add-project_text {
  display: block;
}
.add-project_icon {
  background: var(--primary);
  padding: 0.8rem;
  border-radius: 8px;
}
.add-project a {
  gap: 0.8rem;
}
.add-project p {
  font-size: 1.125rem;
}
.add-project span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.sidebar-footer {
  margin-top: 2rem;
}
/* ########## MAIN-SECTION & HEADER ########## */
.main-content {
  /* border: 1px solid orange; */
  padding: 0 2rem;
  width: calc(100% - 4rem);
  /*margin-left: 10%;*/
}
.main-content header {
  width: 100%;
}
.header-left {
  width: 64%;
}
.hamburger {
  display: none;
}
.searchbar {
  background-color: var(--accent);
  padding: 0rem 0 0rem 1.5rem;
  border-radius: 0.75rem;
  width: 100%;
}
.searchbar input {
  background: none;
  border: none;
  color: var(--text-base);
  padding: 1rem 0;
  padding-left: 1rem;
  font-size: 1rem;
  width: 100%;
  height: 100%;
}
.searchbar input:focus {
  outline: none;
}
.searchbar input::placeholder {
  color: var(--text-muted);
  font-size: 1rem;
}
.header-right {
  width: 35%;
  padding-left: 6rem;
  gap: 2em;
  justify-content: flex-end;
}
.notifications img {
  width: 2rem !important;
  height: 2rem !important;
}
.notifications-count,
.chat-count {
  position: absolute;
  top: 0;
  right: 3px;
  transform: translate(50%, -50%);
  background-color: var(--notifications-bg);
  color: var(--text-base);
  width: 1rem;
  height: 1rem;
  text-align: center;
  border-radius: 100%;
  font-size: 0.75rem;
}
.profile-dropdown {
  height: 100%;
}
.profile-dropdown .profile-dropdown_current {
  color: var(--text-accent);
  border: none;
  padding: 1rem 1.5rem;
  gap: 1rem;

  width: 100%;
  height: 100%;
}
.selected-dropdown {
  display: flex;
  gap: 0.75rem;
}
.selected-dropdown span {
  font-size: 1rem;
}
.selected-dropdown img {
  width: 2.125rem;
}
.profile-dropdown_chevron {
  transition: all 0.3s ease;
}
.profile-dropdown_chevron.active {
  transform: rotate(180deg);
}
.profile-dropdown_content {
  width: 80%;
  background: var(--accent);
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  gap: 1rem;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  min-width: 170px;
  margin: 0 auto;
  border-radius: 5px;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.18);
}
.profile-dropdown_content.active {
  height: auto;
}
.profile-dropdown_content button, .profile-dropdown_content a {
  font-size: 0.885rem;
  text-align: center;
  border-bottom: 1px solid rgba(128, 128, 128, 0.35);
  padding-bottom: 0.625rem;
  transition: color 0.25s ease;
  font-weight: 400;
  gap: 1rem;
  color: var(--text-muted);
}
.profile-dropdown_content button:hover, .profile-dropdown_content a:hover {
  color: var(--text-base);
}
.profile-dropdown_content button:first-child, .profile-dropdown_content a:first-child {
  padding-top: 1.1rem;
}
.profile-dropdown_content button:last-child, .profile-dropdown_content a:last-child {
  border-bottom: none;
  padding-bottom: 1.1rem;
}
.profile-dropdown_content button img, .profile-dropdown_content a img {
  width: 1.4rem;
  opacity: 0.725;
}
/* ########## MAIN-TAG ########## */
main {
  margin-top: 2rem;
  gap: 2.5rem;
  width: 100%;
  /*padding-right: 2rem; */
}
.main-left {
  width: 64%;
}
.main-right {
  width: 32.5%;
}
.section-header {
  margin-bottom: 1.6rem;
}
.section-header h4 {
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--text-base);
}
.section-header a {
  font-weight: 500;
  font-size: 1rem;
}
.stats{
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
}
.stats-item {
  background: var(--accent);
  padding: 1.75rem;
  border-radius: 0.75rem;
  width: calc(50% - 1rem);
}

.stats-coaches{
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 50px;
}
.stats-coaches .stats-item {
  background: var(--accent);
  padding: 1.75rem;
  border-radius: 0.75rem;
  width: calc(33.33% - 1rem);
}

.preview-coach-image-wrapper{
  margin-bottom: 15px;
  width: 100%;
  height: 300px;
  background-position: top;
  background-size: cover;
}

.stats-item_text{
  width: 100%;
}

.stats-item_text span{
  margin: 20px 0;
}

.stats-item_text h3{
  margin-bottom: 20px;
}

.stats-item .btn{
  margin-top: 15px;
}

.stats-item .btn{
  width: 100%;
  text-align: center;
}
.stats-item_text p {
  font-size: 1rem;
  color: var(--text-base);
  margin-bottom: 0.31rem;
}
.stats-item_text span {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-base);
  line-height: 32px;
}
.task-table {
  margin-top: 2.15rem;
}
.task-table thead {
  display: inline-block;
  margin-bottom: 1.4rem;
}
.task-table thead tr {
  gap: 1rem;
}
.task-table tbody tr {
  margin-bottom: 1.3rem;
  align-items: baseline;
}
.task-table thead th {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-base);
}
.task-table thead th:first-child,
.task-table tbody td:first-child {
  width: 30%;
  text-align: left;
}
.task-table thead th:nth-child(2),
.task-table tbody td:nth-child(2) {
  width: 27%;
  text-align: left;
}
.task-table thead th:nth-child(3),
.task-table tbody td:nth-child(3) {
  width: 26%;
  display: flex;
  text-align: left;
}
.task-table thead th:nth-child(4),
.task-table tbody td:nth-child(4) {
  width: 17%;
  text-align: left;
}
.task-table tbody td:nth-child(2) img:nth-child(2),
.task-table tbody td:nth-child(2) img:nth-child(3),
.team-members img:nth-child(2),
.team-members img:nth-child(3) {
  margin-left: -12px;
}
.team-members img,
.task-table tbody td:nth-child(2) img {
  width: 2rem;
  height: 2rem;
}
.task-table tbody td:nth-child(2),
.task-table tbody td:nth-child(4) {
  display: flex;
}
.progress-bar {
  width: 6.85rem;
  height: 8px;
  border-radius: 60px;
  background: var(--accent);
}
.team-progress .progress-bar {
  background: var(--tag-bg);
}
.progress-fill {
  display: block;
  width: 50%;
  background: var(--primary);
  height: 100%;
  border-radius: 60px;
}
.progress-percentage {
  font-size: 1rem;
  color: var(--text-muted);
}
.task-table tbody td:nth-child(3) {
  gap: 0.75rem;
}
.task-table tbody td:nth-child(4) a {
  gap: 0.5rem;
}
.teams {
  margin-top: 2rem;
}
.teams-item {
  background: var(--accent);
  width: 32%;
  border-radius: 8px;
}
.teams-item_img {
  height: 160px;
  position: relative;
}
.teams-item_img img {
  position: absolute;
  width: 100%;
  height: 100%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.teams-item_details {
  padding: 0.9rem 1rem;
}
.team-item_footer {
  flex-wrap: wrap;
  row-gap: 0.5rem;
}
.teams-item_details .team-name {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.285rem;
}
.teams-item_details .team-tag {
  background: var(--tag-bg);
  width: fit-content;
  padding: 0.285rem 0.75rem;
  border-radius: 4px;
  font-weight: 500;
  height: fit-content;
}
.teams-item_details .tag1 {
  color: var(--hr-team-tag1);
}
.teams-item_details .tag2 {
  color: var(--hr-team-tag2);
}
.teams-item_details .tag3 {
  color: var(--hr-team-tag3);
}
.team-progress {
  gap: 0.5rem;
  margin-top: 0.7rem;
}
.team-progress .progress-percentage {
  color: var(--text-base);
}
.teams-section {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.schedules {
  gap: 0.9rem;
}
.schedule-item {
  background: var(--accent);
  padding: 1.35rem;
  border-radius: 8px;
}
.schedule-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-accent);
  transition: opacity 0.3s ease;
}
.schedule-details {
  gap: 0.425rem;
}
.schedule-title:hover {
  opacity: 0.9;
}
.schedule-details {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 0.4rem;
  font-weight: 500;
}
.activities {
  gap: 1.75rem;
  margin-top: 2.1rem;
}
.activity-item {
  gap: 1.5rem;
}
.activity-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.activity-user {
  color: var(--text-base);
}
.activity-created {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
}
@media screen and (max-width: 1024px) {
  main {
    flex-direction: column;
  }
  .main-left {
    flex-direction: row;
    width: 100%;
    gap: 2.5rem;
  }
  /*
  .stats-section {
    width: 75%;
  }
  */
  .teams-section {
    width: 23%;
  }
  .teams {
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
  }
  .teams-item {
    width: 95%;
    margin: 0 auto;
  }
  .teams-item_img {
    height: 100px;
  }
  .teams-item_header {
    flex-direction: row;
    justify-content: space-between;
  }
  .teams-item:last-child {
    display: none;
  }
  .main-right {
    flex-direction: row;
    width: 100%;
    gap: 3rem;
  }
  .schedule-section,
  .section-activity {
    width: 48%;
  }

  .stats-coaches .stats-item{
    width: calc(50% - 1rem);
  }

}
@media screen and (max-width: 870px) {

  .horizontal-form{
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0;
  }

  .horizontal-form .form-control{
    width: 100% !important;
  }

  .horizontal-form .form-control input[type="date"]{
    width: 100% !important;
    max-width: initial;
  }

  body{
    flex-direction: column;
  }

  .sidebar .logo span.hamburger{
    display: initial;
  }

  .content-preview{
    flex-direction: column;
  }

  .content-preview .the-content{
    width: 100%;
  }

  .content-preview .the-submission{
    width: 100%;
  }

  .content-preview .content-sidebar{
    width: 100%;
  }

  .content-preview .content-sidebar-edit-form{
    width: 100%;
  }
  
  .hamburger {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
  }
  .hamburger img {
    width: 2.285rem;
    height: 2.285rem;
  }

  .form-wrapper{
    flex-direction: column-reverse;
    gap: 10px;
  }

  .form-wrapper .form-left, .form-wrapper .form-right{
    width: 100%;
  }

  .sidebar {
    /* display: none; */
    gap: 1rem;
    width: 100%;
    min-height: initial;
  }

  .sidebar.active{
    width: 100%;
  }

  .navbar{
    margin-top: 1.5rem;
  }

  .sidebar .navbar, .sidebar .sidebar-footer{
    display: none;
  }

  .sidebar.active .navbar, .sidebar.active .sidebar-footer {
    display: block;
  }
  .main-content {
    /* border: 1px solid orange; */
    width: calc(100% - 3rem);
    margin: 0 auto;
    padding: 1.5rem 0;
  }
  main {
    flex-direction: column;
    /* border: 2px solid yellow; */
    align-items: center;
    justify-content: center;
    padding-right: 0;
  }
  .main-left {
    flex-direction: column;
    width: 100%;
    gap: 2.5rem;
  }
  .stats-section {
    width: 100%;
  }
  .teams-section {
    width: 100%;
  }
  .teams {
    flex-direction: row !important;
    width: 100%;
    gap: 1.5rem;
  }
  .teams-item {
    width: 28%;
    margin: 0 auto;
    max-width: 300px;
  }
  .teams-item_img {
    height: 100px;
  }
  .teams-item_header {
    flex-direction: row;
    justify-content: space-between;
  }
  .teams-item:last-child {
    display: block;
  }
  .main-right {
    flex-direction: row;
    width: 100%;
    gap: 3rem;
  }
  .schedule-section,
  .section-activity {
    width: 48%;
  }
  .header-left {
    width: 50%;
  }
  .header-right {
    width: 50%;
    padding-left: 2rem;
    gap: 2em;
  }
}
@media screen and (max-width: 620px) {
  .teams {
    flex-direction: row !important;
    width: 100%;
    gap: 1.5rem;
  }
  .teams-item {
    width: 47%;
    margin: 0 auto;
    max-width: 300px;
  }
  .teams-item_img {
    height: 100px;
  }
  .teams-item_header {
    flex-direction: row;
    justify-content: space-between;
  }
  .teams-item:last-child {
    display: none;
  }
  .main-right {
    flex-direction: column;
    width: 100%;
    gap: 3rem;
  }
  .schedule-section,
  .section-activity {
    width: 90%;
    margin: 0 auto;
  }
  .header-left {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between !important;
  }
  .hamburger {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
  }
  .hamburger img {
    width: 2.285rem;
    height: 2.285rem;
  }
  .header-left .searchbar {
    width: 70%;
  }
  .header-right {
    flex-direction: row-reverse;
    width: 100%;
    justify-content: space-between;
    padding-left: 0;
  }
  header {
    flex-direction: column;
    align-items: flex-end;
    row-gap: 1rem;
  }
  .stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stats-item, .stats-coaches .stats-item{
    width: 100%;
  }

}
@media screen and (max-width: 500px) {
  .table-container {
    max-width: 500px;
    overflow-x: auto;
  }
  .task-table {
    width: 560px;
    /* border: 2px solid red; */
    overflow-x: hidden !important;
  }
  .profile-dropdown_value {
    min-width: 100px;
    margin-right: 1.35rem;
  }
}

.form-control label{
  margin-bottom: 10px;
}

.special-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
}

.special-table thead {
  background-color: var(--accent);
  color: var(--text-base);
}

.special-table th {
  padding: 22px;
  text-align: left;
  font-weight: bold;
  border-bottom: 2px solid var(--primary);
}

.special-table tbody tr {
  background-color: var(--secondary);
  transition: background-color 0.3s ease;
}

.special-table tbody tr:nth-child(even) {
  background-color: var(--accent);
}

.special-table tbody tr:hover {
  background-color: var(--tag-bg);
}

.special-table td {
  padding: 22px;
  border-bottom: 1px solid var(--text-muted);
}

.special-table td:first-child {
  font-weight: bold;
  color: var(--text-accent);
}

.special-table td:last-child {
  /* text-align: right; */
}

.special-table tbody tr:last-child td {
  border-bottom: none;
}

.special-table a{
  color: #9af;
}

.table-pagination{
    gap: .6rem;
    margin-top: .85rem;
    padding-bottom: 25px; flex-wrap: wrap;
}
.table-pagination-item{
    text-align: center;
    width: 40px;
    height: 40px;
    border: 1px solid #252e41;
    background: #252e41;
    color: #FFF;
    border-radius: 7px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-pagination-item.active{
  border: 2px solid var(--primary);
}

.flex-center-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkbox-wrapper label{
  margin-bottom: 0;
}

header{
  display: none;
}
@media screen and (max-width: 870px) {
  header{
    display: flex;
  }
}

.tagify__dropdown {
    background-color: var(--accent);
    color: #FFF;
}

.tagify__dropdown__item {
    background-color: var(--accent);
    color: #FFF;
    border-color: #FFF;
}

.tagify__dropdown__item--active,
.tagify__dropdown__item:hover { 
    background-color: var(--primary);
}

.tagify__dropdown__item--active.tagify__dropdown__item {
  background-color: var(--primary);
  color: #FFF;
}

.checkbox-wrapper label {
    user-select: none;
    -webkit-user-select: none;  /* Safari */        
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* Internet Explorer/Edge */
}



.login-box{
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
}

.login-box a{
  text-decoration: none;
}

.login-box a:hover{
  text-decoration: underline;
}

.login-box-left{
  width: 50%;
  min-height: 100vh;
  background-image: url(img/sign-in-up.jpg);
  background-position: center;
  background-size: cover;
  align-self: stretch;
}

.login-box-right{
  width: calc(50% - 20px);
  padding: 10px;
  justify-content: center;
  display: flex;
}

.login-box-right form{
  width: 100%;
}

.login-box-right-content{
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
}

.center{
  text-align: center;
}

.login-bottom-margin{
  margin-bottom: 20px;
}

@media screen and (max-width: 870px) {
 
  .login-box{
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
  }

  .login-box-left{
    display: none;
  }

  .login-box-right{
    width: calc(100% - 20px);
  }

}


.form-control-availability-container{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
}

.form-control-availability-container .form-control{
  width: calc(50% - 20px);
}

.ul-availability-exceptions{
  width: 100%;
  padding-top: 30px;
  list-style: initial;
  padding: 15px;
}

.ul-availability-exceptions li{
  width: 100%;
  margin-bottom: 15px;
}

.stats-item_text_calendar span{
  font-size: 1rem;
}

@media screen and (min-width: 621px) {

  .stats-calendar{
    gap: 0.5rem;
  }

  .stats-calendar .stats-item{
    width: calc(33.33% - 1.5rem);
    height: 70vh;
    overflow-y: auto;
  }

}

input[type="date"]{
  max-width: 300px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  transform: scale(1.5);
}


.calendar {
  background-color: #252e41;
  width: calc(100% - 15px);
  padding-left: 15px;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
  color: #fff;
  margin-top: 20px;
  margin-left: 10px;
}

.time-block {
  height: 40px;
  position: relative;
  border-top: 1px solid #ccc;
}

.time-label {
  position: absolute;
  left: -40px;
  top: -8px;
  font-size: 12px;
}

.time-block:hover {
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

#popup {
  position: absolute;
  background-color: #1a1b1d;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  width: 400px;
  margin: 0 auto;
  height: 330px;
  z-index: 999;
  left: calc(50% - 200px);
  top: calc(50% - 150px);
  border: 5px solid #FFF;
}

.hidden {
  display: none;
}


.availability-block {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #0078eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 99;
  height: 155px;
}

.horizontal-form{
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-between;
  align-items: end;
}

.horizontal-form .form-control{
  width: calc(33.33% - 1rem);
}

.horizontal-form .form-control input[type="date"]{
  width: 100%;
  max-width: initial;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;  
}

.div-checkbox{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.div-checkbox label{
  user-select: none; /* Standard syntax */
  -webkit-user-select: none; /* For older WebKit browsers (e.g., Safari) */
  -moz-user-select: none; /* For older Firefox browsers */
  -ms-user-select: none; /* For Internet Explorer/Edge */  
}

.booking{
  width: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 15px;
  background-color: var(--accent);
  margin-bottom: 20px;
}

.coach{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.coach .coach-profile-photo{
  border-radius: 50%;
  margin: 15px 0;
  width: 40px;
  height: 40px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}