@import url("https://fonts.googleapis.com/css2?family=Poetsen+One&display=swap");
body {
  /* padding: 50px; */
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  /* font-family: serif; */
  color: #212427;
  /* font: 14px "Lucida Grande", Helvetica, Arial, sans-serif; */
}

a {
  color: #00b7ff;
}
p{
  margin: 0;
  padding: 0;
}
.ul-menu {
  list-style: none;
  padding: 0;
}
.ul-menu li a {
  display: block;
  padding: 10px 20px;
  /* background-color: red; */
  text-align: center;
  text-decoration: none;
}
.ul-menu li a:hover {
  display: block;
  padding: 10px 20px;
  background-color: green;
  text-align: center;
  text-decoration: none;
}

.listview-qrcode {
  width: 180px;
  height: 180px;
}

.listview-item {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
}

/* body {
  font-family: "Poppins", sans-serif;
  background-color: black;
} */

/* ======= side bar =======*/

.text-purple {
  color: #102e50;
}
.bg-purple {
  background-color: #102e50;
}
.bg-purple:hover {
  background-color: #102e50;
}
.text-12 {
  font-size: 12px;
}
/* #sidebar.expanded {
  width: 15vw;
  min-width: 256px;
}

#sidebar.collapsed {
  width: 64px;
  min-width: 64px;
} */

.toggle-btn {
  cursor: pointer;
}

.content {
  padding: 20px;
}

/* ======= side bar =======*/

.dashboard-container {
  padding: 20px;
}
.dashboard-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.dashboard-widget {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
}
.widget-title {
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.widget-value {
  font-size: 1.5rem;
  font-weight: bold;
}
.recent-activity {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
}
.recent-activity h2 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 15px;
}
.recent-activity-table {
  width: 100%;
  border-collapse: collapse;
}
.recent-activity-table th,
.recent-activity-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.recent-activity-table th {
  font-weight: bold;
}
.btn-primary-custom {
  background-color: #102e50; /* Example purple color */
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary-custom:hover {
  background-color: #27391c;
}
.titlePageBox {
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  /* margin-bottom: 20px; */
  padding: 16px;
  /* border-bottom: 1px solid #f1f1f1 */
}

.titlePage {
  font-size: 20px;
  font-weight: 500;
  color: #102e50;
  text-transform: capitalize;
}
.card-title {
  font-weight: 600;
}
.titleInPage {
  font-size: 24px;
  font-weight: bold;
  color: #102e50;
  display: flex;
  gap: 16px;
  align-items: center;
}
.titleInPageBox {
  height: 76px;
}
.login-button {
  position: relative; /* Required for the pseudo-element */
  background-color: #000000;
  color: white;
  overflow: hidden; /* Ensures the ripple effect stays within the button */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.login-button:hover {
  background-color: #102e50;
  color: white;
}

.login-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.5); /* Ripple color */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none; /* Prevent interaction with the pseudo-element */
  transition: opacity 0.3s ease;
}

.login-button:hover::before {
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0.5;
  }
  100% {
    width: 300%; /* Adjust size for the ripple effect */
    height: 300%;
    opacity: 0;
  }
}
.titleSizeBarFont {
  font-family: "Poetsen One", sans-serif;
  font-weight: 700;
  color: #fe7743;
}
.titleUser {
  font-family: "Poetsen One", sans-serif;
  font-weight: 700;
  color: #102e50;
  font-size: 24px;
}
.boxListCard {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  width: 100%;
  box-sizing: border-box;
}
.boxCardFlex {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.titleCardName {
  font-size: 20px;
  font-weight: bold;
  line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  /* line-height: 0.8; */
}
.titleCardType {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.7;
  text-transform: capitalize;
}
.box-text-url {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 12px;
}
.urlText {
  color: #265dba;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  line-break: normal;
  white-space: normal;
  word-break: break-word;
  line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  max-width: 100%;
}
.urlText:hover {
  text-decoration: underline;
  color: #102e50;
}
.url-with-icon {
  display: flex;
  gap: 4px;
  align-items: center;
}
.icon-padding-zero {
  height: 24px;
  width: 24px;
  padding: 0;
}
.textEndCard {
  text-align: center;
  font-size: 12px;
  color: lightslategray;
  margin-top: 16px;
}
.page-container-show {
  margin: auto;
  width: 100%;
  max-width: 1184px;
  padding: 16px;
  height: calc(92vh - 16px);
  overflow-y: auto;
}
.page-container {
  margin: auto;
  width: 100%;
  max-width: 1184px;
  padding: 16px;
}
.page-container-500 {
  margin: auto;
  width: 100%;
  max-width: 500px;
  padding: 16px;
}
.page-container-800 {
  margin: auto;
  width: 100%;
  max-width: 800px;
  padding: 16px;
  box-sizing: border-box;
}
.boxScrollColumn {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: calc(90vh - 108px);
  overflow-y: auto;
  padding: 0 16px;
}
.boxScrollWithNavbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: calc(90vh);
  overflow-y: auto;
  padding: 0 16px;
}
.text-line-clamp-2 {
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  height: 36px;
}
.text-line-clamp-1 {
  line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  height: 18px;
}
.box-chip {
  display: flex;
  gap: 2px;
  align-items: center;
}
.box-chip span {
  font-size: 12px;
}
.box-bottom-card {
  display: flex;
  justify-content: space-between;
}
.box-bottom-card span {
  font-size: 12px;
}
.status-box {
  font-size: 12px;
  font-weight: 500;
  text-transform: capitalize;
  padding: 2px 6px;
  border-radius: 4px;
  /* background-color: rgba(0, 0, 0, 0.1); */
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dot-status {
  width: 5px;
  height: 5px;
  border-radius: 50px;
  display: inline-block;
}
.box-click-over-detail-page {
  height: 100px;
  overflow: auto;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal-width columns */
  gap: 16px; /* space between items */
}

.grid-container > div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* Optional: adjust height as needed */
}
.grid-container-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 3 equal-width columns */
  gap: 32px; /* space between items */
}
#countryChart,
#cityChart,
#orgChart {
  width: 100%;
  height: 100%;
}
.titleCardPieCanvas {
  font-size: 16px;
  font-weight: bold;
  color: #102e50;
  text-align: center;
  margin-bottom: 8px;
}
label {
  display: block;
  margin-top: 1em;
}

.req {
  color: red;
}
.toast {
  position: fixed;
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
  background: #28a745;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.toast.show {
  opacity: 1;
  pointer-events: auto;
}
.logout-button {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* background-color: #f1f1f1; */
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  text-align: flex-start;
}
.glass-card {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.bg-login {
  background: url("https://wallpapercave.com/wp/wp6942344.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh;
}
#chartContainer {
  width: 80%;
  margin: 20px auto;
}
.button-container {
  text-align: center;
  margin-bottom: 10px;
}
/* Ripple container */
.ripple-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3); /* Ripple color */
  pointer-events: none;
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
}

/* Ripple animation */
@keyframes ripple-animation {
  to {
    transform: scale(10); /* Adjust size of the ripple */
    opacity: 0;
  }
}
