@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scrollbar-width: none;
}

/*Swal2*/
.swal2-title {
  font-size: 1.4em !important;
  color: #545454 !important;
}

.swal2-confirm,
.swal2-cancel {
  border-radius: 10px !important;
}

.swal2-popup {
  border-radius: 10px !important;
}

/*Main*/
.home-section {
  min-height: 100vh;
  background: #F4F5FA;
  display: flex;
  flex-direction: column;
  padding-top: 55px;
  padding-left: 80px;
}

/* Titles */
.title-views {
  position: relative;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.title-views::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 20px;
  background: linear-gradient(135deg, #151a2d 0%, #2a3455 100%);
  border-radius: 25px;
}

/* Navbar */
.user-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 8px 25px 8px 100px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  font-size: 1em;
  font-weight: 600;
  color: #000a24;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9;
}

.left-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.short-name {
  display: none;
}

.profile-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: transparent;
  border: none;
  border-radius: 10px;
  color: inherit;
}

.name_job-link {
  border: none;
  text-decoration: none;
  background: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.name_job {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: #0f172a;
  text-align: left;
}

.name_job .name {
  font-weight: 700;
  font-size: 0.8rem;
}

.name_job .job {
  font-weight: 400;
  font-size: 0.7rem;
  color: #475569;
  text-align: right;
}

.hi {
  color: #22c55e;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

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

.user-avatar {
  margin-top: -3px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #dcfce7;
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: all 0.3s ease;
}

.avatar-inicial {
  line-height: 1;
  user-select: none;
}

/*Media Query for responsiveness*/
@media (max-width: 768px) {
  .home-section {
    min-height: 100dvh;
    padding-top: 70px;
    padding-left: 0;
  }
  .home-section .text {
    padding: 10px 20px;
    text-align: center;
    gap: 10px;
  }

  .left-section {
    padding-left: 40px;
  }

  .full-name {
    display: none;
  }

  .short-name {
    display: inline;
  }

  .institution-name {
    font-size: 16px;
  }

  .user-info {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
  }

  .profile-details {
    flex-direction: row;
    align-items: center;
  }

  .name_job {
    text-align: left;
  }

  .hi {
    font-size: 12px;
  }

  .name_job .name {
    font-size: 12px;
  }

  .name_job .job {
    font-size: 10px;
  }

  .user-avatar {
    font-size: 0.7rem;
    box-shadow: none;
  }

  .title-views {
    font-size: 1rem;
  }

  .title-views::before {
    width: 20px;
  }
}
