@import "pages/404.css";
@import "components/management-tabs.css";
@import "components/pagination.css";

:root {
  --primary-color: #00395e;
  --accent-color: #1a4f73;
  --secondary-color: #4b5563;
  --border-color: #ffffff4d;
}

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

a {
  text-decoration: none;
  color: inherit;
}

hr {
  border: none;
  border-top: 1px solid var(--border-color);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(0, 56, 94, 0.664) 0%,
    rgba(217, 217, 217, 0.79) 100%
  );
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.glass-card {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.glass-card-without-padding {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.container {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-weight: 600;
  font-size: small;
  color: var(--secondary-color);
}

.section-subtitle {
  color: var(--primary-color);
  font-weight: 700;
}

/* NAVBAR START HERE */
.navbar,
.navbar a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-name {
  white-space: nowrap;
}

.logo .logo-subtitle {
  font-size: 12px;
}

.navbar-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.notification-menu,
.setting-menu {
  cursor: pointer;
  border: 1px solid;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.notification-menu {
  position: relative;
}

.notification-menu .notification-badge {
  position: absolute;
  right: 13px;
  top: 12px;
  background-color: red;
  color: white;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.profile img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0.5px solid var(--border-color);
}

.profile .profile-name h5 {
  font-weight: 600;
  width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile .profile-name .profile-user-level {
  font-weight: 400;
  font-size: 12px;
  color: var(--secondary-color);
  width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* NAVBAR END HERE */

/* LIST MENU START HERE */
.list-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0px;
}

ul {
  list-style: none;
}

.list-menu-wrapper {
  display: flex;
  gap: 12px;
}

.list-menu-wrapper .icon-content {
  margin: 0 10px;
  position: relative;
  font-weight: bolder;
}

.list-menu-wrapper .icon-content .tooltip {
  position: absolute;
  bottom: -30px;
  left: 50%;
  width: max-content;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}

.list-menu-wrapper .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  bottom: -40px;
}

.list-menu-wrapper .icon-content .link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.3s ease-in-out;
  font-weight: bolder;
}

.list-menu-wrapper .icon-content .link.active {
  color: #00395e;
}

.list-menu-wrapper .icon-content .link:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
  color: var(--primary-color);
  transform: scale(1.15);
  z-index: 3;
}

.list-menu-wrapper .icon-content .link svg {
  width: 30px;
  height: 30px;
  transition: all 0.3s ease-in-out;
}

/* LIST MENU END HERE */

.main-layout {
  display: flex;
}

/* FOOTER START HERE */
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0px;
}

.footer-copyright {
  font-size: 12px;
  color: var(--secondary-color);
}
/* FOOTER END HERE */

/* RESPONSIVE */
/* xxs ≤ 375px */
@media (max-width: 375px) {
  .navbar-menu {
    display: none;
  }

  .list-menu {
    margin-left: 10px;
  }
}

/* xs ≤ 639px */
@media (min-width: 376px) and (max-width: 639px) {
  .navbar-menu {
    display: none;
  }
}

/* sm ≥ 640px */
@media (min-width: 640px) and (max-width: 767px) {
  .container {
    max-width: 425px;
    padding-left: 0;
    padding-right: 0;
  }

  .navbar-menu {
    display: none;
  }
}

/* md ≥ 768px */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    max-width: 700px;
  }
}

/* lg ≥ 1024px */
@media (min-width: 1024px) and (max-width: 1279px) {
  .container {
    max-width: 920px;
  }
}

/* xl ≥ 1280px */
@media (min-width: 1280px) and (max-width: 1535px) {
  .container {
    max-width: 1120px;
  }
}

/* 2xl ≥ 1536px */
@media (min-width: 1536px) {
  .container {
    max-width: 1440px;
  }
}
