body {
  margin: 0;
  padding-top: 70px;
  box-sizing: border-box;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgb(9, 11, 12);
  padding: 10px 5vw;
  color: #fff;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 5px rgba(9, 11, 12, .2);
  box-sizing: border-box;
}


.nav-logo {
  height: 60px;
  user-select: none;
}

.nav-search {
  flex: 1;
  max-width: 500px;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-search input {
  width: 100%;
  padding: 8px 12px;
  background-color: #1a1d1f;
  color: #fff;
  border: none;
  border-radius: 6px;
}

.nav-search input::placeholder {
  color: #999;
}

.nav-search i {
  position: absolute;
  right: 12px;
  color: #999;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-button {
  background: transparent;
  border: none;
  color: #9f2aff;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  padding: 8px;
  transition: background-color 0.2s, color 0.2s;
}

.admin-button:hover {
  background-color: rgba(174, 0, 255, 0.1);
  color: #8115da;
}

.user-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  color: #fff;
  border-radius: 12px;
  padding: 6px 10px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.user-icon {
  margin: 2px 0;
  color: orange;
  font-size: 20px;
}

.user-button:hover {
  background-color: rgba(255, 165, 0, 0.1);
}

.profile-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: transparent;
  text-decoration: none;
  border-radius: 12px;
  cursor: pointer;
  color: #ccc;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.profile-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 13px;
}

.profile-greet {
  text-align: right;
  font-weight: 400;
  color: #999;
}

.profile-name {
  font-weight: 600;
  color: #fff;
}

.profile-icon {
  font-size: 20px;
  color: #ccc;
  transition: color 0.2s ease;
}

.footer {
  background-color: rgb(9, 11, 12);
  color: #fff;
  padding: 30px 0px;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  margin-top: 50px;
  text-align: center;
  flex-shrink: 0;
  width: auto;
  margin-top: auto;
  clear: both;
}

.footer-logo {
  color: #fff;
  ;
  margin: 0;
  font-size: 20px;
}

.footer-text {
  font-size: 14px;
  color: #ccc;
  margin: 5px 0 15px;
}

.footer-socials {
  margin: 10px 0 15px;
}

.footer-socials a:hover {
    color: rgba(152, 42, 255, 1);
}

.footer-socials a {
  display: inline-block;
  margin: 0 8px;
  font-size: 20px;
  color: #fff;
  transition: color 0.2s;
}


.footer-bottom {
  font-size: 13px;
  color: #888;
  border-top: 1px solid #333;
  padding-top: 10px;
}

html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body>.content-wrapper {
  flex: 1 0 auto;
}


.box {
  position: relative;
  flex: 1 1 calc(33.33% - 20px);
}




@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 15px;
    gap: 12px;
  }

  .nav-logo {
    height: 50px;
  }

  .nav-search {
    order: 3;
    flex: 1 1 100%;
    max-width: 100%;
  }

  .nav-search input {
    padding: 6px 10px;
    font-size: 14px;
  }

  .nav-icons {
    gap: 8px;
  }

  .icon-button {
    font-size: 18px;
    padding: 6px;
  }

  .user-button {
    font-size: 12px;
    padding: 4px 6px;
  }

  .user-icon {
    font-size: 18px;
  }

  .username {
    text-align: center;
  }

  .profile-button {
    padding: 6px 10px;
  }

  .profile-text {
    font-size: 12px;
  }

  .profile-icon {
    font-size: 18px;
  }
  
  
  .panel {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }

 
}

@media (max-width: 480px) {
  .profile-button {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .profile-text {
    text-align: center;
    line-height: 1.2;
  }

  .nav-logo {
    height: 35px;
  }
   
}

@media (max-width: 344px) {
  .nav-logo {
    height: 25px;
  }
}