.main-header {
  width: 100%;
  border: 1px solid var(--stroke-color-1, #DFE5EC);
  background: #FFF;
  margin-bottom: 51px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 48px;
}

.logo-link {
  display: block;
}

.logo {
  height: 40px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
}

.illustrations {
  display: flex;
  margin-right: 20px;
}

.header-illustration {
  width: 50px;
  height: 50px;
  margin-left: 10px;
}

.avatar-dropdown {
  position: relative;
  cursor: pointer;
}

.avatar-toggle {
  position: relative;
  display: inline-block;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.dropdown-arrow {
  position: absolute;
  bottom: 5px;
  right: 0;
  width: 22px;
  height: 22px;
  transform: translate(25%, 25%);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 75%;
  right: 0;
  width: 200px;
  background-color: #fff;
  z-index: 1000;
  margin-top: 10px;
  border-radius: 20px;
  border: 1px solid var(--stroke-color-1, #DFE5EC);
}

.avatar-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.dropdown-item:hover {
  border-radius: 20px;
  text-decoration: none;
}

@media (max-width: 768px) {
    .header-content {
        padding: 12px 20px;
    }

    .logo {
        height: 32px;
    }

    .header-illustration {
        width: 40px;
        height: 40px;
        margin-left: 8px;
    }

    .illustrations {
        margin-right: 12px;
    }

    .avatar {
        width: 32px;
        height: 32px;
    }

    .dropdown-arrow {
        width: 18px;
        height: 18px;
        bottom: 3px;
    }

    .dropdown-menu {
        width: 180px;
        right: -10px;
    }

    .dropdown-item {
        padding: 8px 12px;
        font-size: 14px;
    }

    .btn-tertiary {
        padding: 8px 24px;
        font-size: 14px;
        display: none;
    }
}
