.password-list-empty-vault {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.password-list {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 20px;
}

.password-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.password-list-header h2 {
  font-size: 1.3rem;
}

.password-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  flex: 1;
  padding-right: 4px;
}

/* Password card */
.password-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  overflow: hidden;
}

.password-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.password-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  gap: 12px;
}

.password-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.password-name {
  font-weight: 600;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.password-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.password-card-actions {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.danger-icon:hover {
  color: var(--danger) !important;
}

.password-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 16px 14px;
}

.password-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.field-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.field-icon--text {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.field-value {
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-link {
  color: var(--accent);
}

.field-link:hover {
  color: var(--accent-hover);
}

.password-value {
  font-family: 'Courier New', monospace;
  letter-spacing: 0.05em;
}

.copy-btn {
  opacity: 0;
  transition: opacity 0.15s;
}

.password-field:hover .copy-btn {
  opacity: 1;
}

.password-notes {
  font-size: 0.83rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}
