/* App header styles */
.app-header {
  display: flex;
  justify-content: center; 
  align-items: center;
  padding: 10px 20px;
  background-color: #3498db;
  color: white;
  margin-bottom: 20px;
  border-radius: 8px;
  position: relative; 
}

.app-title {
  margin: 0;
  font-size: 1.5rem;
  text-align: center; 
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  position: absolute; 
  right: 20px;
  top: 50%;
  transform: translateY(-50%); 
}

.logout-button {
  background-color: white;
  color: #3498db;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.logout-button:hover {
  background-color: #f1f1f1;
}

/* Loading spinner styles */
.loading-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.loading-spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top: 4px solid #3498db;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

.loading-text {
  color: #333;
  font-size: 18px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* App container */
.app-container {
  width: 95vw;
  margin: 0 auto;
  padding: 0 20px;
}
