* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

/* Header Styling  */
.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  padding-inline: 32px;
  box-shadow: 0px 6px 16px 0px #0057661f;
}
.header__menu-icon {
  cursor: pointer;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__support-btn {
  width: 114px;
  height: 40px;
  border-radius: 20px;
  background-color: rgba(242, 246, 247, 1);
  color: rgba(30, 51, 75, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border: none;
  cursor: pointer;
}

.header__profile-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(169, 230, 209, 1);
  color: rgba(0, 61, 76, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
}

/* Side Bar Styling  */
.sidebar {
  width: 280px;
  min-height: calc(100vh - 72px);
  background-color: #ffffff;
  box-shadow: 0px 8px 25px 0px #00576624;
  border-top-right-radius: 8px;
  padding-top: 8px;
}
.sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.sidebar__item {
  padding: 8px 16px;
  color: #001e37;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

/* Drawer Styling  */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 1000;
}
.drawer.drawer--open_collapsed {
  background-color: rgba(0, 0, 0, 0);
}

.drawer--open {
  display: block;
}
.drawer__overlay {
  flex: 1;
  background: rgba(0, 0, 0, 0.3); /* overlay effect */
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.drawer--open_collapsed .drawer__overlay {
  display: none;
}

.drawer__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 880px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  z-index: 2;
  transform: translateY(0);
  transition: transform 0.4s ease-in-out, max-width 0.4s ease-in-out;
  will-change: transform, max-width;
}

.drawer--open .drawer__content {
  transform: translateX(0);
}
.drawer__content.drawer__content_collapsed {
  max-width: 604px;
  top: unset;
  bottom: 0px;
  height: 71px;
  overflow: hidden;
  transform: translateY(calc(100% - 71px));
}
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}
.modal--open {
  display: flex;
}
.modal__content {
  background: white;
  padding: 24px;
  border-radius: 8px;
  width: 400px;
}
.modal__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.modal__tabs button {
  flex: 1;
  padding: 8px;
  cursor: pointer;
  background-color: #f2f2f2;
  border: none;
}
.modal__tabs button.active {
  background-color: #005766;
  color: white;
}
.form {
  display: none;
  flex-direction: column;
  gap: 10px;
}
.form.active {
  display: flex;
}
input {
  padding: 8px;
  width: 100%;
}
button {
  padding: 8px;
  margin-top: 10px;
  cursor: pointer;
}
.profile-dropdown {
  display: none;
  position: absolute;
  right: 10px;
  top: 60px;
  background: white;
  border: 1px solid #ccc;
  padding: 10px;
  z-index: 100;
}

.profile-dropdown button {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.header__profile-wrapper {
  position: relative;
}
