.App {
  display: flex;
  flex-direction: column;
  /* height: 100vh; */
  background-color: white;
}

.app-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  height: 50px;
}

.nav-left {
  display: flex;
  gap: 10px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-identity {
  font-size: 14px;
  color: #666;
}

.nav-button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  background-color: transparent;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background-color: #f0f0f0;
}

.nav-button.active {
  background-color: #1976d2;
  color: white;
}

.login-button {
  padding: 6px 15px !important;
  background-color: #1976d2 !important;
  color: white !important;
}

.login-button:hover {
  background-color: #1565c0 !important;
}

.login-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.login-dialog-content {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
}

.login-dialog h2 {
  margin: 0 0 20px 0;
  text-align: center;
  color: #333;
}

.login-dialog input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.login-dialog-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.login-dialog-buttons button {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.login-dialog-buttons button:first-child {
  background-color: #1976d2;
  color: white;
}

.login-dialog-buttons button:first-child:hover {
  background-color: #1565c0;
}

.login-dialog-buttons button:last-child {
  background-color: #f5f5f5;
  color: #666;
}

.login-dialog-buttons button:last-child:hover {
  background-color: #e0e0e0;
}

.login-error {
  color: #d32f2f;
  font-size: 14px;
  margin: -10px 0 15px;
  text-align: center;
}

.app-main {
  padding: 20px;
  padding-top: 10px;
  flex: 1;
  overflow-y: auto;
}

.github-link {
  color: #333;
  margin-left: 15px;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.3s ease;
}

.github-link:hover {
  color: #666;
}
