* {
  margin: 0;
  padding: 0;
  border: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #1d1e20;
}

p {
  font-size: 16px;
  font-weight: 400;
  color: grey;
}

h1 {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.87);
}

h2 {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.87);
}

h3 {
  font-weight: 18;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.87);
}

button,
a {
  cursor: pointer;
}

.container {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

/* NAV */
aside {
  width: auto;
  height: 100vh;
  padding: 2rem;
}

aside .nav .top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

aside .nav .top h2 {
  color: white;
}

aside .nav .sidebar {
  height: auto;
  padding: 0.5rem 2rem 1rem 2rem;
  border-radius: 1rem;
  background: #2a2b2e;
}

aside .nav .sidebar a {
  height: 3rem;
  display: flex;
  position: relative;
  align-items: center;
  gap: 1rem;
}

aside .nav .sidebar span {
  color: grey;
}

aside .nav .sidebar .active span {
  color: white;
}

aside .nav .sidebar .active p {
  color: white;
}

.mobile-nav aside {
  height: auto;
  padding: 0;
  margin: 0 0 2rem 0;
}

.mobile-nav aside h2 {
  display: none;
}
/* NAV VÉGE */

/* HEADER */
.header-section {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.header-section .header-left h1 {
  margin-bottom: 0.5rem;
}

.header-right {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-right .icon {
  width: 50px;
  height: 50px;
  margin: 0 0 0 1rem;
  background: #2a2b2e;
  color: whitesmoke;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-right .menu {
  width: 50px;
  height: 50px;
  margin: 0 0 0 1rem;
  background: #2a2b2e;
  color: whitesmoke;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-img {
  width: 50px;
  height: 50px;
  background-image: url("//images/avatar.png");
  background-repeat: no-repeat;
  background-size: cover;
}
/* HEADER VÉGE */

/* KÁRTYA */
main .users {
  width: auto;
  background: #2a2b2e;
  padding: 1.5rem;
  border-radius: 1rem;
}

main .insights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

main .insights span {
  background: #ffc42a;
  padding: 0.5rem;
  border-radius: 50%;
  color: white;
  margin-bottom: 1rem;
}

main .insights p {
  margin-bottom: 0.5rem;
}

.card-title {
  padding: 0 0 1rem 0;
}

main .income {
  width: auto;
  background: #2a2b2e;
  padding: 1.5rem;
  border-radius: 1rem;
}

.space-between {
  display: flex;
  justify-content: space-between;
}

.income .space-between h2 {
  color: #ffc42a;
  font-weight: 400;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
/* KÁRTYA VÉGE */

/* FELHASZNÁLÓK */
main .users-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

main .users-header .users-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1rem 0;
}

main .users-header .users-action button {
  width: auto;
  height: auto;
  padding: 0.7rem 2rem 0.7rem 2rem;
  background: #2a2b2e;
  color: white;
  border-radius: 0.5rem;
}

main .users-header .users-action input {
  width: 20rem;
  height: auto;
  padding: 0.7rem 2rem 0.7rem 0.5rem;
  border-radius: 0.5rem;
}

.users-section {
  padding: 1rem 0 1rem 0;
  margin-bottom: 2rem;
  border-radius: 1rem;
  background: #2a2b2e;
  color: rgba(255, 255, 255, 0.6);
}

.users-section > div {
  width: 50rem;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  width: auto;
  text-align: left;
  padding: 0.8rem 2rem 0.8rem 2rem;
  font-weight: 500;
  z-index: 1;
  white-space: nowrap;
}

th:first-child {
  padding-right: 0;
}

td:first-child {
  padding-right: 0;
}

th:nth-child(2) {
  position: sticky;
  left: 0;
  z-index: 2;
}

td:nth-child(2) {
  position: sticky;
  left: 0;
  z-index: 2;
}

tr:nth-child(even) {
  background: rgb(69, 69, 69);
}

.users-section button {
  width: auto;
  height: auto;
  padding: 0.7rem 2rem 0.7rem 2rem;
  margin: 1rem 0rem 1rem 2rem;
  background: #ffc42a;
  color: white;
  border-radius: 0.5rem;
}

.users-header .users-action .buttons {
  display: flex;
  justify-content: start;
  gap: 1rem;
}

#add-new-user {
  display: block;
  color: grey;
  margin: 2rem 0 2rem 0;
}

#add-new-user input {
  padding: 0.5rem 1rem 0.5rem 1rem;
  margin: 0.5rem 0 1rem 0;
  border-radius: 0.5rem;
}
/* FELHASZNÁLÓK VÉGE */

/* ANALITIKA */
main .toggle-section {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 0.3rem;
}

main .toggle-section button {
  background: transparent;
}

main .toggle-section span {
  color: white;
  padding-bottom: 1rem;
}
/* ANALITIKA VÉGE */

/* LOGIN */
.login-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
}

.image-box {
  position: relative;
  width: 50%;
  height: 100%;
}

.login-section .image-box img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-section .content-box {
  justify-content: center;
  align-items: center;
  display: flex;
  width: 50%;
  height: 100%;
}

.login-section .content-box .form-box {
  width: 70%;
}

.login-section .content-box .form-box .input-box {
  margin-bottom: 15px;
}

.login-section .content-box p {
  color: rgba(255, 255, 255, 0.38);
  padding-bottom: 1.5rem;
}

.login-section .content-box .form-box .input-box span {
  font-size: 0.87rem;
  margin-bottom: 5px;
  display: inline-block;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
}

.login-section .content-box .form-box .input-box input {
  width: 100%;
  padding: 15px;
  outline: none;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.87rem;
  letter-spacing: 1px;
  color: grey;
  background: #f9f9f9;
  border-radius: 15px;
}

.login-button {
  width: 100%;
  padding: 15px;
  background: #ffc42a;
  color: white;
  outline: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  border-radius: 15px;
  margin-top: 10px;
}

.login-section h1 {
  margin-bottom: 0.5rem;
}
/* LOGIN VÉGE */

main {
  width: 100%;
  padding: 2rem;
}

/* FORM - FELTÖLTÉS */
.upload-form label {
  color: rgba(255, 255, 255, 0.87);
}

.upload-form input[type="file"] {
  color: grey;
  margin: 0.5rem 0.5rem 2rem 0rem;
}

.upload-form textarea {
  width: 50%;
  margin: 0.5rem 0 2rem 0;
  padding: 1rem;
  border-radius: 0.5rem;
  resize: vertical;
}

.upload-form input {
  height: 3.125rem;
  width: 50%;
  margin: 0.5rem 0 2rem 0;
  padding-left: 1rem;
  border-radius: 0.5rem;
}

.upload-form select {
  padding: 0.3rem 0 0.3rem 0;
  margin: 0.5rem 0.5rem 2rem 0rem;
  border-radius: 0.2rem;
}
/* FORM - FELTÖLTÉS VÉGE */

.drop-zone {
  width: 50%;
  padding: 25px;
  align-items: center;
  text-align: center;
  font-weight: 500;
  font-size: 20px;
  cursor: pointer;
  color: #ffffff;
  border: 4px dashed #3a3a3a;
  border-radius: 10px;
}

.drop-zone h3 {
  max-width: 300px;
  margin: auto;
}

.drop-zone--over {
  border-style: solid;
  border: 4px dashed #ffc700;
}

.drop-zone__input {
  display: none;
}

.drop-zone__thumb {
  position: relative;
}

.drop-zone__thumb::after {
  content: attr(data-label);
  color: #ffffff;
  font-size: 14px;
  text-align: center;
}

.tovabbbaszki {
  background-color: #ffc700;
  color: #292524;
  font-weight: 600;
  padding: 0.7rem 2rem 0.7rem 2rem;
  border-radius: 0.5rem;
}

.dropdown-categories {
  width: 50%;
}

.asd {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 50px;
  width: 50%;
  margin: 0.5rem 0 2rem 0;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: white;
  gap: 5px;
  overflow-wrap: break-word;
}

.category-btn {
  padding: 5px 10px;
  border-radius: 8px;
  margin: 2px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.87);
}

.dropdown-categories button {
  padding: 5px 10px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.87);
}

