.password-manager {
  min-height: 100vh;
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
}

/* 大屏幕容器宽度控制 */
@media (min-width: 1600px) {
  .password-manager {
    max-width: 1800px;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .password-manager {
    max-width: 1400px;
  }
}

@media (max-width: 1199px) {
  .password-manager {
    max-width: 1200px;
  }
}

.manager-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.manager-nav {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 255, 248, 0.95) 100%);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  margin: -20px -20px 30px -20px;
  border-bottom: 2px solid rgba(200, 230, 201, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 大屏幕导航栏宽度控制 */
@media (min-width: 1600px) {
  .nav-content {
    max-width: 1800px;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .nav-content {
    max-width: 1400px;
  }
}

@media (max-width: 1199px) {
  .nav-content {
    max-width: 1200px;
  }
}

.nav-logo {
  height: 40px;
  width: auto;
}

.nav-title {
  color: #2e7d32;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
}

.manager-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 30px;
}

.add-button {
  padding: 12px 24px;
  background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.add-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4);
}

@media (max-width: 768px) {
  .password-manager {
    padding: 15px;
  }

  .nav-logo {
    height: 32px;
  }

  .nav-title {
    font-size: 20px;
  }

  .add-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}
