/* 我的中心样式 */
.my-center-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99998;
}
.my-center {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 16px;
  padding: 28px 24px;
  width: 90%;
  max-width: 340px;
  border: 1px solid rgba(46, 125, 50, 0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.my-center-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.my-center-header h3 {
  color: #4CAF50;
  font-size: 18px;
  margin: 0;
}
.my-center-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.my-center-close:active {
  color: #fff;
}
.my-center-user {
  text-align: center;
  margin-bottom: 24px;
}
.my-center-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2E7D32, #4CAF50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 32px;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(76,175,80,0.3);
}
.my-center-link {
  color: #4CAF50;
  font-size: 16px;
  margin: 0 0 4px;
  cursor: pointer;
  text-decoration: underline;
}
.my-center-link:active {
  color: #81C784;
}
.my-center-account {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin: 0;
}
.my-center-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.my-center-btn {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}
.my-center-btn:active {
  background: rgba(255,255,255,0.15);
  transform: scale(0.98);
}
.my-center-btn span {
  font-size: 18px;
}
.my-center-btn.danger {
  border-color: rgba(239, 83, 80, 0.5);
  color: #ef5350;
}
.my-center-btn.danger:active {
  background: rgba(239, 83, 80, 0.15);
}

/* 密码弹窗样式 */
.password-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.password-dialog {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 16px;
  padding: 24px;
  width: 90%;
  max-width: 320px;
  border: 1px solid rgba(46, 125, 50, 0.3);
}
.password-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.password-dialog-header h3 {
  color: #4CAF50;
  font-size: 18px;
  margin: 0;
}
.password-dialog-header .close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 24px;
  cursor: pointer;
}
.password-dialog-content {
  margin-bottom: 20px;
}
.password-hint {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin: 0 0 16px;
  text-align: center;
}
.password-input-group {
  margin-bottom: 12px;
}
.password-input-group label {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  margin-bottom: 6px;
}
.password-input-group input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 18px;
  text-align: center;
  letter-spacing: 8px;
  outline: none;
}
.password-input-group input:focus {
  border-color: #4CAF50;
}
.password-error {
  color: #ef5350;
  font-size: 13px;
  text-align: center;
  min-height: 18px;
}
.password-dialog-actions {
  display: flex;
  gap: 12px;
}
.password-dialog-actions button {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}
.password-dialog-actions .cancel-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.password-dialog-actions .confirm-btn {
  background: linear-gradient(135deg, #2E7D32, #4CAF50);
  border: none;
  color: #fff;
  font-weight: 600;
}
.password-dialog-actions .confirm-btn:disabled {
  opacity: 0.5;
}