.dropdown-menu {
  width: 50%;
  background-color: #242424;
}

/* RESZPONZÍV */
@media screen and (max-width: 3000px) {
  .header-section .header-right .menu {
    display: none;
  }
}

@media screen and (max-width: 1400px) {
  main .insights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
  }
}

@media screen and (max-width: 1300px) {
  main .insights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
  }

  main .users-header {
    display: block;
  }
}

@media screen and (max-width: 1200px) {
  .container aside {
    display: none;
  }

  .header-section .header-right .menu {
    display: flex;
    justify-content: center;
  }

  main .header-section .icon {
    display: none;
  }

  main .header-section .menu {
    display: flex;
    align-items: center;
  }

  .container .mobile-nav aside {
    display: block;
  }

  .header-section {
    margin-bottom: 0;
  }

  .card-title:first-of-type,
  .toggle-section span:first-of-type {
    padding-top: 3rem;
  }

  .login-section .image-box {
    display: none;
  }

  .login-section .content-box {
    justify-content: center;
    align-items: center;
    display: flex;
    width: 100%;
    height: 100%;
  }

  .login-section .content-box .form-box {
    width: 85%;
  }
}

@media screen and (max-width: 900px) {
  main .insights {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
  }

  main .users-header .users-action {
    display: block;
  }

  main .users-header .users-action input {
    width: 100%;
    margin-bottom: 1rem;
  }

  #add-new-user input {
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
  .users-header .users-action .buttons {
    display: block;
  }

  .users-header .users-action .buttons button {
    margin-bottom: 1rem;
  }
}
/* RESZPONZÍV VÉGE */
