.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #3cbdb4;
  color: white;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  z-index: 1000;
  width: 100%;
  height: 64px;
}

/* Back button override */
.back-button {
  width: auto !important;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: white;
  padding: 6px 10px;
  margin-right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  height: 40px;
  border-radius: 50%;
}

.project-title {
  flex-grow: 1;
  margin-left: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  white-space: nowrap;
}

.user-name-display {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  margin-right: 0.75rem;
}

.user-name-display:empty {
  display: none;
}

.menu-icon {
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== GLOBAL LOADER STYLES ===== */

#global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(240, 253, 252, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-container {
  text-align: center;
}

.loader-container img.spinner {
  width: 130px;
  height: auto;
  animation: spin 2s linear infinite;
}

.loader-container p {
  margin-top: 16px;
  font-size: 1.2rem;
  color: #2a8f88;
  font-weight: bold;
}

/* Spin animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
