.global-loader {
  font-family: "Inter", Arial, sans-serif; /* Match font */
  background-color: #f8f8fa;
  position: fixed;
  inset: 0;
  z-index: 99;
}

/* Navbar Styles */
.global-loader-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(248, 248, 250);
  border-bottom: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-left: calc(env(safe-area-inset-left) + 1rem);
  padding-right: calc(env(safe-area-inset-right) + 1rem);
  padding-top: calc(env(safe-area-inset-top) + 1rem);
}

/* Left Section */
.global-loader-nav-left {
  display: flex;
  align-items: center;
  gap: 5px;
}

.global-loader-logo {
  height: 1.5rem;
}

.global-loader-divider {
  color: #e0e0e0;
  margin: 0 10px;
  font-size: 18px;
  display: none;
}

.global-loader-nav-link {
  color: rgb(157, 166, 165);
  text-decoration: none;
  font-weight: 200;
  margin-right: 20px;
  font-size: 15px;
  display: none;
}

.global-loader-nav-link.active {
  color: rgb(19, 39, 37);
  font-weight: 500;
}

/* Right Section */
.global-loader-nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.global-loader-points-btn {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background-color: #fff;
  cursor: not-allowed;
  font-size: 14px;
}

.global-loader-points-icon {
  height: 16px;
  margin-left: 5px;
}

.global-loader-network-btn {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background-color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.global-loader-network-icon {
  height: 16px;
  margin-right: 5px;
}

.global-loader-wallet-btn {
  padding: 12px 30px; /* Increased padding for larger size */
  background: linear-gradient(
    90deg,
    #f9dfb0,
    #f8ce82
  ); /* Gradient background */
  color: rgb(84, 71, 47); /* Darker text color */
  border: none;
  border-radius: 4px; /* Slightly rounded corners */
  font-size: 15px; /* Larger font size */
  font-weight: bold; /* Semi-bold font weight */
  cursor: pointer;
}

/* Responsive Adjustments for Desktop */
@media (min-width: 1024px) {
  .global-loader-nav-bar {
    padding-left: calc(env(safe-area-inset-left) + 5rem);
    padding-right: calc(env(safe-area-inset-right) + 5rem);
  }

  .global-loader-nav-link,
  .global-loader-divider {
    display: initial;
  }
}

/* Loader */
@keyframes pulse {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.5;
  }
}

.global-loader-loader {
  justify-content: center; /* Horizontally center */
  align-items: center; /* Vertically center */
  background: none;
  animation: pulse 1.5s infinite;
}

/* Center the loader */
.global-loader-loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full viewport height */
}

.global-loader-loader img {
  width: 40px; /* Set smaller width */
  height: 40px; /* Set smaller height */
}
